Working with the API

API rate limits and HTTP 429

Read RateLimit-Remaining to see how many requests your API key has left this minute. On HTTP 429, wait the number of seconds in Retry-After before sending another request.

How many API requests can I make per minute?

Each key and each connected app is counted by itself, over a minute: 600 requests unless the service or your plan says otherwise. A plan may give its organization’s keys more.

Rate limit response headers

HeaderWhat it says
RateLimit-LimitHow many requests the key may make in a minute.
RateLimit-RemainingHow many are left in this minute.
RateLimit-ResetIn how many seconds the count starts again.
Retry-AfterOnly on 429: how many seconds to wait.

Past the limit the answer is 429 with the code too_many_requests. A request that was refused is counted like any other, so wait as long as Retry-After says before asking again.