For AI agents, the documentation index lists all pages. Append .md to a documentation URL for Markdown, or request text/markdown.

Skip to Content
spare inference

Get your balance

Your credit balance and what is available to spend now.

1 min readEdit this page
GET
/v1/billing/balance

Your credit balance, pending charges and the amount available now, in micro-USD (1,000,000 = $1). Needs a key with the billing:read scope.

Authorization

x-api-key<token>

x-api-key: <key>. Anthropic SDKs send this.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/billing/balance"
{  "balance_micro_usd": 0,  "pending_debits_micro_usd": 0,  "available_micro_usd": 0,  "currency": "USD"}

How is this guide?