GET /v1/account/balance
The balance and currency of the account for the API key used.
Request
No body, no query parameters.
curl https://api.alchemy.example/v1/account/balance \
-H "X-Api-Key: YOUR_API_KEY"
Response
| Property | Type | Description |
|---|---|---|
balance |
number |
The account's remaining credit. |
currency |
string |
ISO 4217 code of the currency of balance. |
{ "balance": 42.5, "currency": "USD" }
Errors
401 with a ProblemDetails body for a missing or invalid API key:
{
"type": "urn:alchemy:error:unauthorized",
"title": "Missing or invalid API key.",
"status": 401
}
Requires an API key (see Authentication) but is not billed.