Rate Limits

We have rate limits in place in order to provide a fair response time to all our API users.

The primary rate limit is 40 requests per second. All requests count towards the rate limit.

If the rate limit is exceeded, the API returns a 429 status code indicating Too Many Requests,

with the error message Your request rate has exceeded our rate limit..

📘

Exponential backoff

ChartMogul libraries support exponential backoff to reactively manage rate limits. Learn how our Ruby, Node, PHP, Go, and Python clients handle exponential backoff.

Additional limits

To provide a reliable experience to all our API users, we have introduced another layer of rate limits.

In addition to the primary limit of 40 requests per second, we also limit:

  • The compute time consumed per minute per account
  • The number of parallel requests

📘

When these limits apply

Most users won’t notice these additional limits. They are meant to restrict only the most demanding requests so all our API users can benefit from optimal response times.

Strategies for reacting to rate limiting

If you do exceed the rate limits, try one of the following approaches:

If these strategies don’t help, please contact support to discuss a remedy.