Handle API errors and retries.
Use the HTTP status, error code, and request ID to decide what happens next.
Example error
{
"error": {
"code": "account_minute",
"message": "Your account or shared network allowance is exhausted."
},
"requestId": "opaque-request-id"
}| Status | Meaning | Next step |
|---|---|---|
401 | Missing or unavailable key | Check or replace the key. |
404 | Unknown resource / unavailable dataset | Check address, symbol and coverage. |
413 / 422 | Payload or parameter issue | Validate against the endpoint schema. |
429 | Account / network limit | Wait for Retry-After. |
502 / 503 / 504 | Temporary dependency failure | Back off, add jitter, then retry. |
Make retries deliberate
Respect Retry-After when present. Otherwise use exponential backoff with jitter and a bounded number of attempts. Every separately admitted retry is another API request.
Keep the request ID
The X-Request-Id header links a response to its entry in your request history. Never send your full API key in a support message.
Hyperpeak API v1 · OpenAPI 3.1View complete schemas