The Future of Web Scraping: How Cloudflare Is Rebuilding the Web for AI
01 December 2026
Imagine an AI agent visiting a website to collect information. Instead of a web page, it receives HTTP 402 Payment Required – a request to pay for access. On another website, it doesn't need to parse HTML because the server delivers Markdown directly. On a third, it can simply query the website's own search index.
This isn't some distant vision of the future. Cloudflare has already introduced all three mechanisms, with the latest, Search for Agents, announced on November 25, 2026.
The web, designed primarily for humans for decades, is beginning to develop dedicated interfaces and rules for machines. Let's explore why this is happening, whether web scraping is becoming a paid service, and what the data collection industry can expect in 2027.
Why the Economics of the Web Are Changing
Not long ago, if you were looking for the best laptop for programming, you would open Google, visit several review websites, compare specifications, and read user comments. Today, you can ask ChatGPT, Gemini, or Perplexity the same question and receive a ready-made shortlist.
Someone still has to test those laptops, update their specifications, and publish reviews. The difference is that the reader may never visit any of the original sources.
In July 2025, Pew Research Center published an analysis of 68,879 unique Google searches based on the browsing behavior of 900 US adults. The findings illustrate how user behavior changes when an AI Overview appears in search results.
How Often Users Clicked on Links in Google Search
Traditional search results without an AI Overview – 15%
Traditional search results with an AI Overview – 8%
Links within the AI Overview itself – 1%
Source: Pew Research Center. Data collected in March 2025; research published on July 22, 2025. Percentages refer to the corresponding groups of search result page visits.
This doesn't mean that every website has lost half its organic traffic. The study is observational, and searches that trigger AI Overviews may differ from those that don't.
Nevertheless, publishers face a very real problem: their content is still valuable, but visiting the original website is becoming optional.
38,000 Crawler Requests per Referral: What Cloudflare's Data Reveals
Cloudflare tracks a metric called the Crawl-to-Refer Ratio. It measures the number of HTML requests made by a platform's crawlers relative to HTML requests resulting from referrals from that platform.
In its January–July 2025 report, Cloudflare presented the following figures for July:
| Platform | Crawler Requests per Referral |
|---|---|
| Anthropic | 38,066 |
| OpenAI | 1,091 |
| Perplexity | 195 |
These are historical, aggregated figures from Cloudflare's network, not current measurements or statistics for an individual website. Training crawlers and search crawlers also serve different purposes, so comparing them as equivalent sources of referral traffic would be misleading.
Still, one question remains: who pays for creating information when users consume it through someone else's commercial product?
Cloudflare has proposed several answers.
From HTTP 403 to HTTP 402: How Paid Data Access Works
Anyone who has built a web scraper is probably familiar with these HTTP status codes:
- 403 Forbidden – the server refuses to grant access to the requested resource.
- 429 Too Many Requests – the client has exceeded the applicable request rate limit.
But there's another interesting status code that has spent decades without a standardized, widely adopted use case: 402 Payment Required.
In RFC 9110, published in 2022, it was still reserved for future use.
Now it's finding a practical application.
Pay Per Crawl: Charging for Content Access
On July 1, 2025, Cloudflare introduced Pay Per Crawl, a system that allows website owners to permit, block, or monetize access by participating AI crawlers.
Three Possible Access Policies
The crawler can access content free of charge.
Access is granted subject to the applicable payment terms.
The crawler is denied access to the content.
If an automated client requests a paid resource without agreeing to the payment terms, Cloudflare can return an HTTP 402 response containing a crawler-price header.
HTTP/1.1 402 Payment Required
crawler-price: …
A client that supports the payment protocol can accept the price and retrieve the content. This doesn't mean ordinary visitors have to pay for every page simply because a website uses Cloudflare.
How Much Could Paid Web Scraping Cost?
Suppose a website owner sets a hypothetical price of $0.001 per paid request.
| Number of Paid Requests | Access Cost |
|---|---|
| 1,000 | $1 |
| 10,000 | $10 |
| 100,000 | $100 |
| 1,000,000 | $1,000 |
| 10,000,000 | $10,000 |
For a small project, these expenses might be negligible. For a data aggregator that refreshes millions of records every day, they could significantly change the economics of data collection.
💡 Important
These figures are illustrative, not official Cloudflare pricing. Additional infrastructure, retry, and data processing costs are not included. According to the official documentation, Pay Per Crawl remains in private beta as of November 30, 2026.
Pay Per Use: Charging for Usage, Not Just Access
On September 30, 2026, Cloudflare introduced Pay Per Use. Under this model, a buyer proposes a price for a specific use of the content, and the publisher decides whether to accept the offer.
Imagine an AI service that retrieves 10,000 automotive reviews but ultimately uses only 100 of them when generating responses for users.
What's the Key Difference?
Pay Per Crawl
The billable event is the retrieval of content.
Pay Per Use
The billable event is an agreed use of the content, such as citing a review in an AI-generated recommendation.
The specific terms are negotiated by program participants. Buyers report their own content usage, while Cloudflare facilitates payments.
This is not a universal mechanism for monitoring what happens inside third-party AI models. The program is still in beta.
Both models point toward an interesting shift in the market: from monetizing human attention to monetizing the machine consumption of information.
Not All AI Bots Are the Same: Why Crawler Classification Matters
One common mistake in discussions about web scraping protection is treating all AI bots as a single category.
In practice, different crawlers perform very different jobs.
| Crawler | Primary Purpose |
|---|---|
| Googlebot | Google Search indexing |
| GPTBot | Collecting content that may be used to train OpenAI models |
| OAI-SearchBot | Discovering websites for ChatGPT's search features |
| ChatGPT-User | Certain actions initiated by ChatGPT users |
| ClaudeBot | Collecting data for training Anthropic models |
| Claude-SearchBot | Supporting Claude's search functionality |
Suppose a company wants its articles to appear in ChatGPT Search but doesn't want to make its content available for training future AI models.
According to OpenAI's official documentation, website owners can configure separate rules for GPTBot and OAI-SearchBot in their robots.txt file.
For example:
User-agent: GPTBot
Disallow: /
User-agent: OAI-SearchBot
Allow: /
This allows website owners to instruct GPTBot not to crawl their pages while keeping those pages discoverable by ChatGPT's search crawler.
📖 Quick Reference
robots.txt is a standardized way to communicate crawling rules to automated clients. Under RFC 9309, these rules are not a form of access authorization. They are also not a substitute for data licensing. For technical enforcement, Cloudflare offers AI Crawl Control and other network-level mechanisms.
Markdown for Agents: Why Make AI Process All That HTML?
Think of a typical recipe website. All you want is a list of ingredients and a set of cooking instructions.
A web scraper, however, may also retrieve navigation menus, advertising blocks, social media buttons, analytics scripts, and hundreds of HTML elements.
All of that needs to be filtered out before the relevant content is passed to a language model.
On February 12, 2026, Cloudflare introduced Markdown for Agents, a mechanism that converts HTML pages into Markdown at the network edge.
When the feature is enabled by the website owner, a client can request Markdown instead of HTML using the following HTTP header:
Accept: text/markdown
For example, you can send the following request to Cloudflare's documentation:
curl -L https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/ \
-H "Accept: text/markdown"
Check the response's Content-Type header. If Markdown conversion is supported and successful, the server returns text/markdown. The x-markdown-tokens header may also provide an estimated token count.
≈80%
Reduction in Token Count in Cloudflare's Example
HTML – 16,180 tokens
Markdown – 3,150 tokens
Source: Cloudflare, Markdown for Agents. These results reflect the conversion of a specific document and do not represent guaranteed savings across all websites.
For retrieval-augmented generation (RAG) systems and AI agents, this could mean smaller model inputs, lower token consumption, and reduced data preprocessing costs.
Markdown won't replace HTML in every use case, though. Ad verification, dynamic interface testing, and the extraction of certain structured product attributes may still require access to the original page or a full browser environment.
Search for Agents: What If You Could Query a Website Directly?
On November 25, 2026, Cloudflare announced Search for Agents, a search interface that allows AI agents to retrieve information from a website's search index.
Rather than crawling multiple documentation pages, an agent can request relevant content directly.
Imagine an AI agent trying to determine the limits of Cloudflare Artifacts.
Traditional Approach
Search for Agents
A simplified comparison of the two approaches. The actual number of requests depends on the implementation and the task.
Here's an example of a request to the search interface of Cloudflare's public documentation:
curl --get "https://developers.cloudflare.com/.well-known/search" \
--data-urlencode "q=Cloudflare Artifacts limits"
The interface returns relevant Markdown snippets rather than an answer generated by another language model. The agent then analyzes the retrieved information and produces its own response.
Is This Already Available?
Cloudflare demonstrated this workflow using OpenCode. The agent discovered the documentation's search interface and used it to answer a technical question.
The feature is available even on Cloudflare's free plan, subject to applicable AI Search limits. However, website owners must enable it, and existing security policies remain in effect.
📖 Quick Reference
Search for Agents queries the search index of a specific website. It is not a general-purpose web search engine. The index may lag behind changes to individual pages, and retrieving relevant results does not guarantee complete dataset coverage. See Cloudflare's technical documentation for more details.
What Happens to Traditional Web Scraping?
Will conventional web scraping disappear once websites start providing machine-friendly access to their data?
Unlikely. Finding an answer to a question and building a comprehensive dataset are two very different tasks.
A shopping assistant might only need to identify a few smartphones that fit a customer's budget. A price monitoring platform, on the other hand, needs to retrieve an entire product catalog every day, account for regional pricing and availability, maintain historical records, and detect discontinued products.
Searching an online store's content index won't necessarily provide that level of completeness.
| Use Case | Data Collection Methods Worth Considering |
|---|---|
| Price and Product Monitoring | Official APIs, product feeds, or authorized web scraping |
| SEO Monitoring and Localization Testing | Observing actual search results or website interfaces in specific regions |
| Ad Verification | Browser automation and observation of displayed advertisements |
| RAG and Documentation-Based Answers | Search APIs, Markdown, and specialized knowledge bases |
| AI Training and Large-Scale Research | Licensed datasets and authorized data collection |
The more likely outcome is a shift from one-size-fits-all scrapers to hybrid data collection systems that select the most appropriate source and access method for each task: an HTTP client, browser, API, search interface, or existing dataset.
How the Role of Web Scraping Proxies Is Changing
Proxy servers handle network connectivity. Data licensing, Pay Per Crawl, and Search for Agents address the terms and formats under which information is accessed. They operate at different layers of the data collection infrastructure.
Consider a company that needs to verify how the same online store appears to visitors in Germany, Japan, and Brazil.
It needs to observe regional variations in the website's interface, currencies, product availability, and advertising. Even if a specialized search API provides relevant information, it may not reproduce the actual user experience in a particular location.
For authorized monitoring scenarios like these, Astro's residential and mobile proxies help establish connections from the required geographic locations.
Changing an IP address, however, does not replace permission to access data. If a source requires authentication, payment, or a license, those requirements must be addressed separately.
Web Scraping in 2027: Five Trends to Watch
It's too early to know how widely Cloudflare's proposed models will be adopted. Still, several emerging trends offer a glimpse of where the web scraping industry may be heading.
TREND 01
Data Access Will Increasingly Depend on Its Intended Use
Search indexing, AI model training, personal AI agents, and commercial data collection may operate under different access conditions. Rather than blocking every bot indiscriminately, website owners may find greater value in policies tailored to specific use cases.
TREND 02
A More Distinct Economy Will Emerge Around Data
Original reviews, research, and professional knowledge bases could become the subject of new licensing agreements. But not every website will choose paid access. For many brands, visibility in search results and AI recommendations may remain more valuable than charging for content retrieval.
TREND 03
Web Scrapers Will Become Hybrid Systems
Rather than relying on a single universal scraping script, data collection pipelines will combine multiple sources. A product feed might supply catalog data, authorized browser-based checks could verify regional content, and a specialized search interface could handle documentation queries.
TREND 04
Websites Will Be Designed for Machines as Well as Humans
Structured data, machine-readable formats, search APIs, and Model Context Protocol (MCP) interfaces could make websites easier for AI agents to navigate. Content quality will remain essential, but technical accessibility and ease of extraction will become increasingly important.
TREND 05
Cost per Usable Record Will Matter More Than Cost per Request
If two data collection methods cost the same but one produces more duplicates and outdated records, its effective cost is higher. Data collection budgets will increasingly account for completeness, freshness, accuracy, and usage rights rather than request volume alone.
These are forecasts based on observable technological developments, not guaranteed market outcomes. Widespread adoption of paid access models has yet to be established.
How Developers and Businesses Can Prepare
There's no need to wait until HTTP 402 becomes a familiar sight in your request logs. You can already make your data collection architecture more resilient.
- Check for official APIs and product feeds. In some cases, integrating directly with a data source may be more cost-effective than maintaining a web scraper indefinitely.
- Handle HTTP errors separately. For HTTP 402, check the payment requirements. For HTTP 403, review access permissions. For HTTP 429, respect rate limits and the Retry-After header when present. These responses require different handling strategies, not endless retries.
- Implement caching and deduplication. Repeatedly downloading unchanged content creates unnecessary expenses. Use ETag or Last-Modified headers when the source supports conditional requests.
- Track data provenance. Maintain records of where the data came from, when it was collected, and which usage conditions apply.
- Avoid relying on a single content format. Check Content-Type headers and build support for available, authorized data formats.
- Measure the total cost of data collection. Account for more than network traffic. Include licensing, processing, data freshness, and the quality of the final dataset.
🔎 Useful Resource
You can monitor AI crawler activity, crawl-to-refer ratios, and other automated traffic metrics using Cloudflare Radar AI Insights, a publicly accessible analytics resource.
The Bottom Line: A Web for Humans and a Web for Machines
Perhaps the most interesting aspect of Cloudflare's recent developments isn't the ability to charge AI bots for accessing content.
The web, built around human interaction for decades, is gradually adapting to a world where autonomous software agents may perform a significant share of online activities.
Humans need intuitive interfaces.
AI agents need structured data.
Humans evaluate websites based on design and ease of navigation.
AI agents evaluate them based on accessibility, information quality, and retrieval costs.
Humans subscribe through checkout pages.
AI agents may eventually pay for individual requests programmatically.
Does this mean free access to information will disappear? Not necessarily. But content availability, usage rights, and the cost of automated retrieval are increasingly becoming separate considerations.
For the web scraping industry, this is less about the end of the web as we know it and more about the beginning of a new chapter.
Web scraping isn't going away. The rules are changing.
Last updated: December 1, 2026. All pricing examples are hypothetical. Research findings refer to the specified periods. Product availability and release status are subject to change.
Related questions
-
Not necessarily. Cloudflare is developing mechanisms for paid access to web content, but website owners decide whether to monetize access. Free web scraping, official APIs, and open data sources will continue to exist.
-
Pay Per Crawl is a mechanism that allows website owners to charge participating AI crawlers for accessing web content. Pricing and access conditions are determined by the website's applicable policies.
-
HTTP 402 is a status code reserved for payment-related use cases. In the context of Cloudflare Pay Per Crawl, it can indicate that payment is required to access the requested content.
-
Pay Per Crawl charges for accessing content, while Pay Per Use charges for its actual usage under agreed terms, such as when an AI assistant incorporates content into a generated response.
-
Cloudflare provides website owners with tools to detect and block automated traffic. However, no bot protection system can guarantee complete effectiveness across all scenarios.
-
Unlikely. AI agents are effective at finding and interpreting information, while traditional web scraping remains valuable for systematic, large-scale collection of structured data. Both approaches serve different purposes and can complement each other.
-
Search for Agents is a search interface that allows AI agents to retrieve relevant content snippets from a website's search index without having to crawl all its pages individually.
-
Yes. OpenAI uses separate crawlers for model training and search functionality. Website owners can configure independent rules for GPTBot and OAI-SearchBot in their robots.txt file. However, robots.txt rules alone do not technically enforce access restrictions.
-
Yes. Residential and mobile proxies are expected to remain valuable for authorized regional price monitoring, ad verification, SEO monitoring, localization testing, and other tasks that require connections from specific geographic locations.
-
The legality of web scraping depends on the jurisdiction, the nature of the data, the method of collection, applicable access conditions, and the intended use of the collected information. Publicly accessible data does not automatically imply unrestricted rights to collect or reuse it.


