Rate Limits
Requests to the Sourcengine API are allotted a specific quota of requests per refresh period. To consult or change your current quota, please contact your account manager.
Each request returns the following header information regarding rate limits and number of requests left. Depending on the endpoint you are using, it will have a specific number of allowed requests per refresh period.
- RateLimit-Limit: The number of requests that can be made per period.
- RateLimit-Remaining: The number of requests that remain before you hit your limit.
- RateLimit-Reset: Time when the oldest request will expire, in Unix epoch time.
Once this threshold has been reached, we will return a status code 429
. Space out any requests that you would otherwise issue in bursts for the best results.
Example request
curl <%= base_url %>/api/parts/categories \
-H "Authorization: Bearer {access-token}"
Response with rate limit headers
HTTP/1.1 200 OK
Content-Type: application/json
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1629758006
{
"hello": "world"
}
Updated almost 2 years ago