Prompt
Why is my crawler getting blocked after a few hundred requests?
Latest observation
Nov 22, 2026
OpenAI APIWeb search: off
A crawler getting blocked after a few hundred requests is usually a sign that the site is detecting automated behavior or rate abuse, even if your request rate seems “reasonable” to you.
Common reasons include:
- Rate limiting: too many requests per minute/hour from one IP or account
- Bot detection: repetitive patterns, missing browser-like headers, no JavaScript/cookies, or identical request timing
- IP reputation: datacenter/VPN/proxy IPs may be flagged more easily
- Session/cookie issues: not preserving cookies or auth tokens across requests
- Path/behavior patterns: crawling the same sections too quickly, hitting search/result pages, or following links in a suspicious pattern
- Concurrency spikes: bursts from parallel workers can trigger limits even if average rate is low
- HTTP errors interpreted as abuse: repeated 403s/429s/5xx retries can worsen blocking
- Anti-bot systems: WAFs like Cloudflare/Akamai may challenge or ban automated traffic
What to check:
-
Look at the exact status code
429: rate limit403: forbidden / bot block503with challenge pages: anti-bot/WAF302redirects to login/captcha/block pages
-
Inspect response headers/body
Retry-AfterX-RateLimit-*- challenge or captcha HTML
- messages like “Access denied,” “unusual traffic,” etc.
-
Reduce request pressure
- lower request rate
- add jitter/random delays
- reduce concurrency
- back off on failures
-
Make the crawler more polite
- keep cookies/session state
- use consistent, normal headers
- honor robots.txt and site terms
- avoid redundant requests
-
Check IP/proxy strategy
- don’t use obviously flagged proxies
- avoid rapid IP rotation patterns that look evasive
- prefer a stable IP if the site allows it
-
Add exponential backoff
- when you hit 429/403, pause longer instead of retrying immediately
If you want, I can help you debug it more concretely if you share:
- the HTTP status codes you see,
- a sample of response headers,
- your request rate/concurrency,
- and whether you’re using browsers, plain HTTP requests, or proxies.
Brands