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|
|Payments Apps API (GraphQL)||Calculated query cost||910 points/second||910 points/second||1820 points/second||None|
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:
This is talked about on the docs and I'll past something from it below
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: