This page explains the rate limit of the Genezio API. Each API key can send 200 requests in one minute. A token of the key counts against the same key.

The rate limit headers

Each answer has the headers of the limit:

What occurs when you send too many requests

The request after the limit gets 429 with the code rate_limited, and the Retry-After header gives the seconds to wait:

Good practice for the rate limit

  • Read X-RateLimit-Remaining, and send fewer requests before it gets to 0.
  • After a 429, wait for Retry-After seconds, then try again.
  • Ask for a whole range in one report, in place of one request for each day.
  • For a higher limit, write to support@genez.io.