Wiki
Rate limits
API Rate Limits
To ensure fair usage and maintain performance for all users, certain API endpoints are subject to rate limits. These limits restrict the number of requests that can be made to specific endpoints within a defined time period. Exceeding the rate limit will result in a 429 Too Many Attempts error response.
Understanding Rate Limits
Each rate-limited endpoint has a defined threshold, typically measured in requests per minute or requests per hour. If your application exceeds this threshold, further requests will be temporarily blocked until the limit resets.
To avoid exceeding rate limits:
Implement retry logic with exponential backoff. Monitor your usage patterns and adjust your requests accordingly.
Rate-Limited Endpoints
Below is a table of API endpoints with their respective rate limits:
Endpoint | Standard Limits | Premium Limits | Time Window |
---|---|---|---|
GET /products | 5 requests | 20 requests | Per minute |
GET /products/status | 5 requests | 20 requests | Per minute |
GET /users | 20 requests | 100 requests | Per 1 minutes |
GET /users/{id}/orders | 10 requests | 40 requests | Per 5 minutes for the same {id} |
GET /orders | 20 requests | 100 requests | Per 1 minutes. |
GET /orders/{id} | 20 requests | 100 requests | Per 1 minutes for the same {id} |
GET /orders/{id}/status | 10 requests | 40 requests | Per 5 minutes for the same {id} |
POST /orders/{id}/cancel-pending | 1 requests | 10 requests | Per 5 minutes |
POST /orders/{id}/cancel-deferred | 1 requests | 10 requests | Per 5 minutes |
POST /validate-vehicle | 50 requests | 200 requests | Per minute |
Last modified on