Skip to main content

Rate Limit

When a client exceeds the limit associated with it, subsequent requests are blocked.

The server responds with information about the limits used and the wait time required before sending a new request, attached to the response headers:

HeaderExampleDescription
ratelimit-limit60Request limit for the client.
ratelimit-namethrottle_authenticated_webName of the throttle used.
ratelimit-remaining0Number of requests available.
ratelimit-reset1609844400Unix time — when the count resets.
retry-after30Seconds until the count resets. See Retry-After.

There are two kinds of limits: GET requests and POST requests. In both cases the count is made per hour.

Maximum limits:

  • 60 requests/hour for GET
  • 1000 requests/hour for POST

If your operation needs a higher number, contact support or sales.

The count is reset in the first minute of each hour. On every request, the server returns ratelimit-limit and ratelimit-remaining.

Example of a successful response​

Date: Fri, 05 Nov 2010 12:00:00 GMT
Content-Type: application/json; charset=utf-8
ratelimit-limit: 1000
ratelimit-remaining: 486

Example of a blocked response​

When the limit is reached, the server returns HTTP 429 Too Many Requests. Wait the number of seconds in the retry-after header before the next request.

HTTP/1.1 429 Too Many Requests
Date: Fri, 05 Nov 2010 12:00:00 GMT
Content-Type: application/json; charset=utf-8
ratelimit-limit: 1000
ratelimit-remaining: 0
ratelimit-reset: 3600
ratelimit-name: throttle_authenticated_web
retry-after: 3600

{"error": "Limite de requisições POST por hora excedido para esse usuário."}

Referência: https://ietf-wg-httpapi.github.io/ratelimit-headers/draft-ietf-httpapi-ratelimit-headers.html