429 Too Many Requests

HTTP 429 Too Many Requests is a 4xx client error status. The client sent too many requests in a given time (rate limiting).

429Status code
4xxClient error
NoCacheable by default
RFC 6585Defined in

Common causes

What to do

Respect the Retry-After header and use exponential backoff.

Example response

HTTP/1.1 429 Too Many Requests
Retry-After: 120
Content-Type: application/json

{"error":"too many requests"}

Returning 429 in code

Express   res.status(429).json({ … });
Flask     return jsonify(…), 429
PHP       http_response_code(429);
Go        w.WriteHeader(429)
nginx     return 429;

Other 4xx codes

Frequently asked questions

What does HTTP 429 mean?
The client sent too many requests in a given time (rate limiting).
Is 429 an error?
Yes. It is a client error: the request needs to change before retrying.
Does a 429 hurt SEO?
If search engines see it repeatedly on pages that should rank, those pages can be dropped from the index. Fix it quickly.