Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Storefront API limits under Shopify Plus

Solved

Storefront API limits under Shopify Plus

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!

Accepted Solution (1)

hassain
Shopify Staff (Retired)
624 104 189

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.

View solution in original post

Replies 2 (2)

hassain
Shopify Staff (Retired)
624 104 189

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.

Shop2000
Excursionist
43 0 14

In what time will the 60s/0.5 be reset? 60s/0.5 = 120 calls.

Is it 120 calls an hour or minute?

Thanks!