Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
We're on Shopify Plus and we use Shopify's Storefront API to pull in product data, just using Shopify's site for customer checkout. We're doing a new launch next week and are expecting a surge in web traffic, which means we'll be making more Storefront API calls.
I reviewed the Storefront API's API limit documentation and it sounds like a surge in traffic won't lead to us bumping up against API limits, since the customer's IP address is used in that algorithm. Is that correct?
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hi @bar3030 ,
I reviewed the Storefront API's API limit documentation and it sounds like a surge in traffic won't lead to us bumping up against API limits, since the customer's IP address is used in that algorithm. Is that correct?
That is completely correct. The Storefront API has a bucket size of 60s (120s for merchants on the Shopify Plus plan) per IP address, and each request to the Storefront API costs 0.5s per IP address. Since these rate limits are on a per IP address basis, it means your app wont be throttled due to an increase of customer traffic on a merchant's shop. The Storefront API rate limit merely prevents individual customers (and bots + malicious actors) from making too many Storefront API requests with your app on a simple Shopify store all at once.
https://shopify.dev/docs/storefront-api/getting-started#rate-limits
https://shopify.dev/concepts/about-apis/rate-limits#storefront-api-rate-limits
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hi @bar3030 ,
I reviewed the Storefront API's API limit documentation and it sounds like a surge in traffic won't lead to us bumping up against API limits, since the customer's IP address is used in that algorithm. Is that correct?
That is completely correct. The Storefront API has a bucket size of 60s (120s for merchants on the Shopify Plus plan) per IP address, and each request to the Storefront API costs 0.5s per IP address. Since these rate limits are on a per IP address basis, it means your app wont be throttled due to an increase of customer traffic on a merchant's shop. The Storefront API rate limit merely prevents individual customers (and bots + malicious actors) from making too many Storefront API requests with your app on a simple Shopify store all at once.
https://shopify.dev/docs/storefront-api/getting-started#rate-limits
https://shopify.dev/concepts/about-apis/rate-limits#storefront-api-rate-limits
To learn more visit the Shopify Help Center or the Community Blog.
In what time will the 60s/0.5 be reset? 60s/0.5 = 120 calls.
Is it 120 calls an hour or minute?
Thanks!