DEV Community

How Shopify's GraphQL Rate Limits Actually Work (and How to Stop Getting 429'd) (opens in new tab)

Discussed on DEV

Originally published on the Kolachi Tech blog. Canonical link points back to the original. If you treat Shopify's GraphQL Admin API like a REST endpoint and fire concurrent paginated requests, you will hit a wall of 429s fast. The reason is simple: Shopify doesn't rate-limit by request count. It limits by calculated query cost. Once that clicks, the limits stop being a wall and become a budget. Here's the working model. The core idea: cost, not count REST charges the same for every call, whet...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help