API ReferenceErrors & Status Codes

Errors & Status Codes

Every error returns the same JSON envelope, and the HTTP status always matches the code field:

{ "error": "Human-readable message", "code": 400 }
StatusMeaningWhat to do
400Bad request — invalid parametersFix the request (check the mint/address format and query params)
401Unauthorized — missing or invalid API keyCheck the Authorization: Bearer header
403Forbidden — your tier can’t access this endpointUpgrade, or use a lower-tier endpoint
404Not found — the resource doesn’t existVerify the mint or wallet address
429Rate limitedBack off and retry (see Tiers & Rate Limits)
500Internal errorRetry; if it persists, reach out
503Service unavailable — an upstream dependency is downRetry with backoff
⚠️

Branch on the HTTP status code, not on the response body. 429 and 503 are worth retrying with backoff; 400, 401, and 403 are not — fix the request or the key first.