Rate Limits and Errors
Rate Limits
Public APIs are protected by server-side rate limiting.
Recommended client behavior:
- retry only when appropriate
- add exponential backoff with jitter
- avoid concurrent burst retries
HTTP Status Codes
| Code | Meaning |
|---|---|
200 | success |
400 | invalid request |
401 | unauthorized |
404 | resource not found |
409 | conflict |
429 | rate limited |
500 | server error |
502 | upstream/provider error |
Typical Error Payload
{
"error": "Failed to fetch market data",
"message": "Unknown error"
}
Some endpoints return only error when no additional details are needed.
Integration Guidance
- treat all numeric fields as strings unless documented otherwise
- validate nullable fields (
nullcan be expected when markets are thin or new) - design clients to tolerate additive fields in responses