Rate limiting is a rule that counts the requests coming from each visitor, such as each IP address, and slows or blocks any that ask too often in a set time. A server often answers with the status code 429 Too Many Requests. Done well, it stops floods and scrapers while people and wanted crawlers carry on. Done badly, it locks out customers and tells Google your site is overloaded.
What is rate limiting? #
It is a speed limit for requests. The site counts how many requests one visitor makes in a window of time, and acts when the count goes over a set number. MDN says the 429 status means the client has sent too many requests in a given amount of time, and that asking the client to slow down is commonly called rate limiting. The code was defined in RFC 6585, published in April 2012. See HTTP status code.
How does it work? #
Every rule has the same parts. The Cloudflare rate limiting docs name them: an expression that says which traffic to match, the characteristics that say who is counted (such as the IP address), the period in seconds, the number of requests allowed per period, the action, and how long the block lasts. RFC 6585 leaves the details to you: it does not define how the server identifies the user, nor how it counts requests. It also says 429 responses must not be stored by a cache.
Why does it matter for search? #
Rate limiting protects a small site from scrapers, login floods and badly built bots that can slow pages for everyone. But set too tight, it can block real search crawlers. Google says its crawlers treat a 429 as a sign the server is overloaded and temporarily slow down. If the errors go on, URLs already in the index can eventually be dropped. So a limit should stop abuse without starving Googlebot or the AI search crawlers you want. See crawl budget.
Why does it matter for AI answers? #
AI answer engines read pages through their own bots. Some crawl ahead of time, such as OAI-SearchBot for ChatGPT search. Others fetch one page when a person asks, such as ChatGPT-User; see live fetcher. A live fetch that gets a 429 leaves the answer to be built from other sites. Training crawlers such as GPTBot and ClaudeBot read for model training, not for a live answer, so a limit on them costs less. Decide which AI crawlers you want, then limit the rest.
Worked example #
MDN shows what a rate-limited reply can look like when a client has sent too many requests in a minute:
HTTP/1.1 429 Too Many Requests
Content-Type: text/html
Retry-After: 3600
<html lang="en-US">
<head>
<title>Too Many Requests</title>
</head>
<body>
<h1>Too Many Requests</h1>
<p>You're doing that too often! Try again later.</p>
</body>
</html>
Retry-After: 3600 means try again in 3,600 seconds, which is 60 minutes. For a bakery’s order form, an hour’s lock-out after a burst of fake orders is sensible. For the whole site it is not: a crawler that trips the same limit is told the server is overloaded and backs off, and real customers behind one shared office or mobile network address can be locked out together.
One limit or many? #
Set limits by path, not one for the whole site. A sketch for the same bakery:
| Path | Who is hammering it | A sensible rule |
|---|---|---|
| Login and order form | Floods of fake orders | Tight limit per address; long block |
| Site search | Scrapers trying every word | Medium limit; short block |
| Product and guide pages | People, Googlebot, AI search bots | Loose limit, or none for checked crawlers |
| Pictures, scripts, styles | Every browser, on every page | Leave out of the count |
The numbers depend on your traffic. Start loose, watch who gets limited, then tighten.
What does Retry-After tell a bot? #
MDN says Retry-After tells the client how long to wait, either as a number of seconds or as a date. It is used with 429, with 503 Service Unavailable, and with some redirects. MDN notes support is still inconsistent, but some crawlers, like Googlebot, honour it. It suggests sending it with a 503 during planned downtime, so search engines keep indexing your site when the downtime is over.
Can I just slow Googlebot down? #
Only for a short time. Google’s crawl rate guide says to return a 500, 503 or 429 instead of 200, and not for longer than 1-2 days. If Googlebot sees these codes on the same URL for multiple days, the URL may be dropped from Google’s index. Google says not to use 401 or 403 to limit crawling; other 4xx codes, except 429, have no effect on crawl rate. The robots.txt spec says Google does not support crawl-delay. Anthropic says it does support Crawl-delay for its bots.
What if robots.txt gets limited? #
That is worse. Search Console’s Crawl stats help counts a 429 or 5xx on robots.txt as an unsuccessful fetch, and says that if robots.txt stays unavailable for a day, Google halts crawling until it gets a valid answer. The robots.txt spec says that for a 5xx, Google stops crawling the site for the first 12 hours while it keeps trying. Never put robots.txt behind a limit.
Common mistakes #
- One limit for the whole site, when only the login or form is being hammered.
- Counting every request, so a single page with many pictures and scripts uses up a visitor’s allowance.
- Never checking who was limited, so a blocked crawler goes unnoticed for weeks.
- Rate limiting verified bots. Cloudflare’s docs warn that applying rate limiting rules to verified bots might affect SEO.
- Trusting a bot’s name alone. Anyone can send “Googlebot” as their user agent, so check the address before you exempt it.
- Using a
403to slow Google down. Google says 4xx codes other than429do not change crawl rate. - Leaving an emergency limit on for weeks. See Under Attack Mode and Cloudflare blocking Googlebot.
How to check it #
- In Search Console, open Settings, then Crawl stats, and look for a rise in server errors or
429responses. Check Host status for robots.txt fetch problems. - If you use Cloudflare, open Security, then the WAF, and review your rate limiting rules: what they match, the request count, the period and the action. See web application firewall, bot score and Super Bot Fight Mode.
- Check your server logs for
429answers sent to known crawlers. The in-browser AI Crawler Log Analyser is live. Write a pattern to find bot names with the regex tester. - A
429may carry aRetry-Afterheader saying how long to wait. Our HTTP Header Checker shows the status code and headers a page returns. - Before exempting a bot, check its address with Verify an AI Bot. Google publishes its crawler IP lists and supports a reverse DNS check; OpenAI publishes lists for each of its bots. Work out a network block with the subnet calculator.
- Check that robots.txt answers
200and says what you mean with the Robots.txt Checker. See which AI bots it lets in with the AI Bot Checker. - Check a page’s overall readiness for AI with the AI Readiness Checker, and set your site beside a rival’s with Compare Two Websites.
- Find filter links that make endless pages and attract bots. The Crawl Trap Checker and the Edge Cache Checker are live. Pages served from the edge cache cost your origin server little.
- To see who is limited over time, the log file analyser, bot cost, scraper and flood detector, bot rules manager and fake bot detector are in URSY Pro, opening in stages.
What URSY.com counts #
Our methodology counts every request from two places: the CDN’s edge log, cache hits included, and the website itself. Status codes, 429 included, are observed, so you can see which bots were limited and how often. Each named bot is checked against its company’s published IP list and marked real, fake or unknown. A machine’s run of requests from one network block is one visit, ending after 30 minutes of quiet.
Questions #
Is rate limiting the same as blocking? #
No. Blocking refuses a visitor every time. Rate limiting only acts when a visitor asks too often, then lets it back in.
Will a 429 hurt my rankings? #
A short burst slows Google’s crawling. Google says URLs that keep returning server errors are removed from the index, so do not let it run for days.
Does rate limiting stop a DDoS attack? #
It helps against floods from a few addresses. A large DDoS attack from many addresses needs more, usually at the CDN.
Should I rate limit AI crawlers? #
Limit the ones you do not want, or block them. For the AI search bots that send you visitors, a loose limit is safer. Read will AI crawlers slow my website?
Is a CAPTCHA a better choice? #
A CAPTCHA or a managed challenge asks a visitor to prove they are human. Use it on forms. Crawlers cannot pass one, so keep it off pages you want indexed.
Related words #
- Web application firewall (WAF)
- DDoS attack
- Crawl budget
- HTTP status code
- Verified bots
- Search crawler
- AI crawler
- Server logs
- Cloudflare Bot Fight Mode
Sources #
- MDN: 429 Too Many Requests (last modified 22 June 2026), checked 24 November 2026
- IETF RFC 6585: Additional HTTP Status Codes, section 4 (April 2012), checked 24 November 2026
- MDN: Retry-After header, checked 24 November 2026
- Google: How HTTP status codes affect Google’s crawlers, checked 24 November 2026
- Google: Reduce the Google crawl rate, checked 24 November 2026
- Google: How Google interprets the robots.txt specification, checked 24 November 2026
- Search Console Help: Crawl Stats report, checked 24 November 2026
- Google Search Central: Verifying Googlebot and other Google crawlers, checked 24 November 2026
- OpenAI: Overview of OpenAI crawlers, checked 24 November 2026
- Anthropic Help Center: Does Anthropic crawl data from the web?, checked 24 November 2026
- Cloudflare Docs: Rate limiting rules, checked 24 November 2026
Updated 24 November 2026 by URSY.com.
Cite this page: Rate limiting. URSY. Updated 26 November 2026. https://ursy.com/wiki/rate-limiting/ · Section links
Tools for this
- LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
- LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
- LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
- LiveSchema Markup CheckerRun the check →