rate_limit_exceeded — key request rate exceeded
What happened
The request was not performed. The body has reason: "rate_limit_exceeded" (the same code in error_code) and retry_after in seconds. The headers carry Retry-After and X-RateLimit-*.
Why
The key exceeded one of its request rate windows: limits.requests.per_minute, per_hour, or per_day. Requests are counted, not the amount of work: a light request and a heavy one count the same. By default, a key has no request rate limit. The windows are set in the key settings.
What to do right now
Wait retry_after seconds and retry the request. If you hit the limit all the time, lower the rate: replace order status polling with realtime events, and pause between catalog pages.
Which request to send next
The same request after retry_after seconds. The key windows in effect are shown in the developer section.
Where to go next
This page for AI
API version 1.0.0