Skip to content

Rate limits

Requests are rate-limited per shop, using the same token bucket as AI / Agent access:

  • Bucket capacity: 60
  • Refill: 1 token per second
  • Each API call consumes 1 token

When the bucket is empty, the API returns 429 RATE_LIMITED with a Retry-After header (seconds).

  • Don’t parallelise against one shop. The data store is single-threaded per shop — concurrent requests don’t complete faster and burn tokens. Issue calls sequentially.
  • Page efficiently. Use limit=50 and follow the cursor rather than many small pages.
  • Back off on 429. Wait the Retry-After interval and retry the same request.