Errors
The API uses standard HTTP status codes and returns errors in a consistent format.Error format
Error codes
| Status | Code | Description |
|---|---|---|
| 400 | bad_request | The request was malformed or a reserved parameter was used |
| 400 | validation_error | A query parameter has an invalid type or format |
| 400 | invalid_cursor | The pagination cursor is invalid or expired |
| 401 | unauthorized | Missing API key (X-API-Key header not provided) |
| 403 | forbidden | Invalid or revoked API key |
| 404 | not_found | The requested resource doesn’t exist |
| 429 | rate_limit_exceeded | Rate limit exceeded — check Retry-After header |
| 500 | internal_error | Something went wrong on our end |
Debugging
Every response includes anX-Request-Id header with a unique identifier. Include this ID when contacting support — it helps us trace the exact request in our logs.