Cloudflare Search for Agents & AI-Readiness Auditor avatar

Cloudflare Search for Agents & AI-Readiness Auditor

Pricing

from $5.00 / 1,000 url agent-readiness audits

Go to Apify Store
Cloudflare Search for Agents & AI-Readiness Auditor

Cloudflare Search for Agents & AI-Readiness Auditor

Fast zero-browser Agent-Readiness & Search Auditor. Audits /.well-known/search (RFC 10008 HTTP QUERY), Accept: text/markdown token savings, /llms.txt, robots.txt AI bots (GPTBot/ClaudeBot), Cloudflare $0.75/1k overage risk & 4-tier Cascade BM25 search. SSRF-safe & MCP-ready.

Pricing

from $5.00 / 1,000 url agent-readiness audits

Rating

0.0

(0)

Developer

Daniel Lopes

Daniel Lopes

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

5 days ago

Last modified

Categories

Features

Limited permissions

Share

Cloudflare Search for Agents & AI-Readiness Auditor (Cascade Discovery)

Zero-browser, sub-second Apify Actor & MCP tool that audits any list of websites for Cloudflare Search for Agents (/.well-known/search), RFC 10008 HTTP QUERY, Accept: text/markdown token savings, /llms.txt, /robots.txt AI crawler policies, and optional 4-Tier Cascade BM25 search.

Built for AI engineering teams, SEO/GEO agencies, Cloudflare site operators, RAG builders, and autonomous MCP agents (connect directly via mcp.apify.com).


Why Use This Actor?

Most websites today still serve 200KB–500KB of HTML noise to AI agents — wasting 80%–95% of LLM input tokens. Meanwhile, sites enabling Cloudflare Search for Agents without guardrails risk unexpected $0.75/1k semantic query overages once they pass the 500 pages/day free indexing allowance.

In 1 sub-second pass per URL (zero headless browser, ultra-low memory, Pay-per-Event), this Actor executes Cascade Discovery across every target URL:

  1. /.well-known/search & RFC 10008 HTTP QUERY Probe: Detects active Cloudflare Search for Agents endpoints, JSON manifests, OpenSearch XML, and Allow: GET, HEAD, QUERY method support.
  2. HTML & Frontmatter Discovery: Extracts <meta name="agent:endpoint">, agent:method, agent:instructions, <link rel="search">, Link response headers, and YAML frontmatter agent: blocks.
  3. Accept: text/markdown (Markdown for Agents): Checks native Content-Type: text/markdown, Vary: Accept, x-markdown-tokens, and calculates exact byte/token savings vs HTML.
  4. /llms.txt & /llms-full.txt Audit: Detects curated AI documentation indexes and reports payload sizes.
  5. /robots.txt AI Crawler Matrix & /sitemap.xml: Evaluates explicit/wildcard policies for GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot, Google-Extended, and CCBot.
  6. Cloudflare Overage Risk & Actionable Score (0–100, A+–F): Flags unthrottled public /.well-known/search endpoints exposed to $0.75/1k query spikes and outputs prioritized fixes.
  7. Optional 4-Tier Cascade Search (query input): Cascades /.well-known/search → Accept: text/markdown → /llms.txt → Edge HTML-to-Markdown + deterministic BM25 chunk ranking so agents get clean chunks on 100% of websites on Day 1.

Built-In Security

  • DNS-verified SSRF Shield: Resolves DNS via node:dns/promises before every request and re-verifies every redirect hop — blocking localhost, 127.0.0.1, AWS/GCP/Azure metadata (169.254.169.254), RFC1918, CGNAT, IPv6 loopback/ULA, and non-HTTP(S) schemes.

Example Input

{
"urls": [
"https://blog.cloudflare.com/search-for-agents/",
"https://danlopes18-ctrl.github.io/"
],
"query": "markdown for agents",
"checkBots": true,
"includeMarkdownPreview": true,
"maxChunks": 5,
"concurrency": 5
}

Example Dataset Output Item

{
"domain": "blog.cloudflare.com",
"url": "https://blog.cloudflare.com/search-for-agents/",
"statusCode": 200,
"score": 80,
"grade": "B+",
"hasWellKnownSearch": true,
"supportsHttpQuery": true,
"allowedSearchMethods": ["GET", "HEAD", "QUERY"],
"agentEndpoint": "https://blog.cloudflare.com/.well-known/search?q={query}",
"supportsMarkdownNegotiation": true,
"varyIncludesAccept": true,
"hasLlmsTxt": false,
"htmlBytes": 319853,
"markdownBytes": 20557,
"tokenSavingsPercent": 93.6,
"overageRiskLevel": "high",
"searchSourceTier": "tier1_well_known_search",
"searchResult": {
"query": "markdown for agents",
"sourceTier": "tier1_well_known_search",
"chunks": [
{
"rank": 1,
"score": 1.0,
"heading": "https://blog.cloudflare.com/markdown-for-agents",
"text": "...",
"estimatedTokens": 210
}
],
"totalEstimatedTokens": 630
}
}

Plus an aggregate OUTPUT JSON record saved to the Key-Value Store containing run-wide adoption stats, average score, average token savings %, and domain leaderboard.


Need Self-Hosted Workers & WAF Anti-Overage Guardrails?