Rate limits
The API implements rate limiting per shop, based on the shop's Joy plan.
Limits by plan
| Plan | Burst limit | Daily quota |
|---|---|---|
| Free/Starter | No API access (402 plan_upgrade_required) | — |
| Pro | 30 requests / 10 seconds | 200 requests / day |
| Advanced | 60 requests / 10 seconds | 2,000 requests / day |
| Ultimate | No plan limit | No plan limit |
On top of the plan limits, every Secret Key is subject to a ceiling of 120 requests / 10 seconds, checked before authentication. This ceiling also applies to Ultimate.
Calls made through the Joy MCP server use the same REST API and share the shop's quota. The /rest_api/v2/custom-actions endpoints are exempt from the daily quota and have their own burst limit; see Mobile App Engagement.
Daily quota
The daily quota resets at 00:00 UTC. On plans with a daily quota, these headers are included in the response:
| Header | Value |
|---|---|
X-RateLimit-Limit | Daily quota |
X-RateLimit-Remaining | Requests remaining today |
X-RateLimit-Reset | Time when the daily quota resets (Unix timestamp, in seconds) |
When you are rate limited
You receive a 429 Too Many Requests response with a Retry-After header:
error | Cause | Retry-After |
|---|---|---|
daily_quota_exceeded | Daily quota used up | Seconds until next UTC midnight |
rate_limit_exceeded | Burst limit or 120/10s ceiling exceeded | 10 |
The body is the flat error shape described in Errors.