Storefront API limits under Shopify Plus

Solved
bar3030
Shopify Partner
5 0 0

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!

0 Likes
hassain
Shopify Staff (Retired)
Shopify Staff (Retired)
624 103 134

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

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution