Rate Limits
Learn about rate limits for the Rampart API
If you need to increase your rate limit, please contact support.
To ensure reliable and equitable access to our API, we enforce rate limiting. By default, API requests are limited as follows:
- Limit: 1200 requests per minute per account (as identified by the
accountToken
attached to the request). - Mechanism: Each account can make up to 1200 requests in a short burst. After that, new requests are allowed again at a rate of ~20 per second (equivalent to 1200 requests per minute).
When the rate limit is exceeded, the API responds with a 429 Too Many Requests
status code. This indicates that further requests should be paused until the limit resets.
Tips for Handling Rate Limits
- Implement Backoff Strategies: When receiving a
429 Too Many Requests
response:- Implement exponential backoff (e.g., 1s, 2s, 4s) before retrying.
- Avoid immediate retries, as this could worsen delays.
- Optimize API Calls: Consolidate requests wherever possible, such as using batch endpoints or minimizing redundant calls.