Skip to main content
The Hexagraph API uses standard HTTP status codes to indicate the success or failure of a request. Error responses are returned as JSON objects with descriptive message fields and reset timestamps so your application can programmatically detect and handle failure conditions.

Error Response Format

All error responses share a consistent JSON structure:

HTTP Status Codes

Handling 429 Errors & Rate Limit Headers

A 429 Too Many Requests response is returned when your IP address exceeds gateway limits:
  • Short-Burst IP Limit: 30 requests per 1 minute
  • Daily List/Filter Quota: 500 requests per 24 hours
  • Daily Search Quota: 50 requests per 24 hours
Every API response includes real-time rate limit headers for client monitoring:
When you receive a 429 status, inspect reset_in_seconds or X-RateLimit-IP-Reset-Seconds to determine the exact delay before retrying.

Handling 404 Errors

A 404 Not Found response means the HX_ ID requested does not exist in the dataset. Troubleshooting checklist:
  1. Verify the HX_ prefix — all entity IDs must include the full namespace prefix (e.g. HX_W3038568908, HX_A5028125522).
  2. Confirm entity type — ensure the ID matches the endpoint (e.g. author ID HX_A... should be sent to /authors/{id}, not /outputs/{id}).
  3. Inspect GET /rate-limit — verify your request quota is active.