How Websites Detect Web Scrapers: Fingerprinting, TLS and Behavioural Signals Explained for Data Teams
Your scraper ran for months. Then, with no change on your side, it starts returning errors, CAPTCHA pages or, worse, pages that load normally but carry the wrong prices. Nothing in your code broke. The site started recognising it. Knowing how websites detect web scrapers explains all three symptoms, and tells you what reliable collection really costs. This guide looks at each check from the website's side of the connection.

Last updated 18 December 2026.
Why websites detect web scrapers in the first place
Websites detect web scrapers because most automated traffic is not harmless, and from the server's side it all looks alike at first. Imperva's 2025 Bad Bot Report found that automated traffic made up 51% of all web traffic in 2024, with malicious bots alone at 37%. Those bots test stolen passwords, hoard limited stock and overload servers.
A price-monitoring crawler does none of that, but it arrives the same way: many requests, no person behind them. So a site's defences are built to spot automation in general. A data team collecting public prices gets caught in a net designed for someone else, which is why it helps to know how the net works.
Sites face a trade-off of their own. Block too little and bots get through. Block too much and real customers are turned away at the door, which costs sales. That tension is why modern defences avoid a single hard rule and collect many small signals instead, each of which can be wrong on its own.
How websites detect web scrapers: four checks in the first second
How websites detect web scrapers comes down to four checks, made in order, most of them before a single product appears on screen. Each looks at a different layer of the visit, and each is harder to pass than the one before.
One visit, four checks
What is judged, and when. The order is typical; timings are approximate.
Where is this coming from? The IP address, who owns it, and how busy it has been.
Decided: before any data is exchangedWhat kind of software is this? The way the client opens an encrypted connection and orders its headers.
Decided: before the page is sentIs this a real browser on a real device? A script in the page inspects the browser and reports back.
Decided: as the page rendersDoes this visitor act like a person? Movement, timing and the path taken through the site.
Decided: across the whole session1. Network: where the request comes from
Network checks happen first because they are the cheapest. Every IP address belongs to a network, and the site can see whether that network is a home broadband provider, a mobile carrier or a cloud hosting company. Real shoppers rarely browse from a data centre, so traffic from one starts with a mark against it.
The site also counts. A single address asking for 200 product pages a minute is not a person, and an address already seen misbehaving on other sites carries that history with it. This layer is why proxies exist, and why the type matters; our guide to proxies for web scraping covers the options.
2. TLS and HTTP: how the client introduces itself
TLS fingerprinting catches scrapers that pass the network check. Before any page is requested, the client and server agree how to encrypt the connection. In that opening message the client lists the encryption methods it supports, in a particular order. Chrome sends one list, Firefox another, and a Python or Node.js library a third. Reduced to a short code by methods such as JA3 and JA4, that list identifies the software.
The useful part, for the site, is the contradiction. A request can claim to be Chrome in its User-Agent header while its handshake matches a scripting library. The same goes for HTTP details such as the order of headers. No single value is damning. The mismatch is.
This check is popular with site owners for a simple reason: it costs them nothing. The handshake has to happen anyway, so reading it adds no delay for real visitors and needs no script in the page. A scraper can be turned away before the server has done any real work.
| Visitor AA PERSON, CHROME, AT HOME | Visitor BA SCRIPT, IN A DATA CENTRE | |
|---|---|---|
| NETWORK | Home broadband provider | Cloud hosting company |
| SAYS IT IS | Chrome on Windows | Chrome on Windows |
| TLS HANDSHAKE | Matches Chrome | Matches a scripting library |
| HEADER ORDER | As Chrome sends them | Library default |
| RUNS JAVASCRIPT | Yes | No |
| PAGES PER MINUTE | 3 | 240 |
| VERDICT | 92Likely human | 3Likely automated |
3. Browser fingerprinting: what the device looks like
Browser fingerprinting catches scraping tools that do run a real browser. A small script in the page asks the browser about itself: screen size, installed fonts, time zone, language, graphics hardware, and how it draws a hidden test image. Together these form a fingerprint that is hard to fake consistently.
Automated browsers give themselves away in two ways. Some announce it, through a flag that browsers set when software is driving them. Others are betrayed by inconsistency, the same idea as the TLS check, one layer up.
The consistency check
What the visitor claims, beside what the browser reveals when asked.
4. Behaviour: how the visitor acts
Behavioural signals are the last check and the hardest to satisfy, because they are judged over time. People move a mouse in curves, pause to read, scroll unevenly and wander. They arrive from a search result, look at three products and leave. A scraper visits 5,000 product pages in catalogue order, never scrolls, and spaces its requests two seconds apart to the millisecond.
Quieter signals count as well. A browser fetches a page's images, fonts and style sheets; many scripts fetch only the HTML. A browser keeps cookies from one page to the next and sends the address of the page it came from. A visitor who arrives with no history, asks for nothing but product pages and never loads a picture stands out, however polite the timing.
A personCurved movement, uneven timing
Pauses to read, clusters of quick clicks, long gaps.
A scriptStraight lines, a metronome
No movement between clicks, and identical gaps.
Behaviour is also where "it worked for the first fifty pages" comes from. The early requests pass every other check, and the pattern only becomes visible once there are enough of them.
Anti-bot detection is a score, not a switch
Anti-bot detection rarely gives a yes-or-no answer. The four checks feed a single score, and the site decides what to do at each level. Cloudflare, for example, rates every request from 1 to 99: 1 means it is quite certain the request was automated, 99 that it came from a person, with 2 to 29 grouped as "likely automated".
From score to response
The score groupings are Cloudflare's. What a site does at each level is its own choice.
The response to fear is the hidden one. A block is honest: your job fails and someone looks into it. A page that loads with a 200 status and quietly different prices passes every technical check and goes straight into your reports.
Cloudflare and web scraping: one network, many sites
Cloudflare web scraping problems feel different because the same service protects a very large number of sites. Its documentation describes matching requests against a growing database of known malicious fingerprints, alongside machine learning and in-page JavaScript checks. In practice, a tool recognised on one site is already known on the next. Other providers work on the same principle. It is also why a scraper can fail on a site it has never visited.
Bot detection techniques at a glance
Bot detection techniques leave different traces when they fire, and the symptom usually tells you which layer caught you. This table is the quickest way to diagnose a scraper that has stopped working.
| Technique | What it examines | What you see when it fires |
|---|---|---|
| IP reputation and rate limits | Network owner, request volume, history | Errors from the very first request, or "too many requests" after a burst |
| TLS and HTTP fingerprinting | Handshake and header patterns | Blocked instantly, with any IP address, while a normal browser works |
| Browser fingerprinting | Device and browser attributes, automation flags | A challenge page, or a blank page where content should be |
| Behavioural analysis | Movement, timing, navigation path | Works for a while, then fails mid-run |
| Altered content | Whatever the score says | Nothing. The page loads; the data is wrong |
What this means for your data team
Anti-bot detection changes the economics of collecting web data more than it changes the code. Three consequences matter to anyone who owns a data feed.
- Scrapers break without being touched. Detection rules are updated on the site's schedule, not yours. We covered the full list of causes in why web scrapers break.
- Each layer adds cost. A simple HTTP request is cheap. A full browser on a residential connection, behaving at human pace, costs many times more per page. Protected sites are priced accordingly, as our pricing guide explains.
- "It ran" is not "it worked". Because altered content returns a normal page, success has to be measured on the data. That means validation on every run, such as the six layers we describe here.
One question comes up often: search engines crawl every site, so why aren't they blocked? They identify themselves, and sites can confirm the claim. Cloudflare's scoring, for instance, keeps a separate category for verified bots such as search engine crawlers. Commercial data collection has no such pass, so it has to earn a normal score on every request.
The practical answer is monitoring that separates the failure types, so a rise in challenges on one source is seen the hour it starts.
Collecting data without making it an arms race
Detection exists to protect sites, and good collection respects that. Take only public pages, with no logins and no personal data. Keep request rates low enough that the site's performance is never affected, and run at quiet hours where you can. Use an official API or data feed when one is offered. Read the site's terms, and have counsel review anything uncertain; our overview of web scraping laws and ethics is a starting point. Slower collection is also cheaper and less likely to be flagged, which is one reason to choose the slowest frequency your decisions can live with.
Frequently asked questions
How do websites know a visitor is a bot?
They combine four kinds of signal: the network the request comes from, the way the software opens its encrypted connection, the browser and device fingerprint, and behaviour over time. No single signal decides it. The signals feed a score, and the site acts on the score.
What is TLS fingerprinting?
When a client opens a secure connection it lists the encryption options it supports, in a set order. Each browser and each programming library sends a different list, so the list identifies the software. Methods such as JA3 and JA4 turn it into a short code that can be compared with known browsers.
Why does my scraper get blocked even with proxies?
Proxies only change the network signal. If the TLS handshake, headers, browser fingerprint or behaviour still look automated, the request is flagged whatever address it comes from. Blocks that happen instantly on every IP usually point to the handshake or fingerprint.
Can websites detect headless browsers?
Often, yes. Automated browsers can expose a flag saying software is in control, and their fingerprints tend to be inconsistent: a claimed Windows laptop with no graphics card, server fonts and a UTC clock. In-page scripts are designed to notice exactly that.
How can you tell if a site is serving altered data to a scraper?
Only by checking the data. Compare a sample of collected values with the live page viewed normally, watch for sudden drops in fields such as price, and track how many records each run returns. A page that loads successfully proves nothing on its own.
The short version
Websites detect web scrapers through four checks: network, TLS and HTTP handshake, browser fingerprint, and behaviour. The checks combine into a score, and the site chooses a response, from allowing the visit to quietly serving different content. For a data team, that means three things. Scrapers fail on the site's schedule. Protected sources cost more to collect. And the only trustworthy measure of success is the data itself, checked on every run.
If you run collection in-house, start by adding monitoring that tells a block from a challenge from an altered page. If you'd rather not staff that work, hand it to a team that does it every day.
How DataDwip keeps collection running on protected sites
Protected-site collection at DataDwip is run as a managed service with named people and written targets, not a script someone checks when it fails.
- A team that owns the problem. A dedicated data acquisition team is three engineers, a QA lead and a delivery manager, so a change in a site's defences lands on someone's desk the same day.
- Blocks found fast and fixed by agreement. The SLA commits to detecting a breakage within 4 hours and fixing it within 24 business hours.
- Coverage you can hold us to. At least 97% of expected records per source on every run. The terms are explained in web data SLAs explained.
- Altered pages caught before delivery. Every run passes validation and arrives with a quality report, so a page that loaded without its prices never reaches your dashboard.
- A weekly source-health digest. You see a source starting to resist before it becomes a gap in your data.
- Public data, collected considerately. No logins, no personal data, and request rates set so the source site isn't affected.
One-off and smaller collections run through our web scraping services. If you want to see the data from a protected source before deciding, ask for a free sample.