Rate Limits
Concurrency, throughput limits, and retry handling
DataGuru uses rate limiting to prevent abuse and ensure stability for all customers. If your requests exceed your plan's concurrency or throughput limits, the API will respond with a 429 Too Many Requests error.
Rate Limiting Overview
DataGuru uses rate limiting to prevent abuse and ensure stability for all customers. If your requests exceed your plan's concurrency or throughput limits, the API will respond with a 429 Too Many Requests error.
Understanding Headers
Every API response includes headers detailing your current rate limit status. You should use these headers to pace your requests before you hit the limit.
Rate Limit Response Headers
| Header | Description |
|---|---|
| X-RateLimit-Limit | The maximum number of requests you're permitted to make per window. |
| X-RateLimit-Remaining | The number of requests remaining in the current rate limit window. |
| X-RateLimit-Reset | The time at which the current rate limit window resets in UTC epoch seconds. |
Handling 429 Errors
If you receive a 429 status code, your code should pause execution. The error payload includes a retry_after field indicating how many seconds to wait.
Rate Limit Error Payload
{ "success": false, "error": { "code": "RATE_LIMITED", "message": "Too many requests. Please retry after 14 seconds.", "retry_after": 14 } }
Best Practice: Exponential Backoff
When integrating with DataGuru in production, we strongly recommend implementing an exponential backoff algorithm with jitter. This ensures your application handles spikes gracefully and automatically recovers from rate limiting without human intervention.