Skip to content Use Monity from Claude, ChatGPT or Codex: set up monitors and ask what changed, from a chat. Use Monity from Claude, ChatGPT or Codex Connect yours
Tutorial 4 min read

HTTP 429 Too Many Requests: how long it lasts and what to do

A 429 Too Many Requests means you hit a rate limit. How long it lasts, what Retry-After and rate limit headers say, what to do as a visitor, a backoff loop for API code, and how to loosen your own site’s limits.

Alex Lead Product Designer
UpdatedNovember 23, 2026 Read time4 min AudienceSite owners and developers

A 429 Too Many Requests means you sent more requests than a server allows in a set time, so it refuses more until its limit resets. How long that takes is the server’s choice, and the response may say it in a Retry-After header. As a visitor, stop reloading and come back in a few minutes. In code, wait for Retry-After and back off.

How long does a 429 last?

As long as the rule that sent it says. RFC 6585, section 4 defines 429, lets the server send Retry-After, and leaves it to each server how it counts: per address, per account, per key or per endpoint. What the response tells you decides how long to wait:

  • Retry-After: 120 means wait 120 seconds. The header can also carry a date (RFC 9110, section 10.2.3).
  • Rate limit headers say when the window resets. GitHub’s REST API sends x-ratelimit-remaining and, when that reaches 0, x-ratelimit-reset in UTC epoch seconds.
  • Nothing at all leaves you guessing. GitHub’s rule is a good default anywhere: wait at least a minute, then wait longer after each failure.

Some limits are fixed windows. Cloudflare’s own API allows 1,200 requests per five minutes per user, and past that it blocks every call for the next five minutes. A website behind Cloudflare shows “Error 1015: You are being rate limited” instead, and Cloudflare’s advice is to wait, because retrying again and again may extend the block.

Blocked on a website: what to do

  1. Stop reloading. Every reload is one more request against the limit.
  2. Wait a few minutes, then try once.
  3. Turn off a VPN or change networks. Limits are usually counted per IP address (MDN), and a VPN, an office or a mobile carrier puts many people behind one address.
  4. Pause anything that refreshes the page for you: an auto-refresh extension, a script, or a tracker checking that site often.
  5. Still blocked? Contact the site. Only its owner sets the limit; Cloudflare says so for its 1015 page.

Calling an API: back off the right way

A 429 from an API is the provider asking your code to slow down. Stripe answers rate-limited requests with 429 and asks you to retry with exponential backoff and jitter. GitHub answers its secondary limits with 403 or 429. A retry loop that does both, in JavaScript:

async function fetchWithBackoff(url, options = {}, tries = 5) {
  for (let attempt = 0; attempt < tries; attempt++) {
    const res = await fetch(url, options);
    if (res.status !== 429) return res;
    const after = res.headers.get('retry-after');
    const wait = after && !isNaN(after) ? Number(after)   // seconds
      : after ? (Date.parse(after) - Date.now()) / 1000       // an HTTP date
      : 2 ** attempt;                                         // no header: 1, 2, 4, 8 s
    // Random jitter, so many clients don’t all retry at the same moment.
    await new Promise((r) => setTimeout(r, (Math.max(wait, 0) + Math.random()) * 1000));
  }
  throw new Error(`Still rate limited after ${tries} tries`);
}

Then send fewer requests. Cache answers, batch calls, take webhooks instead of polling, and read the limit headers so your code slows down before it reaches zero. A higher limit usually means a higher plan or separate keys per app, where the provider allows it.

Which limit did I hit?

Where it comes from What you get What to do
GitHub REST API 403 or 429; 60 requests an hour without a token, 5,000 with one Wait for retry-after, or until x-ratelimit-reset
Stripe API 429 Exponential backoff with jitter
Cloudflare API 429 past 1,200 requests in five minutes Wait five minutes
A website’s Cloudflare rate limiting rule 429 by default (the owner can pick any 400 to 499 code), shown as error 1015 Wait; don’t keep retrying
nginx limit_req 503, unless the owner set limit_req_status 429 A 503 under load may be a rate limit

Your own site is sending 429s

A limit set too tight turns away real customers during a sale while your dashboards look calm. Find the rule that fired in your CDN’s or server’s logs, raise it for ordinary pages, keep tight limits on login and search, and let known clients through: your monitoring and your payment provider’s webhooks. Send Retry-After, so well-behaved clients know when to come back. On nginx, rejected requests get a 503 until you set the code yourself (nginx docs):

limit_req_zone $binary_remote_addr zone=perip:10m rate=10r/s;
limit_req_status 429;

To hear about it before customers do, check the site from outside. A website monitor in Monity’s uptime monitoring counts any status outside its good range (200 to 399 unless you change it) as a failure, checks again 3 and 6 seconds later, then alerts.

Monity uptime monitor alert settings: alert as soon as it is confirmed down, no reminders, tell me when it is back up, and email, Slack, Teams and Telegram as channels
An uptime monitor’s alerts in Monity: once a failure is confirmed, and again when the site is back. A 429 from your own rate limit is a failure like any other.

More on status codes: all HTTP status codes, 503 Service Unavailable and 403 Forbidden.

FAQ

Questions people ask

Is a 429 error my fault?

It’s aimed at whoever sent the requests, which is usually your IP address or your account. Often it isn’t anything you did: a VPN or a shared office address can put you over a limit other people used up.

Can a VPN cause 429 Too Many Requests?

Yes. A VPN shares one address among many users, and most limits count requests per address. Turn the VPN off or switch servers, and the limit may no longer apply to you.

What’s the difference between 429 and 503?

A 429 is for one client that sent too much. A 503 says the service can’t serve anyone right now, because it’s overloaded or under maintenance. Both can carry Retry-After, and nginx’s rate limiting sends 503 unless told otherwise.

Does a 429 hurt my site in Google?

Google’s crawlers treat 429 like a server error and slow down. Pages already indexed stay for a while, but URLs that keep returning it are eventually dropped. Make sure your limits don’t catch Googlebot.

Can a browser or CDN cache a 429?

It shouldn’t: RFC 6585 says a 429 response must not be stored by a cache. If you keep seeing it after the limit should have reset, it’s coming from the server again, not from a cache.

Why does GitHub return 403 instead of 429?

GitHub answers its secondary rate limits with either code. The headers tell them apart from a permissions 403: retry-after, or x-ratelimit-remaining at 0.

Written by

Alex

Alex leads product design at Monity. From the plain-English setup to the way an alert is laid out, her work is about making website monitoring something anyone can use, technical or not. She writes here about product design and usability.

More by author
Kamil, Alex and Martyna A person replies within two working days

Have a question?

Pricing, security or scoping: pick one and your message goes to a person on the team.