Skip to Content

Rate limits

How many calls a key can make, and what to do when you reach the limit.

Each API key has its own limits. Keys do not share limits, even in the same company.

LimitValue
Requests per key120 per minute
Report files per key (GET /v1/reports/{reportType})10 per minute

Report files count toward both limits.

Headers

Every response tells you where you are, with the IETF RateLimit header fields:

RateLimit-Policy: "default";q=120;w=60
RateLimit: "default";r=117;t=42
  • q is the number of requests allowed in the window.
  • w is the window length in seconds.
  • r is the number of requests you have left.
  • t is the number of seconds until the window resets.

When you reach the limit

The API returns 429 Too Many Requests with a rate-limited error and a Retry-After header:

HTTP/1.1 429 Too Many Requests
Retry-After: 18
Content-Type: application/problem+json

Wait for Retry-After seconds, then try again.

Stay under the limit

  • Use /v1/sales/summary and /v1/sales/breakdown for figures. Do not add up sales lines yourself.
  • Use limit=1000 when you copy lists.
  • Use updatedSince and syncedSince to copy only what changed.
  • Make calls one after another, not many at the same time.

On this page