For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Rate Limiting

Request limits

The API is rate-limited. Limits apply per username and per IP address, and statistics requests have their own, lower limit. Limits are set for each network and can change, so don't build your integration around fixed numbers.

Every response includes the current rate limit details in its HTTP headers:

  • X-Rate-Limit-Limit: the number of requests allowed in the current window

  • X-Rate-Limit-Remaining: the number of requests you have left

  • X-Rate-Limit-Reset: the number of seconds until the limit resets

When you exceed the limit, requests return 429 Too Many Requests until the limit resets. Use the headers to slow down before you reach the limit.

Examples

The values below are examples only.

Rate Limiting - Example 1

$ curl -i https://api.example.com/v2/statistics/a/date
    {
        "HTTP/1.1": "200 OK",
        "Date": "Fri, 24 Oct 2014 14:57:32 GMT",
        "Content-Type": "application/json",
        "Transfer-Encoding": "chunked",
        "X-Rate-Limit-Limit": 100,
        "X-Rate-Limit-Remaining": 99,
        "X-Rate-Limit-Reset": 27
    }

Rate Limiting - Example 2 (Limit Exceeded)

Last updated

Was this helpful?