Documentation

Read your balance

Read account funds, current reservations and whether paid calls are allowed.

View as Markdown
On this page

Endpoint

All balance amounts are USD micro-unit integer strings. availableMicros is available for new requests, heldMicros is reserved, and balanceMicros is the account balance. asOf is the response timestamp.

paidCallsAllowed reports account eligibility for paid calls; it is not a quote or guarantee that a particular Run fits its budget. Run-level caps and account limits still apply.

HTTP
GET /v1/balance

Request example

Set PURRKEY_API_KEY in your trusted server or terminal environment. Replace any angle-bracket placeholders with values from your own inspection or Run.

Bash
curl --fail-with-body --request GET 'https://api.purrkey.app/v1/balance' \
  -H "Authorization: Bearer $PURRKEY_API_KEY"

Successful response

Success HTTP status: 200. Top-level response fields are listed below. Conditional and nested requirements are defined in the downloadable OpenAPI contract.

FieldTypeRequiredConstraints
currencystringRequiredUSD
balanceMicrosstringRequiredPattern: ^-?[0-9]+$
availableMicrosstringRequiredPattern: ^[0-9]+$
heldMicrosstringRequiredPattern: ^[0-9]+$
paidCallsAllowedbooleanRequired—
asOfstringRequireddate-time

Errors and related reading