learn / Term explained
EN

Requests and Access · Explanation of Terms

HTTP 429

Too Many Requests

Also written as: 429, Too Many Requests

What it means

An HTTP status code indicating that a requester has sent too many requests within a period of time. The response may include Retry-After to indicate how long to wait before trying again.

429 describes the request frequency or quota constraints. How to identify the requester and how to count is determined by the server implementation. Restrictions may be based on accounts, sessions, interfaces, IPs, or multiple criteria.

When processing, you should read the response description, respect Retry-After, and reduce the request pressure or wait for the quota to be restored. Retry-After can represent seconds or an HTTP date, and cannot always be parsed as an integer.

RFC 6585 prohibits caches from storing 429 responses. Under load, a server may close connections instead of returning 429, so its absence does not prove that requests are not limited. After a 429, follow the response's waiting instructions rather than treating a cached old error as a new instruction from the target.

In a scraping task

Waiting instructions received

When a response includes Retry-After: 60, wait at least the indicated time before accessing that resource again, alongside your task’s rate-limiting policy. HTTP does not require every 429 response to include this response header.

HTTP/1.1 429 Too Many Requests
Retry-After: 60

Common misconceptions

  • 429 is not a fixed-duration ban notice. The recovery conditions should be determined by the specific service description.
  • Concurrently retry immediately after receiving 429, which may continue to aggravate the current limiting problem.
  • Retry-After can also appear in 503 or redirect responses; this header alone does not establish a 429 status. Read the actual status code.

References

Organized by Northleaf Studio. The source link retains the original address to facilitate continued reading.

Back to glossary