Introduction
Rate limits
Learn about rate limits and how to adhere to them.
All endpoints are subject to a maximum of 120 requests per minute. The limits are applied at the top-level of the API. For example, requests to the /zones
endpoints are all subject to the same rate limit and requests to the /users
endpoints are all subject to the same rate limit.
Inspect each API response for the presence of the following HTTP headers which show you the status of the rate limit.
HTTP Header in API response | Example | Description |
---|---|---|
RateLimit-Policy | 120;w=60 | The number of requests that can be run per time-window (expressed in seconds). For example, 120 requests in a 60 second (w=60) window. |
RateLimit-Limit | 120 | The number of total requests that can be made in the time-window. |
RateLimit-Remaining | 119 | The number of remaining requests that can be made in the current time-window. |
RateLimit-Reset | 59 | The number of seconds remaining in the current time window before a new time-window starts. |