API Errors
Standard status codes used across the API.HTTP Status Codes
- 200: OK — Request succeeded
- 400: Bad Request — Invalid request parameters
- 401: Unauthorized — Missing or invalid API key
- 402: Payment Required — Payment required
- 403: Forbidden — API key doesn’t have required access
- 404: Not Found — Resource doesn’t exist
- 429: Too Many Requests — Rate limit exceeded
- 500: Internal Server Error — Something went wrong on our end
Error Response Example
Recommendations
- Validate request bodies before sending
- Handle
401by rotating or reissuing tokens - Implement retries with jitter for transient
429and5xx - Log request IDs and error messages for support