Glossary
Bot detection: the layers behind the verdict
Bot detection is the set of checks a website runs to judge whether a request comes from a person in a browser or from a program acting on its own.
What bot detection means
Bot detection is a scoring process, not a single test. A site collects small facts about each visitor, weighs them, and ends up with an estimate of how likely the traffic is automated. That estimate then drives a decision: serve the page, ask for proof, slow the client down or refuse it.
No one signal settles the question. A real person can sit behind a datacenter VPN, and a careful script can send perfect headers. Detection systems therefore look for agreement between layers, and a mismatch anywhere tends to weigh more than any single odd value.
The network layer
The first facts arrive before any HTML is sent. The connecting address is checked against IP reputation lists, its autonomous system tells the site whether it belongs to a home ISP, a mobile carrier or a hosting company, and the request rate from that address is counted. A burst of hits from one cloud range is a strong hint on its own.
The protocol layer
Next comes the shape of the connection. The TLS ClientHello lists ciphers and extensions in an order that differs between Chrome, Firefox, curl and common HTTP libraries, which is what TLS fingerprinting reads. HTTP/2 settings and the order of headers add a second, independent clue. If the User-Agent header claims Chrome while the handshake looks like a Python library, the claim loses credibility at once.
The browser layer
Once the page loads, scripts probe the environment. They read properties such as navigator.webdriver, draw to a hidden canvas, query the GPU through WebGL, count fonts and measure timing. These results become a browser fingerprint, and the script also watches mouse movement, scrolling and typing rhythm for patterns that feel mechanical.
How the layers are combined
- Rules catch clear cases, such as a known bad address or a missing header every browser sends.
- Models weigh dozens of soft signals and output a risk score.
- History ties a session or device to past behavior, so a clean visitor builds trust over time.
Where a CAPTCHA fits
A CAPTCHA is the middle option between allowing and blocking. When the score is uncertain, the site hands the visitor a challenge such as reCAPTCHA v2 or Cloudflare Turnstile, and a pass lets the request continue. Many widgets also run their own detection inside the challenge, so the same signals matter twice.
For legitimate automation (price checks, QA runs on your own staging site, accessibility tooling) the practical approach is to keep every layer consistent and to answer the challenge when it appears. A GateSolver task returns the token or cookie the page expects; you pay only when a task is solved, and a failed attempt costs nothing.
Detection also differs by surface. A plain HTTP client can only be judged on the network and protocol layers, so it tends to be flagged early but cheaply. A full browser exposes far more, which helps it look ordinary when configured well and hurts it when a single property gives the automation away.
Reducing how often you are flagged
Consistency beats disguise. Send requests at a human pace, keep cookies between pages, pair the User-Agent with a matching TLS stack, and avoid switching addresses in the middle of a session. When a check still triggers, the guide to why sites think you are a bot walks through the usual causes one at a time.
Common questions
Is bot detection the same thing as a CAPTCHA?
No. Detection is the scoring that runs on every request; a CAPTCHA is one of the responses a site can choose when that score is unclear.
Can a site detect a bot without running JavaScript?
Yes. IP data, request rate, header order and the TLS handshake are all visible on the server before any script executes.
Why does my script pass on one site and fail on another?
Each site tunes its own thresholds and may use a different vendor, so a setup that looks normal to one can cross a line at another.
Does solving the CAPTCHA fix a poor detection score?
It lets the current request through, but if the underlying signals stay inconsistent the site may keep challenging or start blocking.
What kinds of automation are fine to run past these checks?
Public data collection, monitoring, testing your own sites, RPA and accessibility work are accepted uses; fraud and account abuse are not.
Keep reading
- Browser fingerprintingScreen size, fonts, GPU, language and dozens more attributes hashed together into an identifier that survives cleared cookies.
- TLS fingerprintingThe ClientHello message reveals which library opened the connection, which is why Python requests never looks like Chrome.
- Why a site thinks you are a botThe network, browser and behavior signals that make a site label traffic as automated, and the honest fix for each one.
- Bot managementCommercial platforms that score every request at the edge and choose between allow, challenge, throttle or block.