Rate Limits
Aurora Intents API endpoints are rate-limited to keep the service responsive for every integrator. Limits are applied per API key, per endpoint. Exhausting the quota on one endpoint does not affect your calls to any other endpoint.
Limits
10 seconds
100
1 hour
2000
Both windows are enforced simultaneously. Windows are fixed and aligned to the clock: the 10-second window resets every 10 seconds, and the hourly window resets at the top of each hour.
Each API key has its own counters. If you run several integrations, use a separate API key for each one so that one integration cannot exhaust the quota of another. See api-keys-and-fees.md.
What happens when you exceed a limit
The API responds with HTTP status 429 Too Many Requests and a Retry-After header. The header value is the number of seconds until the window resets and your requests are accepted again. Because windows are aligned to the clock, this value is at most 10 seconds when you hit the 10-second limit, and up to a full hour (3600 seconds) when you hit the hourly limit.
HTTP/2 429
Content-Type: application/json
Retry-After: 7
{
"message": "Rate limit exceeded",
"error": "Too Many Requests",
"statusCode": 429
}Rejected requests are not processed. A rejected quote request does not create a quote, and a rejected status request has no effect on the swap.
The Retry-After value counts down while the block is active. Requests you send during the block are rejected and do not extend it, so the first request after the countdown reaches zero is accepted.
Handling 429 in your integration
Example: a fetch wrapper that respects Retry-After
Need a higher limit?
If your integration needs more than the default quota, reach out through contact with your API key and expected request volume.
Last updated
