Skip to main content
Returns your prepaid token balance. Check it before a large batch, or use it to alert yourself before you run out. Requires the usage:read scope.

Response

string
Your account ID.
integer
Tokens you can spend now. When a request starts, its estimated cost moves from here to reserved_tokens.
integer
Tokens held by requests that are still running. When each request finishes, its hold is either charged (on success) or returned to available_tokens (on failure).
See Credits and billing for pricing and how holds work.

Errors

In addition to the authentication errors: