curl --request GET \ --url https://supertoneapi.com/v1/credits \ --header 'x-sup-api-key: <x-sup-api-key>'
Copy
Ask AI
{ "balance": 123}
Usage
Get Credit Balance
A simple API that queries the available credit balance of the current account.
GET
/
v1
/
credits
Retrieve credit balance
Copy
Ask AI
curl --request GET \ --url https://supertoneapi.com/v1/credits \ --header 'x-sup-api-key: <x-sup-api-key>'
Copy
Ask AI
{ "balance": 123}
This API queries the available credit balance of the current account.
Since Supertone Play and API use the same credit system, credits charged in Play apply directly to the API as well.