Glossary
CAPTCHA
A challenge a website shows to tell human visitors from automated software before it serves a page or accepts a form.
A CAPTCHA is a challenge that a website presents to decide whether a visitor is a person or an automated program, usually before it serves a page, accepts a sign-up or processes a form. The name stands for Completely Automated Public Turing test to tell Computers and Humans Apart. Older CAPTCHAs asked you to type distorted letters. Most modern ones score your behaviour in the background and only show a puzzle when that score looks suspicious.
For anyone building scrapers, crawlers or AI agents that read the web, a CAPTCHA is the point where automated access stops. It is the most visible layer of anti-bot detection, and it is designed so that the cheapest response for a well-behaved automated client is to back off rather than try to defeat it.
How a CAPTCHA works
Every CAPTCHA follows the same pattern. The site asks a challenge service, run by a third party or in house, whether the current visitor is likely to be human. The service collects signals, makes a decision and returns a token to the browser. The site then verifies that token on its own server before letting the request through. If the token is missing, expired or fails verification, the page, form submission or API call is refused.
The signals vary by provider, but they fall into a few groups. Network signals include the IP address, its reputation and whether it belongs to a data centre or a home broadband range, which is why residential proxies come up so often in scraping discussions. Client signals include the user agent string, TLS and HTTP fingerprints, and whether the browser runs JavaScript the way a real one does. Behavioural signals include mouse movement, scrolling, typing rhythm and time spent on the page. Account signals, such as an existing sign-in cookie for the provider, can raise confidence that a real person is present.
Only when those signals leave the service unsure does it show a visible challenge. That is why a person on an ordinary laptop often sees nothing, while the same page loaded from a cloud server through a headless browser can get a puzzle on every request.
Types of CAPTCHA
CAPTCHAs have changed a great deal since the early 2000s, mostly because each generation was eventually solved by software. The table below summarises the main kinds still in use.
Type | What the visitor sees | What it checks | Weak points |
|---|---|---|---|
Text CAPTCHA | Distorted letters or numbers to type | Character recognition | Modern OCR and vision models read most of them |
Image selection | A grid of photos; pick the ones showing buses or traffic lights | Object recognition | Vision models can label the images; slow for people |
Audio CAPTCHA | Spoken digits or words over background noise | Speech recognition | Speech-to-text models; still needed for accessibility |
Checkbox with risk scoring | A single “I am not a robot” box | Behaviour and browser signals gathered before the click | Weak signals trigger a harder fallback puzzle |
Invisible or score-based | Nothing, unless the score is low | A background risk score for each action | False positives block real users |
Proof of work | A short pause while the browser computes something | Spends client CPU to make bulk requests expensive | Raises cost rather than proving a human is present |
Well-known services include Google reCAPTCHA, which has checkbox, image and score-based versions, hCaptcha, and Cloudflare Turnstile, which relies on background checks rather than puzzles. Many sites also run challenges inside a wider bot-management product, so a challenge can appear even when no CAPTCHA widget is visible in the page source. The distorted-text style is the one that gave the field its name, and it is the one that OCR systems retired first.
Why sites use CAPTCHAs
Sites use CAPTCHAs to protect actions that are cheap for a bot to repeat and expensive for the site to absorb. Typical targets are account sign-ups, logins (to slow credential stuffing), comment and contact forms (to cut spam), checkout and ticketing pages (to limit scalping and inventory hoarding), search and pricing pages (to discourage bulk web scraping), and free API tiers that scripts would otherwise drain.
From the site owner’s side, a CAPTCHA is a cost control. It sits alongside rate limiting, which caps how fast any one client can send requests, and the HTTP 429 response that tells a client it has gone over that cap. A CAPTCHA is the heavier tool because it interrupts a person’s flow, so most sites reserve it for traffic that already looks unusual: too many requests from one address, a browser fingerprint that matches known automation, or a session that skips straight to the expensive action.
CAPTCHAs, scrapers and AI agents
For automated clients, the practical meaning of a CAPTCHA is that the site has decided it does not want this traffic, at least not in this form. A web crawler that hits a challenge receives the challenge HTML instead of the content it wanted. If that HTML is passed on unchecked, it ends up in an index or a prompt, and an agent may summarise a page that says “Verify you are human” as if it were the article.
AI agents meet CAPTCHAs in two ways. Browser agents and computer use systems drive a real browser and can land on a challenge in the middle of a task, for example while filling in a booking form. Research and retrieval agents fetch pages through an API and see the challenge as an unexpected response. In both cases the reliable design is to detect the challenge, stop, and either hand control to a person or switch to a data source the site has sanctioned.
Detecting a challenge page
Challenge pages are usually easy to spot if you check for them. Common signs are an HTTP 403 or 503 status on a page that normally returns 200, a very short body that mostly loads a challenge script, a title such as “Just a moment” or “Attention required”, and the absence of the content you expected, such as an article body or a product price. A scraper that checks for expected content after HTML parsing, rather than trusting the status code alone, catches most cases. Logging these pages separately also tells you which sources are becoming unreliable before the gaps show up in answers.
Why solving them is a poor strategy
There is a market for CAPTCHA-solving services, some paying people per challenge and some using models, and automation frameworks can be wired to call them. For a production product this tends to be a losing position. Providers change their challenges and scoring regularly, solving adds latency and cost to every request, and bypassing a control the site deliberately put in place raises contractual and legal questions under its terms of service. Whether a particular case is lawful depends on the jurisdiction and the facts. The page on whether web scraping is legal covers the general picture, and your own legal team should make the call for your product.
Rotating IP addresses through residential networks, changing user agents and adding random delays can make challenges appear less often, and that is a large part of what proxy rotation is used for. These measures sit on the other side of the same arms race and carry the same caveats: they need constant maintenance, and they make your traffic harder for the site to distinguish from abuse.
Better options when you hit a CAPTCHA
Most teams that need web data at scale settle on a short list of approaches that avoid the challenge altogether.
Use an official API or feed. Many sites that challenge scrapers also publish an API, an RSS feed or a data export. It is more stable than parsing HTML and comes with clear terms. The trade-offs are covered in web scraping vs API. Some sites now also publish an llms.txt file that points AI tools to content they are happy to share, a trend discussed in should every website ship an llms.txt.
Respect robots.txt and rate limits. Crawlers that read robots.txt, identify themselves clearly and slow down when they receive 429 responses trigger fewer challenges, because they do not look like abuse. Exponential backoff is the standard way to slow down after an error.
Fetch public pages only. A login, a paywall or a challenge is a signal that the owner wants to control access. Restricting your agent to public content keeps you on the right side of that signal and keeps your data pipeline predictable.
Put a person in the loop. For agents acting on a user’s behalf, the cleanest answer is often to pause and ask the user to complete the step themselves, a standard human-in-the-loop pattern. The agent resumes once the person has passed the challenge in their own session.
Ask for access. For a business relationship, such as monitoring a supplier’s catalogue, a short email asking for an API key or an allowlisted IP address is often faster than any technical workaround, and it removes the risk of being blocked next month.
Where Exabase fits
Exabase does not solve CAPTCHAs, rotate proxies or imitate human browsing. It fetches public URLs that you or your agent submit and turns them into data an agent can use. Exabase Extract renders JavaScript before parsing, so content that loads dynamically is captured, and returns the page as text chunks or Markdown through the same POST /v2/extract endpoint used for PDFs, audio and video. The submitting jobs guide shows the request, and the website to Markdown and web scraper tools run on the same pipeline.
Pages behind a login or paywall stay out of reach. The Link Preview API returns the login page’s metadata or an error for those URLs, and Extract can only work with the page it is served. That makes it worth checking extracted text for challenge wording before it reaches a prompt or a knowledge base, using the detection signals above.
Once a page is extracted, store it as a Resource in a Base and it is indexed for Deep Search. A bookmark keeps the page title, description, a screenshot and a reader-mode version, so you can see later what the fetcher received. A Worker can re-fetch saved pages on a schedule, so a source that was briefly unavailable is refreshed on the next run rather than left stale. The file extraction solution describes the wider pattern, and the best web scraping API roundup compares Exabase with services that run hosted browsers, such as Browserbase, and crawling APIs such as Firecrawl.
For agents that read the web as part of their work, the research agents use case shows how fetched pages, memory and search fit together. Exabase is the substrate for storing and searching what you are allowed to fetch. Decisions about which sites to access, and on what terms, stay with your team.
Accessibility and CAPTCHAs
Visual challenges are hard for people with low vision, and audio fallbacks are hard for people with hearing loss or anyone in a noisy place. Accessibility guidance has long recommended offering alternatives and avoiding CAPTCHAs where another control will do. This is one reason providers have moved towards invisible scoring, and why many sites now prefer rate limits, email verification or passkeys for low-risk actions.
Related concepts
A CAPTCHA is one control among several. Browser automation and screen scraping describe the techniques that most often trigger challenges. Dynamic content and JavaScript rendering explain why scrapers run full browsers in the first place, which in turn makes them easier to fingerprint. On the output side, LLM-ready data describes the clean, structured text that makes fetching worthwhile, and HTML to Markdown covers the conversion step.
Frequently asked questions
What does CAPTCHA stand for?
CAPTCHA stands for Completely Automated Public Turing test to tell Computers and Humans Apart. The term was coined in the early 2000s by researchers at Carnegie Mellon University.
Can AI solve CAPTCHAs?
Yes, many of them. Vision and speech models can read distorted text, label images and transcribe audio challenges with high accuracy, which is why providers now rely mostly on background risk scoring. Passing the puzzle is often not enough, because the score attached to the browser and network still decides the outcome.
Why do I keep getting CAPTCHAs?
Frequent CAPTCHAs usually mean the site’s risk score for your connection is low. Common causes are a VPN or shared IP address with a poor reputation, blocked cookies, privacy extensions that change your browser fingerprint, or automated traffic coming from the same network.
Is it legal to bypass a CAPTCHA?
It depends on the jurisdiction, the site’s terms and what you do with the data. Bypassing a control a site deliberately put in place carries more risk than reading a public page. This page is general information, not legal advice; route the decision to your own legal team.
How should an AI agent handle a CAPTCHA?
An AI agent should detect the challenge, stop, and either ask the user to complete it or switch to an official API or feed. Agents should also check fetched content for challenge text so it never gets summarised or stored as if it were the real page.
Does Exabase solve CAPTCHAs?
No. Exabase fetches public pages you submit, renders JavaScript and returns structured content through Extract. It does not solve challenges, rotate proxies or bypass access controls.
What is the difference between a CAPTCHA and rate limiting?
Rate limiting caps how many requests a client can make in a period and usually answers with HTTP 429 when the cap is exceeded. A CAPTCHA asks the visitor to prove they are human before continuing. Sites often use rate limits first and CAPTCHAs for traffic that still looks automated.
Related pages: Anti-bot detection, Residential proxies, Proxy rotation, Headless browser, Browser automation, Is web scraping legal?, Exabase Extract, File extraction, Best web scraping API