You are being rate limited. The response should carry Retry-After, and usually X-RateLimit-Limit, -Remaining and -Reset.
Defined in RFC 6585 §4 — 429 Too Many Requests · MDN reference
Any API with a quota — and it usually arrives all at once, when a deploy, a retry storm or a batch job pushes a normally quiet client over the line.
Test that your client backs off on Retry-After rather than retrying immediately — an aggressive retry on a 429 is how a slowdown becomes an outage.
Honour Retry-After. If it is absent, back off exponentially with jitter — synchronised retries from many clients recreate exactly the spike the limit exists to prevent. Cap the number of attempts, and never retry a 429 in a tight loop. The X-RateLimit-Remaining and -Reset headers, where present, let you slow down before you are told to.
1 endpoint in this playground answers with 429. Every one is free, needs no signup, and can be called from the browser or with curl.
GET https://funapi.dev/api/coffee/v1/rush-hour — Too many requests — wait for Retry-After seconds (Coffee Shop API) Open & run this endpointAll HTTP status codes · All 39 mock REST APIs · Getting started guide
Last updated