Guides · Guide
Rate limits
How many requests a token can make, how to see where you stand, and what to do when you are told to slow down.
The limits
| Limit | Value | Applies to |
|---|---|---|
| Requests per minute | 120 | Each token, counted in clock minutes |
New requests (POST /requests) | 30 per hour | The whole organisation, whichever token or person makes them |
| Request body | 64 KB | Every request |
| Page size | 100 items | Every list |
A request that is refused before it is recognised (no token, a malformed token, a token in the URL) does not count. Every other request counts, including the ones that are refused for being over the limit.
Headers
Every response to a recognised token carries:
| Header | Meaning |
|---|---|
X-RateLimit-Limit | Requests allowed per minute |
X-RateLimit-Remaining | Requests left in this minute |
X-RateLimit-Reset | When the minute ends, in Unix seconds |
Retry-After | On a 429 only: seconds to wait |
When you hit it
You get 429 rate_limited and Retry-After. Wait that long, then continue. Do not loop on it.
- Look at `X-RateLimit-Remaining` before you hit zero. If it is low, slow down. The reference client does when fewer than five are left.
- Poll gently. Following a request needs one call every 5 to 15 seconds, not one every 100 milliseconds. Many requests at once cost one poll each.
- Ask for less. Use filters and
limit=100rather than many small calls. - The hourly limit on new requests is a different limit. It is organisation-wide and
Retry-Aftercan understate it. If you hit it, wait several minutes, and look at whether something is looping.
Note
Need more? Open a support case with what you are building and what you are hitting. Limits can be raised for a token that has a reason.
This page as MarkdownReport a problem with this pageOlympus Group Holdings, Inc.