Rate Limits

Plan your request volume and handle rate-limited responses

Request Limits

Requests authenticated with an API token have a limit of 300 requests per minute per user. All API tokens belonging to the same user share this quota across endpoints. Creating another token for that user or changing the merchant context does not provide a separate quota.

Separate staff profiles do not give an integration separate quotas if it sends all requests with one user's API token. The quota follows the user who owns the token, regardless of which staff member triggers the request in your integration.

For OAuth app integrations, the limit is 300 requests per minute per OAuth client, shared across the app's authorizations. Individual endpoints may apply additional, stricter limits. Use the response headers to monitor the limit that applies to your request.

Response Headers

Rate-limited endpoints include these headers to help you track usage:

HeaderMeaning
X-RateLimit-LimitThe maximum number of requests allowed in the current window.
X-RateLimit-RemainingThe number of requests remaining in the current window.
Retry-AfterOn a 429 response, the number of seconds to wait before retrying.
X-RateLimit-ResetOn a 429 response, the Unix timestamp in seconds when requests can resume.

Handling a 429 Response

When you exceed a limit, the API returns 429 Too Many Requests. The response message may say Too Many Attempts. For example, this response tells your integration to wait at least 20 seconds before retrying:

HTTP/1.1 429 Too Many Requests
X-RateLimit-Limit: 300
X-RateLimit-Remaining: 0
Retry-After: 20
X-RateLimit-Reset: 1794825620
  1. Pause requests sharing the exhausted quota, including requests from other workers or tokens for the same user.
  2. Wait at least the number of seconds in Retry-After before retrying. Add a small random delay so workers do not all retry at once.
  3. If another 429 occurs, honour its retry timing and use a bounded retry policy rather than retrying indefinitely.

Staying Within the Limit

  • Spread requests over time and coordinate request volume across your workers.
  • Monitor X-RateLimit-Remaining and slow down before the quota is exhausted.
  • Use webhooks for supported events to reduce polling, and reuse previously retrieved data when appropriate.