A site can tell a collector to slow down in several ways: a header on a response, a line in robots.txt, a number in its API documentation. Some of these are standards with precise semantics. Some are conventions that one crawler honors and another ignores. Knowing which is which is the difference between a rate policy and a guess.
Key takeaways
Retry-Afteris standardized in RFC 9110: a number of seconds or an HTTP date. Treat it as a minimum wait.Crawl-delayis not part of RFC 9309. Google says it does not support it; Bing has documented that it does.- The
RateLimitandRateLimit-Policyheaders are still an IETF draft as of May 2026. - No signal, honored or not, amounts to permission. Politeness governs how you collect, not whether you may.
- A good default: honor every signal you find, standard or not, and back off faster than you speed up.
The signals, and where each one comes from
Where politeness signals live, and who defines them
Eight signals a collector may meet, by location and by source of authority
Retry-After
RFC 9110, section 10.2.3 defines Retry-After as either an HTTP date or a non-negative number of seconds. It appears with 503 responses and redirects, and RFC 6585 allows it on 429. It is the most precise politeness signal there is: the server names the wait. Two details trip up implementations. Dates are in GMT and must be compared against a synchronized clock, and a malformed value should fall back to your own backoff rather than to an immediate retry.
429 and 503
A 429 is about you: the client sent too many requests in a given time. A 503 is about the server: it is temporarily unable to handle requests. Both mean “wait”, but a 429 also means “lower your rate for this domain”, because the problem will return as soon as you resume at the old pace.
Crawl-delay
Crawl-delay is a robots.txt line that many sites use and no standard defines. RFC 9309 (September 2022) specifies user-agent groups, Allow and Disallow, and leaves other records to individual crawlers. Google’s robots.txt documentation lists the fields it supports, and crawl-delay is explicitly not one of them. Bing’s webmaster blog said in May 2012 that BingBot honors it, and described it as a time window of 1 to 30 seconds in which BingBot crawls the site only once.
So the same line means a fixed pause to one search engine and nothing to another. For a data collector the decision is easier: if a site took the trouble to publish a delay, honor it.
RateLimit and RateLimit-Policy
The IETF HTTPAPI working group’s RateLimit header fields draft (version 11, May 2026) defines RateLimit-Policy, which advertises a quota and window, and RateLimit, which reports the quota remaining. It is still a draft, and you will see older vendor variants such as X-RateLimit-Remaining in the wild. Where these headers appear, they are useful: they tell you how close you are to a limit before you hit it.
Published limits
APIs and open data services often publish limits in their documentation. Open Food Facts, for example, documents 15 requests per minute per IP for product reads and 10 for searches, asks for a custom User-Agent with contact details, and points bulk users to its data exports. A documented limit is the clearest signal of all, because it comes with the reason and the alternative.
What the signals do not mean
RFC 9309 states plainly that robots.txt rules “are not a form of access authorization”. The same goes for every signal in this article. Honoring Crawl-delay does not make collection from a site permitted, and a missing Retry-After does not mean you may retry immediately. Politeness signals govern the pace of access you otherwise have reason to make. Whether to collect at all is a separate question about terms, data type and purpose.
Turning signals into a rate policy
A per-domain rate policy combines the signals with your own defaults. The shape that works for us is additive increase, multiplicative decrease, the same idea TCP uses for congestion control: speed up a little while things are healthy, cut back hard at the first sign of trouble.
Slow down fast, speed up slowly
A simulated per-domain rate under an additive-increase, multiplicative-decrease policy
Data behind the chart
| Minute | Requests per minute |
|---|---|
| 0 | 20.0 |
| 3 | 23.0 |
| 6 | 26.0 |
| 9 | 0 |
| 12 | 15.5 |
| 15 | 18.5 |
| 18 | 21.5 |
| 21 | 0 |
| 24 | 14.2 |
| 27 | 17.2 |
| 30 | 20.2 |
| 33 | 23.2 |
- Start low. One connection per domain, with a conservative delay between requests. Raise it only if responses stay fast and clean.
- Apply published limits as hard caps. A documented limit or a
Crawl-delaysets the ceiling, whatever your defaults say. - On 429 or 503, pause and halve. Wait for the full
Retry-After(or your backoff if absent), then resume at half the previous rate. - Watch latency as well as errors. Rising response times are an earlier signal than errors. Slow down when they climb.
- Prefer quiet hours. For a retailer’s local market, overnight runs compete with fewer shoppers.
Reading Crawl-delay in Python
Python’s standard library urllib.robotparser already understands Crawl-delay and the similar Request-rate line, so honoring them takes a few lines.
from urllib.robotparser import RobotFileParser
AGENT = "ExampleCollector" # the product token your crawler announces
DEFAULT_DELAY = 5.0 # seconds; our floor when the site says nothing
def domain_delay(robots_url):
rp = RobotFileParser(robots_url)
rp.read()
delay = rp.crawl_delay(AGENT)
rate = rp.request_rate(AGENT) # e.g. "Request-rate: 1/10"
candidates = [DEFAULT_DELAY]
if delay:
candidates.append(float(delay))
if rate:
candidates.append(rate.seconds / rate.requests)
return max(candidates) # the most conservative wins Note that RobotFileParser predates RFC 9309, so check its matching behavior against the standard if you rely on it for Allow and Disallow as well.
A reference table
| Signal | Syntax | Authority | What we do |
|---|---|---|---|
Retry-After | Seconds or HTTP date | RFC 9110 | Wait at least that long; malformed means use backoff |
| 429 | Status code | RFC 6585 | Pause, then halve the domain rate |
| 503 | Status code | RFC 9110 | Pause; halve the rate if repeated |
Crawl-delay | Seconds, in a robots.txt group | None; crawler-specific | Treat as minimum gap between requests |
Request-rate | Requests/seconds | None; rare | Treat as a cap |
RateLimit, RateLimit-Policy | Structured header fields | IETF draft | Slow down before remaining quota hits zero |
| Documented API limits | Prose in docs | Site terms | Hard cap; use bulk exports where offered |
Authority column reflects the documents linked above as of October 2026. “What we do” is JsonEngine’s policy.
If a domain keeps answering with 429s even at a slow, steady rate, the site is telling you something stronger than “slow down”. That is the point to stop and look for an official API or feed. We cover that decision in web scraping vs official APIs.
Quick answers
Does Google support Crawl-delay?
No. Google’s robots.txt documentation lists the fields it supports, and crawl-delay is not one of them. Bing has documented that BingBot honors it.
Is Crawl-delay part of the robots.txt standard?
No. RFC 9309 defines user-agent groups, Allow and Disallow. Crawl-delay is a widely used extension that individual crawlers may or may not honor.
What format does Retry-After use?
Either a number of seconds or an HTTP date, as defined in RFC 9110 section 10.2.3. Collectors should parse both and treat the value as a minimum wait.
Are the RateLimit headers a standard?
Not yet. RateLimit and RateLimit-Policy are defined in an IETF HTTPAPI working group draft, version 11 as of May 2026.
If I honor Crawl-delay, am I allowed to scrape the site?
Not necessarily. Politeness signals control pace, not permission. RFC 9309 states that robots.txt rules are not a form of access authorization.
Collection that respects the site’s pace
Our collectors run per-domain rate policies that honor published limits and back off on the first warning. See our services or talk to us.
