Start Here
Rate limits
We have two rate limit tiers for the Rye API:
Default
Strict
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
orStrict
)Ratelimit-Reset
: The time at which the current rate limit window resets in seconds.
Rate limit handling in your code
The default rate limit is 100 reqs/sec
.
The following queries and mutations are in the Strict
tier and have a rate limit of 1 req/sec
:
- createCart
- submitCart
- requestProductByUrl
- requestStoreByUrl
- requestAmazonProductByUrl
- requestShopifyProductByUrl
If you need a higher rate limit, please contact us at dev@rye.com.
Was this page helpful?