HTTP 429 Too Many Requests: What It Means and How to Fix It

429 Too Many Requests means you’ve been rate-limited: you sent more requests in a short time than a server is willing to answer. Nothing is broken — the server is working, and it’s asking you to slow down.

It’s become one of the most common errors on the web, because sites now defend themselves against scrapers and AI crawlers, and every API limits how often it can be called. This guide covers what a 429 means, how to get past it as a visitor or developer, and how to set rate limits on your own site without shutting out the visitors — and the search engines — you want.

Quick answer

HTTP 429 Too Many Requests means you hit a rate limit. As a visitor, wait a few minutes and try again — refreshing repeatedly makes it worse. Calling an API, respect the Retry-After header and retry with exponential backoff. On your own site, find which client is sending the traffic, and set limits that return 429 without catching Googlebot.

What HTTP 429 means

429 means “you, specifically, are sending too many requests — slow down.” It was defined in 2012 in RFC 6585, to give servers a precise way to say rate limit, instead of reusing 503 or 403.

Two things make it different from other errors:

It’s about one client, not the server. The server is fine and answering everyone else. It’s limiting you — by IP address, API key or account.

It usually tells you when to come back. A 429 can include a Retry-After header, with the number of seconds to wait or a date. Well-behaved clients read it and wait exactly that long.

What a 429 response looks like

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

{ "error": "rate_limited", "message": "Too many requests. Try again in 60 seconds." }

Many APIs also send headers describing the limit itself — how many requests are allowed, how many are left, and when the window resets. The names vary: X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset are the most common, and an IETF draft standardises them as RateLimit headers.

Every way you’ll see a 429

What you seeWhere it comes from
429 Too Many RequestsAny server or API with a rate limit
Error 1015: You are being rate limitedA Cloudflare rate limiting rule on the site
“Our systems have detected unusual traffic from your computer network”Google Search, often on a shared IP or VPN
rate_limit_error or rate_limit_exceededAPIs — including AI APIs, which limit requests and tokens per minute
A 429 from /wp-admin/ or /wp-login.phpA WordPress security plugin or the host’s firewall

How to fix a 429 as a visitor

  1. Stop refreshing. Every reload is another request, and it resets the clock on many limits.
  2. Wait a few minutes, then try once. Most limits are measured per minute or per hour, and clear on their own.
  3. Turn off the VPN or switch networks. On a shared IP — a VPN, a corporate network, mobile data — other people’s traffic counts against you.
  4. Disable extensions that prefetch or scan pages, which can multiply your requests without you noticing.
  5. Contact the site if it keeps happening at normal use — the limit may be set too low.

How to fix a 429 when calling an API

Read Retry-After and wait exactly that long. If it’s missing, retry with exponential backoff — wait 1 second, then 2, then 4 — plus a little random delay, called jitter, so that many clients don’t all retry at the same instant.

import time, random
import requests

def get_with_retry(url, max_tries=5):
    for attempt in range(max_tries):
        response = requests.get(url, timeout=30)
        if response.status_code != 429:
            return response
        retry_after = response.headers.get("Retry-After")
        if retry_after and retry_after.isdigit():
            delay = int(retry_after)
        else:
            delay = 2 ** attempt + random.random()
        time.sleep(delay)
    return response

Then reduce how often you call the API in the first place: cache responses you reuse, send batch requests where the API supports them, and spread scheduled jobs out instead of running them all at the top of the hour. ⚠️ Retrying immediately in a loop is the worst option — it keeps you over the limit and, on some APIs, extends the block.

If those jobs run from cron, avoid minute 0. Schedules like 0 * * * * and 0 0 * * * are what almost everyone picks, so APIs see a spike at the top of every hour — and rate-limit it. Shifting your job a few minutes, to 7 * * * * or 13 3 * * *, keeps it out of the rush. Our cron job generator explains any schedule and lists its next run times.

How to fix a 429 on your own website

Find what’s triggering it

Before changing any limit, find out who’s hitting it. The access log shows it. The IP addresses making the most requests:

awk '{print $1}' /var/log/nginx/access.log | sort | uniq -c | sort -nr | head

And the user agents behind them:

awk -F'"' '{print $6}' /var/log/nginx/access.log | sort | uniq -c | sort -nr | head

Usually it’s one of three things: a bot or scraper, a monitoring or uptime tool set to check too often, or your own code — a script, a cron job or a page that calls an API in a loop.

Nginx: make it return 429, not 503

Nginx limits requests with limit_req. The detail that catches almost everyone: by default, requests over the limit get a 503, which tells clients and crawlers the server is down. Set the status explicitly:

http {
    limit_req_zone $binary_remote_addr zone=perip:10m rate=10r/s;

    server {
        location / {
            limit_req zone=perip burst=20 nodelay;
            limit_req_status 429;
        }
    }
}

rate is the sustained limit per IP, and burst allows short peaks above it — a page load fires many requests at once, so a burst that’s too small blocks real visitors.

Apache

Apache has no built-in request-rate limiter — mod_ratelimit limits bandwidth, not requests. The usual tools are mod_evasive, which blocks IPs that send too many requests, and ModSecurity rules. Note that mod_evasive answers with a 403 by default, not a 429.

WordPress

A 429 on /wp-login.php or /xmlrpc.php is usually a security plugin or the host’s firewall stopping a brute-force attempt — which is the limit working as intended. If it catches you instead, check the plugin’s lockout settings. And if the 429 comes from admin-ajax.php while you work in the dashboard, several open tabs or a heavy plugin may be firing requests constantly.

Cloudflare

Cloudflare’s rate limiting rules answer with a 429 — shown to visitors as Error 1015 — and let you set the threshold per path. It’s the easiest way to protect a login page or an API endpoint without touching the server.

429, AI crawlers and search engines

Crawlers are now one of the main reasons sites start rate limiting. Scrapers and AI crawlers such as GPTBot, ClaudeBot and others can request thousands of pages in minutes. You can ask them to stay away in robots.txt — our robots.txt tester shows exactly which URLs each crawler can still reach — and limit the ones that don’t listen.

⚠️ But be careful with search engines. Google treats a 429 like a server overload: Googlebot slows down its crawling, and URLs that keep returning 429 can eventually drop out of the index. Never rate-limit Googlebot by user agent alone — anyone can fake it. Verify it the way Google recommends: a reverse DNS lookup on the IP should return a name ending in googlebot.com or google.com.

And never rate-limit robots.txt itself. If /robots.txt answers with a 429, Google treats it like a server error and stops crawling the whole site until the file is reachable again. With the Nginx config above — where limit_req sits inside location / — an exact-match block such as location = /robots.txt { } is served without the limit.

Our guide to verifying search engine and AI crawlers covers every major crawler — Googlebot, Bingbot, GPTBot, ClaudeBot, PerplexityBot and more — with a tested Nginx config that blocks impostors without touching the real ones.

429 vs 503 vs 403

CodeWhat it saysScope
429 Too Many RequestsYou are sending too much — slow downOne client
503 Service UnavailableThe server is overloaded or in maintenanceEveryone
403 ForbiddenYou’re refused, whatever you doOne client, permanently

The practical difference is what the client should do next: after a 429, wait and retry; after a 503, retry later; after a 403, retrying won’t help. For the full list of codes, see our HTTP status code reference.

Control who hits your server — and how often

A Copahost VPS gives you root access to Nginx, Apache and the firewall, so you can set rate limits that stop scrapers and brute-force attempts without blocking real visitors or search engines. Full access logs, DDoS protection and month-to-month billing.

See VPS plans →

Frequently asked questions

What does 429 Too Many Requests mean?
That you’ve hit a rate limit — you sent more requests in a given time than the server allows. The server is working; it’s asking you to slow down. The response often includes a Retry-After header saying how long to wait.

How long does a 429 error last?
It depends on the limit. Many clear within a minute; others are measured per hour or per day. If the response has a Retry-After header, that’s the exact wait. Refreshing during the wait usually extends it.

How do I fix a 429 error?
As a visitor, stop refreshing, wait a few minutes, and turn off any VPN. As a developer, respect Retry-After and retry with exponential backoff. As a site owner, find the client triggering the limit in your access log before changing anything.

What is Cloudflare Error 1015?
Cloudflare’s page for a rate limiting rule: the site owner set a maximum number of requests, and your IP went over it. It’s delivered with a 429 status. Wait a few minutes; if it keeps happening at normal use, contact the site.

Why does Nginx return 503 instead of 429 when rate limiting?
Because that’s limit_req‘s default status. Add limit_req_status 429; next to the limit_req directive, so clients and crawlers understand it’s a rate limit and not a server outage.

Does a 429 affect SEO?
It can. Googlebot treats a 429 like server overload and slows its crawling, and URLs that keep returning 429 can drop out of the index. Rate-limit aggressive bots, but verify Googlebot by reverse DNS so you never limit it by mistake.

What’s the difference between 429 and 503?
A 429 limits one client that’s sending too many requests; the server is fine for everyone else. A 503 means the server itself is unavailable — overloaded or in maintenance — for everyone.

Should I retry immediately after a 429?
No. Retrying immediately keeps you over the limit and can extend the block. Wait for the Retry-After time, or back off exponentially — 1, 2, 4 seconds and so on — with a small random delay added.

Conclusion

A 429 is the politest error on the web: the server is fine, it knows exactly who’s sending too much, and it often tells you how long to wait. The right response is always to slow down — wait out Retry-After, back off exponentially, and stop refreshing.

On your own site, rate limiting is now part of basic hygiene, because scrapers and AI crawlers can send more traffic than your visitors do. Find who’s hitting you before setting limits, return a real 429 instead of Nginx’s default 503, and leave room for bursts so a normal page load never trips the rule.

And protect the one crawler you can’t afford to lose. Verify Googlebot by reverse DNS, keep it out of your limits, and a 429 will only ever stop the traffic you meant it to.

Share the Post:
Picture of Gustavo Gallas

Gustavo Gallas

Graduated in Computing at PUC-Rio, Brazil. Specialized in IT, networking, systems administration and human and organizational development​. Also have brewing skills.