For every API request made we return HTTP response headers containing the rate limit encountered during your request.
Header Format
Header | Description |
---|---|
X-RateLimit-Limit | The number of requests that can be made |
X-RateLimit-Remaining | The number of remaining requests that can be made |
X-RateLimit-Reset | Epoch timestamp (in milliseconds) at which the rate limit resets |
429 Response
If you exceed the rate limit for the API you will receive an HTTP 429 response code with a JSON body.
Field | Description |
---|---|
message | You are being rate limited |
retry_after | The number of milliseconds to wait before submitting another request |
Global 429 Response
Additionally, there is a global rate limit of 20 requests per second. If you exceed this rate limit you will receive an HTTP 429 response code with a JSON body.
Field | Description |
---|---|
message | You are being rate limited |
global | A value indicating if you are being globally rate limited |