Rate Limits

Rate Limits

The API uses rate limits to ensure fair usage and maintain service stability.

Rate limit information is returned with every response through HTTP headers.

Response Headers

HeaderDescription
X-RateLimit-LimitMaximum requests allowed within the current window
X-RateLimit-RemainingRequests remaining in the current window
X-RateLimit-ResetUnix timestamp in milliseconds when the limit resets

Rate Limit Exceeded

If a route-specific rate limit is exceeded, the API returns:

429 Too Many Requests

Example response:

{
  "message": "You are being rate limited",
  "retry_after": 2500
}
FieldDescription
messageError message
retry_afterNumber of milliseconds before another request may be made

Global Rate Limit

In addition to route-specific limits, all API tokens are subject to a global limit of:

20 requests per second

When the global limit is exceeded, the API returns:

{
  "message": "You are being rate limited",
  "global": true
}
FieldDescription
messageError message
globalIndicates that the global rate limit was exceeded