Get the payer's credit balance
curl --request GET \
--url https://api.rask.ai/v3/balance \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rask.ai/v3/balance"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rask.ai/v3/balance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rask.ai/v3/balance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rask.ai/v3/balance"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rask.ai/v3/balance")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rask.ai/v3/balance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "balance",
"workspace_id": "b2e0c6d4-5b1a-4f7e-9a3c-2d8f1e6a7b90",
"payer": {
"user_id": "0d9a4e1c-7f2b-4c8d-a1e5-3b6f9c2d8e47",
"is_you": true
},
"minutes": {
"remaining_minutes": 188,
"expiring": [
{
"minutes": 150,
"expires_at": "2026-11-15T00:00:00Z",
"expires_with_subscription": true,
"source": "plan_cycle"
},
{
"minutes": 38,
"expires_at": null,
"expires_with_subscription": false,
"source": "purchase"
}
]
},
"lipsync_free_minutes": {
"remaining_minutes": 1
},
"projects": {
"unlimited": true,
"remaining_projects": null
},
"as_of": "2026-11-03T10:15:02Z"
}Account
Get the payer's credit balance
Returns the payer’s credit pools.
GET
/
balance
Get the payer's credit balance
curl --request GET \
--url https://api.rask.ai/v3/balance \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rask.ai/v3/balance"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rask.ai/v3/balance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rask.ai/v3/balance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rask.ai/v3/balance"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rask.ai/v3/balance")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rask.ai/v3/balance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "balance",
"workspace_id": "b2e0c6d4-5b1a-4f7e-9a3c-2d8f1e6a7b90",
"payer": {
"user_id": "0d9a4e1c-7f2b-4c8d-a1e5-3b6f9c2d8e47",
"is_you": true
},
"minutes": {
"remaining_minutes": 188,
"expiring": [
{
"minutes": 150,
"expires_at": "2026-11-15T00:00:00Z",
"expires_with_subscription": true,
"source": "plan_cycle"
},
{
"minutes": 38,
"expires_at": null,
"expires_with_subscription": false,
"source": "purchase"
}
]
},
"lipsync_free_minutes": {
"remaining_minutes": 1
},
"projects": {
"unlimited": true,
"remaining_projects": null
},
"as_of": "2026-11-03T10:15:02Z"
}Returns the payer’s credit pools:
minutes (with the schedule of grants that expire, including minutes that end with the subscription), free lip-sync minutes and project credits. The workspace owner pays for all work in the workspace, and all workspaces of one owner share these pools.
When to use: to check funds before spending. For the price of one action, call its estimate operation: it also reports balance_after.
Side effects: None.
Cost: Free.
Idempotency: safe and pure (never writes); retry freely.
Required scopes: account:readAuthorizations
Response
OK: Balance.
The payer's credit pools. All workspaces of one owner share them.