Rate Limits
Rate Limits define the maximum number of requests that can be made by apps to the ASAP REST API in a given period of time. ASAP employs rate limits to ensure stability of the API service for all users and to prevent many types of abuse or inadvertent usage.
This document defines the new rate limits in effect as of Jul 01, 2020.
When the limit is exceeded, an API request will fail and an HTTP 429 status code will be returned.
Rate Limits
API Endpoints |
Repeated Requests Rate Limit |
General Rate Limit |
All Endpoints
|
6 requests/minute
Must wait 10 seconds between each repeated requests
|
100 requests/minute
|
Best Practices for Handling Errors
When you exceed the rate limits allowed for an API request, you will receive a “429 Too Many Requests” error. The best way to handle rate limits is to be on the lookout for 429 status codes and build in a retry mechanism that makes reduced number of requests to the server in a given timeframe.
Rate Limit Type |
HTTP Status Codes |
Error Messages |
Repeated Requests - Rate Limit Per Minute
|
429 |
You have reached the maximum per-minute rate limit for repeated requests for this API. Try again later. Refer the documentation: https://developer.asapconnected.com/APIRequests.aspx
|
General - Rate Limit per Minute
| 429 |
You have reached the maximum per-minute rate limit for this API. Refer the documentation: https://developer.asapconnected.com/APIRequests.aspx
|
Cache responses whenever possible instead of frequently making the same request.
To prevent abuse and handle API request traffic efficiently, we may alter these limits if required.
Top