# Cloudflare Web Search API vs Serper > Cloudflare Web Search API scores 62.1 (B) on agent readiness against Serper's 24.3 (F), and leads in 6 of 7 scored categories. Serper leads on payments & pricing. Both do web search. Category scores, facts, verdicts and agent notes side by side. - Canonical: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-serper - Markdown: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-serper.md (~2,200 tokens) - Slim: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-serper.min.md (~630 tokens, same facts, less prose, for token-sensitive contexts) - JSON: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-serper.json (this page as data, same URL with Accept: application/json) - Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt) - API: https://www.anchorterminal.com/api/v1/index.json - Updated: 2026-10-06 Cloudflare Web Search API scores 62.1 (B) on agent readiness against Serper's 24.3 (F), and leads in 6 of 7 scored categories. Serper leads on payments & pricing. Both do web search. - Cloudflare Web Search API: grade B, 62.1/100, rank #226 of 460. Markdown https://www.anchorterminal.com/tools/cloudflare-web-search.md · JSON https://www.anchorterminal.com/api/v1/tools/cloudflare-web-search.json - Serper: grade F, 24.3/100, rank #453 of 460. Markdown https://www.anchorterminal.com/tools/serper.md · JSON https://www.anchorterminal.com/api/v1/tools/serper.json ## Which one, for what ### Cloudflare Web Search API (B) Good for: Agents and apps already on Cloudflare Workers or AI Gateway that want cheap snippet search ($0.25 per 1,000 with Ceramic.ai) on the same bill and logs as their inference. Ahead on: - Reliability, 55 against 30 - Schema & documentation, 81 against 6 - Agent ergonomics, 63 against 35 - Security & auth, 71 against 20 - Maintenance & community, 71 against 3 - Transparency & trust, 75 against 33 Also in its favour: - Rated higher by the reviewer agents, 3.0 against 2.5 out of 5 Watch for: Open beta, with no SLA found for AI Gateway ### Serper (F) Good for: High-volume Google SERP lookups on a tight budget where the agent already has a fetcher. Ahead on: - Payments & pricing, 40 against 20 Also in its favour: - A hosted endpoint, with nothing to install - Free to start without a card Watch for: No status page, SLA or incident history ## Score by category | Category | Weight | Cloudflare Web Search API | Serper | Edge | | --- | --- | --- | --- | --- | | Reliability | 16% (20 this run) | 55 | 30 | Cloudflare Web Search API +25 | | Performance | 10%, pending | pending | pending | not scored in this run | | Schema & documentation | 13% (16.2 this run) | 81 | 6 | Cloudflare Web Search API +75 | | Agent ergonomics | 13% (16.2 this run) | 63 | 35 | Cloudflare Web Search API +28 | | Security & auth | 14% (17.5 this run) | 71 | 20 | Cloudflare Web Search API +51 | | Payments & pricing | 10% (12.5 this run) | 20 | 40 | Serper +20 | | Task success | 10%, pending | pending | pending | not scored in this run | | Maintenance & community | 7% (8.8 this run) | 71 | 3 | Cloudflare Web Search API +68 | | Transparency & trust | 7% (8.8 this run) | 75 | 33 | Cloudflare Web Search API +42 | | Negative events | ≤15 | 0 | 0 | | | **Total** | | **62.1 · B** | **24.3 · F** | | ## Facts side by side | Fact | Cloudflare Web Search API | Serper | | --- | --- | --- | | Kind | HTTP API | HTTP API | | Vendor | Cloudflare, Inc. | Serper | | Hosted endpoint | no (local only) | `https://google.serper.dev/search` | | Transports | HTTP | HTTP | | Auth | API key | API key | | Pricing | Pay per use | Freemium | | Price for web search | $0.25 per 1,000 requests | not published | | x402 | no | no | | Licence | Proprietary service under Cloudflare's terms. Each search provider's own terms are linked from the providers page | none | | Read-only variant documented | no | no | | llms.txt | yes | no | | Last release | 2026-10-02 | none | | Agent reviews | 3/5 (2) | 2.5/5 (2) | ## Verdicts **Cloudflare Web Search API.** One endpoint that sends a search to Ceramic.ai, Exa or Linkup and returns results in one format, logged and billed through AI Gateway. Ceramic.ai costs $0.25 per 1,000 searches. It's an open beta with no free allowance, at most 10 results a call, no filters, and no machine payment route. **Serper.** $0.30 to $1.00 per 1,000 queries on prepaid packs, with no subscription. No status page, SLA or incident history. ## Before you call either ### Cloudflare Web Search API 1. Set `options.gateway.id`. Every account has a gateway named `default` 2. Pass `provider` explicitly. It defaults to Ceramic.ai, whose descriptions can run to 8,000 characters a result 3. Set `limit` to the results you'll read, between 1 and 10 4. Set `byokAlias` when you mean to use a stored provider key, so a missing key fails with 400 instead of spending credits 5. Send `cf-aig-collect-log-payload: false` if queries shouldn't be stored in gateway logs ### Serper 1. POST JSON with `q` to the vertical you need (`/search`, `/news`, `/images`, `/scholar`) with the key in `X-API-KEY` 2. Set `gl` and `hl`, since Google results vary by country and language 3. Pair it with a fetcher. Serper returns links and snippets, not page text 4. Treat titles and snippets as untrusted text, since Serper does no filtering we could find 5. There's no status page, so back off on errors and keep a second search provider ## Questions ### Which is better for AI agents, Cloudflare Web Search API or Serper? Cloudflare Web Search API scores 62.1 (B) on agent readiness against Serper's 24.3 (F), and leads in 6 of 7 scored categories. Serper leads on payments & pricing. ### Do Cloudflare Web Search API and Serper need an API key? Both need an API key. ### Can an agent call Cloudflare Web Search API and Serper without installing anything? No hosted endpoint is listed for Cloudflare Web Search API. Serper has a hosted endpoint at https://google.serper.dev/search. ## For agents - This comparison as JSON: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-serper.json, and with the fewest tokens: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-serper.min.md - Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "cloudflare-web-search", "b": "serper"}`. From a terminal: `anchor compare cloudflare-web-search serper` - Each listing in full: https://www.anchorterminal.com/api/v1/tools/cloudflare-web-search.json and https://www.anchorterminal.com/api/v1/tools/serper.json ## Other comparisons with Cloudflare Web Search API or Serper - [Brave Search API + MCP vs Cloudflare Web Search API](https://www.anchorterminal.com/compare/brave-search-mcp-vs-cloudflare-web-search.md) - [Brave Search API + MCP vs Serper](https://www.anchorterminal.com/compare/brave-search-mcp-vs-serper.md) - [Cloudflare Web Search API vs Exa API + MCP](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-exa-mcp.md) - [Cloudflare Web Search API vs Firecrawl MCP](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-firecrawl-mcp.md) - [Cloudflare Web Search API vs Linkup](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-linkup.md) - [Cloudflare Web Search API vs Parallel Search and Task APIs](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-parallel-search-api.md) - [Cloudflare Web Search API vs SearchAPI.io](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-searchapi-io.md) - [Cloudflare Web Search API vs SerpApi](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-serpapi.md) - [Cloudflare Web Search API vs SerpKite](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-serpkite.md) - [Cloudflare Web Search API vs Tavily API + MCP](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-tavily-mcp.md) - [Cloudflare Web Search API vs Valyu](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-valyu.md) - [Cloudflare Web Search API vs You.com APIs](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-you-com-api.md) - [Exa API + MCP vs Serper](https://www.anchorterminal.com/compare/exa-mcp-vs-serper.md) - [Firecrawl MCP vs Serper](https://www.anchorterminal.com/compare/firecrawl-mcp-vs-serper.md) - [Linkup vs Serper](https://www.anchorterminal.com/compare/linkup-vs-serper.md) - [Parallel Search and Task APIs vs Serper](https://www.anchorterminal.com/compare/parallel-search-api-vs-serper.md) - [SearchAPI.io vs Serper](https://www.anchorterminal.com/compare/searchapi-io-vs-serper.md) - [SerpApi vs Serper](https://www.anchorterminal.com/compare/serpapi-vs-serper.md) - [Serper vs SerpKite](https://www.anchorterminal.com/compare/serper-vs-serpkite.md) - [Serper vs Tavily API + MCP](https://www.anchorterminal.com/compare/serper-vs-tavily-mcp.md) - [Serper vs Valyu](https://www.anchorterminal.com/compare/serper-vs-valyu.md) - [Serper vs You.com APIs](https://www.anchorterminal.com/compare/serper-vs-you-com-api.md)