serp.fast

Cloudflare Search for Agents: what a site-owned search endpoint changes for web data builders

Cloudflare's Search for Agents, in beta, gives any site a /.well-known/search endpoint. What it covers, what it costs from December 1, and what it doesn't replace.

Nathan Kessler

Written by Nathan Kessler

Last updated: 7 min read

Cloudflare Search for Agents is a beta feature that indexes a website and serves search results from /.well-known/search on the site's own domain. A site owner flips one toggle in the dashboard, and any agent that finds the endpoint can ask a question and get ranked Markdown passages back instead of crawling page after page. It works on every plan, including Free, with limits. For anyone building an AI product on web data, it is the first mainstream case of the site doing the retrieval work that your scraper or search API normally does for you.

That is worth understanding even if you never use it as a site owner, because it changes what "getting data from a site" can mean for the sites you depend on.

What Cloudflare shipped

Cloudflare announced Search for Agents in late November 2026. It sits on top of AI Search, Cloudflare's hosted indexing and retrieval service, which could already take a website as a data source. The missing pieces were setup and discovery. You had to create and configure an instance by hand, wire up an endpoint on your own domain, and then somehow tell agents it existed. The new toggle, under Quick Actions on a zone's Overview page, does all three.

According to the feature documentation, turning it on creates an instance named search-for-agents-<ZONE_ID> and points it at your domain. The defaults matter if you are deciding how far to trust what comes back:

  • Crawling uses the "Discover" mode, which finds pages through sitemaps and by following links up to five hops from the root. A sitemap is not required.
  • The index re-syncs every 24 hours, with a 24-hour crawl cache. Subdomains are off.
  • Search is hybrid: vector and keyword, fused with Reciprocal Rank Fusion. Chunks are 1,024 tokens with 10% overlap, and the embedding model is @cf/qwen/qwen3-embedding-0.6b.
  • A query returns at most 10 chunks, with a match threshold of 0.4. Reranking and query rewriting are off by default.
  • The endpoint does not generate an answer. It returns retrieved passages with source references and relevance scores, and the calling agent's own model does the rest.

Discovery is the clever part. Cloudflare injects four meta tags into the head of every HTML response (agent:instructions, agent:endpoint, agent:method, agent:documentation). If the site also uses Markdown for Agents and the client sends Accept: text/markdown, the same four fields arrive as YAML front matter. An agent that lands on any page learns where the search endpoint is and how to call it. The endpoint takes a plain GET with a q parameter, or the HTTP QUERY method with a text body.

What the endpoint does for your agent

If your agent needs an answer from a specific site, the old path was to search the open web, fetch candidate pages, strip the HTML, and rank the pieces yourself. The extraction step alone is where most pipelines accumulate bugs. A site-owned endpoint skips most of that. In Cloudflare's own example, a natural-language question about a product limit returns the matching documentation table with a top score, and the client never needed to know which URL held it.

Three properties make this better than scraping the same site:

  1. The site's own ranking. The index covers the whole site, including pages a general search engine may have skipped or ranked poorly.
  2. Fresh enough. A 24-hour sync is not live, but it is usually fresher than a third-party index of a small site.
  3. Permissioned. Requests to the endpoint still pass through the site's bot management, AI Crawl Control, and WAF rules. Access is something the owner granted on purpose. That puts it on the friendly side of the anti-bot arms race rather than inside it.

The third point connects to a trend we have written about before. Sites increasingly want to know who an agent is before they serve it. The Web Bot Auth work is about proving identity; Search for Agents is about giving a recognized agent a better door than the front page. Both assume the site is a participant, not a target.

What it does not replace

This is where I would be careful with the "agents won't need to scrape anymore" framing that tends to appear around launches like this one.

It only works where the owner turned it on. The web is a very large number of sites and almost none of them have this enabled today. Cloudflare says the feature is in beta. Until adoption is broad, your agent needs a fallback for every site that does not advertise an endpoint, and that fallback is still search plus extraction. If you are choosing the general layer, the guide to choosing a search API for AI still applies unchanged.

It is one site at a time. A search API answers "what does the web say about X." A site endpoint answers "what does this site say about X." Research agents, competitive monitoring, and price tracking depend on the first kind of question. A per-site endpoint helps the second step, once you know which site to ask.

The index is the site's, not yours. You inherit the owner's crawl settings. Defaults of 24-hour sync, no subdomains, and a 0.4 match threshold are reasonable, but they are defaults. If the owner excluded a section or never added reranking, you will not see it, and nothing in the response tells you what the index omitted. For anything where completeness matters, you cannot treat a ranked top 10 as proof of absence.

It returns passages, not structured data. Chunks of Markdown are good input for a model. They are poor input for a pipeline that wants a price field, a date, or a table row. Extraction APIs and schema-driven scrapers still own that job.

Trust is on you. Text from a third-party site that lands in your agent's context is untrusted input, whether it arrived by scraping or by a friendly search endpoint. A site-owned index changes the transport, not the injection risk covered in our agentic web access guide.

What it costs, and the December 1 line

The pricing is where site owners will feel this, and indirectly where you may feel it as a consumer of their endpoints. Per the AI Search limits and pricing page, billing begins on December 1, 2026. Every account gets 5 million ingestion tokens, 10 GB-months of storage, 1,000 semantic queries, and 1,000 full-text queries per month included. Beyond that:

UsagePrice
Ingestion$0.75 per million tokens
Storage$2.00 per GB-month
Semantic, vector, and hybrid queries$0.75 per 1,000

Workers Free also caps crawling at 500 pages per day, so a large site could take days to index the first time.

Search for Agents uses hybrid search by default, so each agent query counts against the semantic allowance. With 1,000 queries included, a site that attracts steady agent traffic can pass the free tier quickly. Cloudflare notes that the similarity cache is on, with a 48-hour duration, which absorbs repeated questions, and that WAF and AI Crawl Control rules sit in front of the endpoint.

My read is that owners will react in one of two ways. Some will rate-limit the endpoint or restrict it to verified agents. Others will leave it open and treat the cost as a customer-support expense, the same way they treat docs search. If you build an agent that leans on these endpoints, expect throttling and expect the terms to differ site by site. Build the client so that a 429 or a missing endpoint falls back cleanly to your normal search-and-extract route.

What to do with this

For builders, three small things are worth doing now.

First, teach your fetch layer to look for the agent:endpoint meta tag, or the front matter variant, before it decides to crawl. If a site advertises an endpoint, query it first. This costs one parse and can save dozens of fetches.

Second, keep your evaluation honest. If you test search tools on your own data, add a site-endpoint arm for the handful of domains your product leans on most. We have no measured numbers on how these endpoints compare, and I would not trust anyone's claim until they are run against your questions.

Third, if you own a docs site or a small product site, the toggle is a cheap way to see how agents actually use search. The Free plan's 500 pages per day crawl cap is fine for a few hundred pages. Check the query counts before billing starts, and watch for whether the traffic is agents you want.

The broader point is the direction of travel. Sites have spent two years choosing between blocking agents and ignoring them. Cloudflare is offering a third option: give agents a sanctioned way in, and let the site do the retrieval. Whether the rest of the web follows, and whether paid per-query pricing survives contact with agent traffic, is still open. For now it is a beta with a clear spec and a December billing date, which is enough to plan around.

Share:

Tags:

  • #ai-agents
  • #search-api
  • #cloudflare
  • #market-analysis