The short explanation

429 Too Many Requests means you (or your IP address) sent more requests than the site allows in a time window. It's rate limiting, used to protect servers and APIs.

Visitors often just need to wait; developers should slow down and respect the Retry-After header.

What you'll see

  • An API or site returns “429 Too Many Requests” during a burst of activity.
  • A script that loops over many items fails partway through.
  • The response includes a Retry-After header with seconds or a date.

What causes it

  • Your client sent more requests than the per-minute/hour quota allows.
  • No backoff logic, so failed calls are retried immediately and make it worse.
  • Shared IP or API key: someone else’s traffic counts against the same limit.
  • A bot-protection rule treating rapid requests as abuse.

How to fix it

  1. Stop retrying immediately; wait the interval given in the Retry-After header before the next call.
  2. Add exponential backoff with jitter to the client and cache responses so repeat calls are avoided.
  3. Request a higher quota, batch your calls, or spread the work across time or multiple keys.

Command

curl -sD - -o /dev/null "https://api.example.com/" | grep -i retry-after

Reads the Retry-After value so you know exactly how long to pause.

How to tell it worked: Requests succeed again after the wait, and sustained usage stays under the limit with backoff in place.

Stop it happening again

Design clients to respect rate limits from the start: token buckets, caching, and backoff on 429/503.