Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Can anyone explain the API rate limiting factors?
I read that it is 4 requests/sec for Advanced, but I also see documentation on a "leaky bucket" algorithm that allows some room for bursting. Anyone know what the bucket size is for Advanced? For Plus?
Hi there 👋
You should find the bucket size, and request limits in the following documentation for each plan.
API | Rate-limiting method | Standard limit | Advanced Shopify limit | Shopify Plus limit | Commerce Components by Shopify limit |
---|---|---|---|---|---|
Admin API (GraphQL) | Calculated query cost | 50 points/second | 100 points/second | 500 points/second | None |
Admin API (REST) | Request-based limit | 2 requests/second | 4 requests/second | 20 requests/second | None |
Storefront API | None | None | None | None | None |
Payments Apps API (GraphQL) | Calculated query cost | 910 points/second | 910 points/second | 1820 points/second | None |
To learn more visit the Shopify Help Center or the Community Blog.
Hi
Sorry about that, you should see it in the documentation here.
Basic
40 requests/app/store
2/second
Plus
400 requests/app/store
20/second
To learn more visit the Shopify Help Center or the Community Blog.
I just confirmed with the team that the bucket size increases with the same interval as the leak rate for advanced.
So you can expect the bucket size to be 2x the Basic Plan so:
Advanced:
80 requests/app/store
4/second
To learn more visit the Shopify Help Center or the Community Blog.
This is talked about on the docs and I'll past something from it below
https://shopify.dev/docs/api/usage/rate-limits#the-leaky-bucket-algorithm
Those on the Plus plan get higher rates but all others follow the defaults.
-----
The bucket size and leak rate properties determine the API’s burst behavior and request rate.
The default settings are as follows: