Account / Get your balance
Captions
Create captionsPOSTSign Morph
Create a morphPOSTVoice
Create speechPOSTSpeech to speech
Translate textPOSTAccount
Get your balanceGETGet your balance
GEThttps://api-staging.talksign.co/v1/balance
Your wallet. Free.
Headers
AuthorizationstringRequiredBearer authentication of the form Bearer <token>, where the token is your API key (sk-live-… or sk-test-…).
Response
Returns the balance.
available_usdnumberOptionalWhat you can spend now.
reserved_usdnumberOptionalHeld for queued or processing jobs.
lotsarrayOptionalPrepaid credit by purchase, soonest-expiring first, with expires_at.
Errors
| Status | Name | When |
|---|---|---|
401 | Unauthorized | The API key is missing or not valid (invalid_api_key). |
Example request
curl https://api-staging.talksign.co/v1/balance \
-H "Authorization: Bearer $TALKSIGN_API_KEY"import os
import requests
res = requests.get(
"https://api-staging.talksign.co/v1/balance",
headers={"Authorization": f"Bearer {os.environ['TALKSIGN_API_KEY']}"},
)
print(res.status_code, res.json())const res = await fetch("https://api-staging.talksign.co/v1/balance", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TALKSIGN_API_KEY}`,
},
});
console.log(res.status, await res.json());Example response
200
Response
{
"object": "balance",
"currency": "usd",
"available_usd": 48.2,
"reserved_usd": 0.4,
"credit_lots_usd": 48.6,
"lots": [
{
"remaining_usd": 48.6,
"expires_at": "2027-11-01T00:00:00.000Z"
}
]
}Read more in the full reference: Usage and balance.
Was this page helpful?