Reference
Error Codes
All API error codes with HTTP status and meaning.
All error codes
| Code | Status | Meaning |
|---|---|---|
| invalid_request | 400 | Invalid request. A parameter is missing or malformed. |
| invalid_asset | 400 | Invalid asset. The asset symbol is not supported. |
| invalid_timeframe | 400 | Invalid timeframe. The timeframe is not one of 5m, 15m, 1h, 4h, 1d. |
| invalid_agent | 400 | Invalid agent. The agent slug is not recognized. |
| unauthorized | 401 | Unauthorized. The API key is missing, malformed or revoked. |
| plan_required | 403 | Plan required. Your plan does not include this endpoint or history depth. |
| not_found | 404 | Not found. The market or resource does not exist. |
| not_settled | 409 | Not settled. The market has not settled yet; settlement data is unavailable. |
| rate_limited | 429 | Rate limited. Too many requests. Retry after the time in the Retry-After header. |
| internal_error | 500 | Internal error. Something went wrong on our side. The request id helps us investigate. |
| index_unavailable | 503 | Index unavailable. Too few price sources responded to compute the index (quorum not met). |
By HTTP status
| Status | Codes |
|---|---|
| 400 | invalid_requestinvalid_assetinvalid_timeframeinvalid_agent |
| 401 | unauthorized |
| 403 | plan_required |
| 404 | not_found |
| 409 | not_settled |
| 429 | rate_limited |
| 500 | internal_error |
| 503 | index_unavailable |
The error envelope and retry guidance are described in Errors.
Questions or feedback on the API? [email protected]