Rate limits
How many requests you can send, and what to do when you get a 429.
| Limit | Requests |
|---|---|
| Per API key | 1,200 a minute |
| Per IP address | 600 a minute |
| Per store | 6,000 a minute |
A request counts toward every limit it falls under. Store and IP limits cover test and live traffic together. Payment-provider callbacks are not limited.
Some actions have their own, lower limits:
| Action | Limit |
|---|---|
| Uploads | 120 per 10 minutes per IP, 300 per API key, 600 per store |
| Checkout preview | 120 a minute per IP |
| Creating a checkout | 20 a minute per IP, 120 per API key, 300 per store |
| Trying coupon codes | 60 per 15 minutes per IP, 600 per store |
| Submitting reviews | 10 an hour per IP, 100 per store, 5 per order |
| Buyer ticket messages | 30 an hour per IP or buyer, 300 per store; new tickets 10 an hour per buyer |
| Storefront analytics | 240 a minute per IP, 3,000 per store |
When you hit a limit
The API answers 429 with the usual error body and a Retry-After header in seconds. Wait that long, then retry. Keep the same Idempotency-Key on the retry so nothing is done twice.
Very large floods can also be stopped by Cloudflare before they reach the API, so always handle 429.