Glossary
Anti-bot detection
Anti-bot detection is the set of techniques websites use to tell automated traffic from human visitors and decide whether to allow, slow, challenge or block it.
Anti-bot detection is the combination of techniques a website uses to work out whether a request comes from a person using a browser or from automated software, and what to do about it. Most sites receive a large share of automated traffic, some of it welcome (search engines, uptime monitors, partners’ integrations) and some not (credential stuffing, inventory hoarding, aggressive web scraping). Detection systems score each request or session using network, protocol, browser and behavioural signals, then allow it, slow it with rate limiting, challenge it with a CAPTCHA or JavaScript test, or block it. For anyone running a crawler or building AI agents that browse, understanding these systems explains why requests fail and what acceptable automated access looks like.
Why sites run bot detection
The reasons are mostly practical. Automated login attempts using leaked passwords target account systems. Bots buy limited stock, such as concert tickets and trainers, faster than people can. Fake sign-ups, spam and click fraud cost money directly. Heavy scraping consumes bandwidth and server capacity and can copy content or prices that a business considers its own. And unidentified crawlers make analytics unreliable. Bot management products from CDNs and security vendors bundle detection and response so that site owners can set policy, such as allowing search engines, blocking known abusive networks and challenging everything uncertain, without building it themselves.
Detection is also how sites enforce choices they express elsewhere. robots.txt asks crawlers to stay out of certain paths, but it is voluntary. Bot detection is the mechanism that applies consequences to clients that ignore it.
The signals detection systems use
No single signal is decisive. Systems combine many weak signals into a score, and the most effective ones look for inconsistency between what a client claims and how it behaves.
Layer | Example signals | What it catches |
|---|---|---|
Network | IP reputation, datacenter or residential range, ASN, request volume per IP | Traffic from hosting providers and known abusive networks |
Protocol | TLS handshake fingerprint, HTTP/2 settings, header order and casing | HTTP libraries pretending to be browsers |
Identity claims | User-Agent string, client hints, verified bot lists | Clients whose stated browser does not match their protocol behaviour |
Browser environment | JavaScript APIs, automation flags, rendering and font characteristics | Headless browsers and automation frameworks |
Behaviour | Navigation paths, timing, mouse and touch events, session continuity | Scripts that move through a site faster or more regularly than people |
Challenges | JavaScript proof-of-work, CAPTCHA, interactive tests | Clients that cannot or will not run the challenge |
At the network layer, IP addresses from cloud providers are treated with more suspicion than consumer addresses, because few people browse from a data centre. This is why scrapers turn to proxy rotation and residential proxies, and why detection systems moved on to other layers.
At the protocol layer, every HTTP client negotiates TLS and HTTP/2 slightly differently. A request that claims to be Chrome in its user agent but negotiates TLS like a Python library is easy to flag. Fingerprint formats such as JA3 and its successors summarise these handshakes so they can be compared against known clients.
In the browser, detection scripts check whether JavaScript runs at all, whether automation markers are present, and whether the environment looks like a real device: screen size, fonts, graphics rendering, time zone and language settings. A default headless browser leaves several such markers, and browser automation frameworks have historically been identifiable unless configured otherwise.
Behaviour fills in the rest. People pause, scroll unevenly, move a pointer before clicking and rarely request 500 product pages in alphabetical order. Systems learn what normal sessions look like on each site and score deviations.
What happens after detection
The response is usually graduated. Low-risk requests pass untouched. Medium-risk requests may be slowed, served cached content, or asked to complete a lightweight JavaScript challenge that a real browser solves invisibly. Higher-risk requests receive an interactive CAPTCHA or a block page, often with a 403 status, or an HTTP 429 when the issue is volume. Some systems serve plausible but altered content to suspected scrapers rather than an obvious block, which matters for data quality: a scraper can silently collect wrong prices.
Known good bots are handled separately. Search engines and other major crawlers are verified by reverse DNS or published IP ranges and allowed through. Several CDNs maintain verified bot programmes, and proposals for bots to sign their requests cryptographically, so sites can confirm who sent them, are gaining support. In 2025 some CDN providers also began blocking known AI crawlers by default for new sites, letting owners opt in, which shifted the default for a large part of the web.
What it means for crawlers and AI agents
For a legitimate crawler, the practical lesson is that identification and restraint work better than disguise. A crawler that sends a truthful user agent with a contact URL, reads robots.txt, keeps request rates low and backs off on errors is more likely to be allowed, verified or contacted than blocked. One that rotates IPs, forges browser fingerprints and solves CAPTCHAs through third-party services is engaged in circumvention, which is where terms of service and the law become relevant, as discussed in is web scraping legal. Where a site offers an API or data feed, it is often the better route; see web scraping vs API.
AI agents complicate the picture. A browser agent or computer use agent acting for a real user, with that user’s session, sits between a person and a bot. Sites are starting to distinguish agent traffic from both, and some want to allow it for specific tasks while blocking bulk collection. Clear agent identity, scoped agent permissions and respect for a site’s stated policy are becoming part of building agents responsibly. Agents that silently get blocked or served challenge pages also fail in ways that are hard to debug, so detection is a reliability issue as well as an ethical one.
A worked example
A research team runs an agent that reads public reports from 120 industry association websites each week. In the first month, about a fifth of fetches fail. Investigation shows three groups. Twelve sites serve a JavaScript challenge that the team’s plain HTTP client cannot run; these pages also build their content with JavaScript, so rendering them properly fixes both issues. Eight sites return 429 because the agent fetches all of a site’s reports in a burst; spacing requests to one every ten seconds per site resolves it. Five sites block all automated traffic regardless.
For the last group, the team writes to each association. Two add the team’s named crawler to an allow list, one points to an RSS feed, and two decline, so those sources are dropped and the gap is noted in the agent’s coverage report. The resulting pipeline is slower than a burst crawler but stable, and nothing in it depends on hiding what it is. The figures are illustrative.
Common misconceptions
Changing the user agent string does not get past modern detection on its own, because the string is one weak signal among many. Rotating IPs does not help if every request shares a fingerprint. Solving a CAPTCHA does not make a client trusted for long, because scores are recalculated across the session. And on the site owner’s side, a CAPTCHA wall in front of everything is not a strategy: it frustrates people, and determined operators pay services to solve challenges. The more durable approach for owners is layered scoring with clear rules for good bots, and for operators it is transparent access.
Advice for site owners
If you run a site, start by deciding what you want rather than switching on the strictest setting. List the automated clients you rely on, such as search engines, uptime monitors, partners and feed readers, and make sure they are verified or allow-listed before tightening anything. Publish a clear robots.txt, and if you are willing to share data, offer an API or feed with its own terms, which gives well-behaved operators a better route than scraping. Watch the false-positive rate as closely as the block rate: people on VPNs, corporate networks, older devices and assistive technology are the usual casualties of aggressive scoring, and a blocked customer costs more than a scraped page. Finally, log challenge and block decisions with enough detail to explain them, since partners and researchers will ask why their access stopped.
Where Exabase fits
Exabase is not a tool for getting past bot detection. It does not offer proxy pools, fingerprint management or CAPTCHA solving, and it fetches publicly accessible pages that you submit. Extract renders JavaScript before extraction, which handles sites whose content depends on client-side code, and returns title, site name and content as text chunks or Markdown. The Link Preview API returns a page’s metadata and image synchronously and offers an optional safe-content filter that blocks malware and adult URLs. Pages that require a login, or that refuse automated access, return the login page’s metadata or an error rather than their content.
Exabase also applies its own controls as an API provider: requests need an API key sent in a header, limits are set per developer as described in the rate limiting guide, and uploaded images and video are scanned for malware. For storing what an agent collects, Resources indexes pages for Deep Search, and a Worker can maintain an approved source list on a schedule, as in the browser agents use case. Which sites to collect and on what terms remain your team’s decision. For services built around unblocking, see Exabase vs ZenRows, Exabase vs Scrapfly, Exabase vs Browserbase and the best web scraping APIs.
Frequently asked questions
How do websites detect bots?
They combine IP reputation, TLS and HTTP fingerprints, browser environment checks, behaviour patterns and challenges into a risk score, and act on inconsistencies between what a client claims and how it behaves.
What is bot management?
Bot management is a product category, usually from CDNs and security vendors, that detects automated traffic and applies site-owner policy: allowing verified bots, challenging uncertain traffic and blocking abusive clients.
Can headless browsers be detected?
Yes, often. Default headless browser configurations expose automation markers and environment differences, and their behaviour tends to differ from a person’s.
Why am I getting a 403 or a challenge page when scraping?
The site’s bot detection has scored your client as automated. Check robots.txt and the site’s terms, identify your crawler with a named user agent, slow down, and ask the site for access or an API if you need the data.
Do anti-bot systems block search engines?
No, not verified ones. Major search crawlers are confirmed by reverse DNS or published IP ranges and allowed through, while clients merely claiming to be them are blocked.
Are AI agents treated as bots?
Increasingly they are treated as their own category. Some sites block AI crawlers, some allow user-initiated agent browsing, and verification schemes for agent traffic are still emerging.
Does Exabase bypass anti-bot protection?
No. Exabase fetches publicly accessible pages through Extract and link previews and does not offer proxies, fingerprint spoofing or CAPTCHA solving.
Related pages: CAPTCHA, Proxy rotation, User agent, Residential proxies, robots.txt, Headless browser, Browser agents, Web scraper tool, Best web scraping APIs, Screen scraping, Exabase vs Crawlbase