How Rate Limiting Works
Rate limits are applied on a sliding window basis. When a limit is exceeded, the API returns:Retry-After header indicating the number of seconds to wait before retrying.
| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests allowed in the current window |
X-RateLimit-Remaining | Requests remaining in the current window |
X-RateLimit-Reset | Unix timestamp when the window resets |
Retry-After | Seconds to wait before retrying |
Plan Limits
For specific throughput limits per plan, visit the pricing pages: Enterprise plans include custom rate limit configurations. If your workload requires throughput beyond standard plan limits, contact contact@rootkey.ai to discuss a custom arrangement.Protocol Throughput Considerations
Rate limits are enforced at the API layer. Actual throughput for operations that write to the blockchain (RKP-1) is additionally constrained by Polygon block times.| Protocol | API Rate Limit | Additional Constraint |
|---|---|---|
| RKP-1 | Per plan | Polygon block confirmation time |
| RKP-2 | Per plan | None (async anchoring) |
| RKP-3 | Per plan | Depends on routing path |
Handling Rate Limits in Your Integration
Implement retry logic with exponential backoff for all429 responses:
- Always inspect the
Retry-Afterheader - use it instead of a fixed backoff value - Add jitter to your backoff to avoid thundering herd behaviour when multiple clients hit the limit simultaneously
- Monitor
X-RateLimit-Remainingto detect when you are approaching the limit and proactively slow down - For high-volume batch operations, distribute requests over time rather than sending in bursts
Development Environment Rate Limits
The development environment (dev-api.rootkey.ai) applies the same rate limits as production. This allows you to test rate-limit handling during development - you will encounter 429 responses under the same conditions as in production.
Increasing Limits
If your workload consistently approaches plan limits:- Upgrade your plan - view plans
- Contact enterprise sales - for custom throughput arrangements at contact@rootkey.ai
- Optimise your integration - review whether your call pattern can be batched or deferred to reduce peak request volume

