Hi,
On this page Rate limits there is a description how rate limit is indicated via HTTP status code and response headers, however there are some questions related:
- Per second limit β 429 You have reached the maximum per-second rate limit for this API. Try again later.
Example response header:
X-RateLimit-Category: Light
X-RateLimit-Type: QPS
Questions:
- After how many times to repeat the API request ?
- Is there a header (Retry-After) indicating when the next API request can be sent ? If yes, what is the time format ?
- Daily limit β 429 You have reached the maximum daily rate limit for this API. Refer to the response header for details on when you can make another request.
Example response header:
X-RateLimit-Category: Heavy
X-RateLimit-Type: Daily-limit
X-RateLimit-Limit: 30000
X-RateLimit-Remaining: 0
Retry-After: 2020-05-31T00:00:00Z
Questions:
- the Retry-After header contains the date when the next API request can be sent. Is this correct ? Is the date format correct ?
Generally: all the http headers listed above are included in the http response according to the actual case ?
Thank you.