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 |
Thank you. Can you tell me what the bucket size is for the “leaky bucket”
algorithm for Advanced/Plus? I do not see that in the documentation.
Hi
Sorry about that, you should see it in the documentation here.
Basic
- Bucket size:
40 requests/app/store - Leak rate:
2/second
Plus
- Bucket size:
400 requests/app/store - Leak rate:
20/second
Thank for the further information. In other documentation, the rate is
2/sec Basic, 4/sec for the Advanced plan and 20/sec for Plus. I only see
“Standard” bucket limits. Do you know what happens to the bucket limits in
the Advanced?
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:
- Bucket size:
80 requests/app/store - Leak rate:
4/second
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:
- Bucket size: 40 requests/app/store
- Leak rate: 2/second