Start Here
Rate limits
We have four rate limit tiers for the Rye API:
Default
- 100 requests/secModerate
- 20 requests/secElevated
- 5 requests/secStrict
- 1 request/sec
You can check the following headers to track rate limits:
Ratelimit-Limit
: The maximum number of requests that the consumer is permitted to make in a given time window.Ratelimit-Remaining
: The number of requests remaining in the current rate limit window.Ratelimit-Tier
: The rate limit tier for the query or mutation. (Default
,Strict
,Elevated
,Moderate
)Ratelimit-Reset
: The time at which the current rate limit window resets in seconds.
Rate limit handling in your code
The following queries and mutations are in the Strict
tier
- createCart
- submitCart
- requestProductByUrl
- requestStoreByUrl
- requestAmazonProductByUrl
- requestShopifyProductByUrl
If you need a higher rate limit for strict tier, please contact us at dev@rye.com.
The following queries are in the Elevated
tier
Elevated tier’s rate limit can not be increased.
Was this page helpful?