Core

Get Account

Read your balance and account status.

GET/v1/accountTry it

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your SpicyAPI key (sk-spicy-…). Create one in the dashboard under API Keys.

Response

200application/json

Successful Response

emailstringrequired

The account this key belongs to.

balance_usdnumberrequired

Remaining balance in US dollars.

Was this page helpful?

Get Account
cURL
curl --request GET \
  --url https://api.spicyapi.com/v1/account \
  --header 'Authorization: Bearer $SPICYAPI_KEY'
200
JSON
{
  "email": "you@example.com",
  "balance_usd": 42.75
}