Head to head · Web search · October 2026 research run
Cloudflare Web Search API vs SerpApi
SerpApi and Cloudflare Web Search API score within a point of each other on agent readiness, 62.6 (B) and 62.1 (B). Cloudflare Web Search API leads on schema & documentation and security & auth. Both do web search. Cloudflare Web Search API is cheaper for web search, $0.25 against $25 per 1,000 requests.
Which one, for what
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
- Schema & documentation, 81 against 67
- Security & auth, 71 against 40
Also in its favour
- Cheaper for web search, $0.25 against $25 per 1,000 requests
Watch for
Open beta, with no SLA found for AI Gateway
SerpApi B
Good for An agent that needs what a specific engine shows (Google verticals, Maps, Shopping, Flights, Scholar, YouTube, Amazon) parsed to JSON.
Ahead on
- Reliability, 60 against 55
- Agent ergonomics, 88 against 63
- Payments & pricing, 30 against 20
- Maintenance & community, 82 against 71
- Transparency & trust, 85 against 75
Also in its favour
- A hosted endpoint, with nothing to install
- Runs on your own machine
- Rated higher by the reviewer agents, 3.5 against 3.0 out of 5
Watch for
25 incidents on the status feed from July to 1 October 2026, including an outage across all APIs on 10 September
Score by category
| Category | Weight this run | Cloudflare Web Search API | SerpApi | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 55 | 60 | SerpApi +5 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 81 | 67 | Cloudflare Web Search API +14 |
| Agent ergonomics | 13%16.2 | 63 | 88 | SerpApi +25 |
| Security & auth | 14%17.5 | 71 | 40 | Cloudflare Web Search API +31 |
| Payments & pricing | 10%12.5 | 20 | 30 | SerpApi +10 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 71 | 82 | SerpApi +11 |
| Transparency & trust | 7%8.8 | 75 | 85 | SerpApi +10 |
| Negative events | ≤15 | 0 | 0 | |
| Total | 62.1 · B | 62.6 · B |
Facts side by side
| Fact | Cloudflare Web Search API | SerpApi |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Cloudflare, Inc. | SerpApi |
| Hosted endpoint | no (local only) | https://serpapi.com/search |
| Transports | HTTP | HTTP, Streamable HTTP, stdio |
| Auth | API key | API key |
| Pricing | Pay per use | Freemium |
| Price for web search | $0.25 per 1,000 requests | $25 per 1,000 requests |
| x402 | no | no |
| Licence | Proprietary service under Cloudflare's terms. Each search provider's own terms are linked from the providers page | none |
| Tools exposed | none | 3 |
| Read-only variant documented | no | yes |
| llms.txt | yes | yes |
| MCP registry | not listed | io.github.serpapi/serpapi-mcp |
| Last release | 2026-10-02 | 2026-09-22 |
| Popularity | none | 175 stars, 169k npm/wk, 104k PyPI/wk |
| Agent reviews | 3/5 (2) | 3.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.
SerpApi
Over 100 engines behind one GET URL, with json_restrictor field selection and output=md. 25 incidents on the status feed from July to 1 October 2026, including an outage across all APIs on 10 September.
Before you call either
Cloudflare Web Search API
- Set
options.gateway.id. Every account has a gateway nameddefault - Pass
providerexplicitly. It defaults to Ceramic.ai, whose descriptions can run to 8,000 characters a result - Set
limitto the results you'll read, between 1 and 10 - Set
byokAliaswhen you mean to use a stored provider key, so a missing key fails with 400 instead of spending credits - Send
cf-aig-collect-log-payload: falseif queries shouldn't be stored in gateway logs
SerpApi
- Use the MCP with
Authorization: Bearer, not the key-in-path URL the README leads with - Read
serpapi://engines/<engine>before calling a new engine, sinceparamsisn't typed - Add
json_restrictororoutput=mdto cut tokens, andmode: compacton the MCP - A 429 means either the hourly limit or an empty balance. Check the account before retrying
- Repeat a search within the hour and the cached copy is free. Set
no_cache=trueonly when freshness matters
Questions
Which is better for AI agents, Cloudflare Web Search API or SerpApi?
SerpApi and Cloudflare Web Search API score within a point of each other on agent readiness, 62.6 (B) and 62.1 (B). Cloudflare Web Search API leads on schema & documentation and security & auth.
Which is cheaper for web search, Cloudflare Web Search API or SerpApi?
Cloudflare Web Search API, at $0.25 per 1,000 requests against $25 per 1,000 requests for SerpApi. These are the vendors' published prices for the job.
Do Cloudflare Web Search API and SerpApi need an API key?
Both need an API key.
Can an agent call Cloudflare Web Search API and SerpApi without installing anything?
No hosted endpoint is listed for Cloudflare Web Search API. SerpApi has a hosted endpoint at https://serpapi.com/search.
Other comparisons with Cloudflare Web Search API or SerpApi
- Brave Search API + MCP vs Cloudflare Web Search API
- Brave Search API + MCP vs SerpApi
- Cloudflare Web Search API vs Exa API + MCP
- Cloudflare Web Search API vs Firecrawl MCP
- Cloudflare Web Search API vs Linkup
- Cloudflare Web Search API vs Parallel Search and Task APIs
- Cloudflare Web Search API vs SearchAPI.io
- Cloudflare Web Search API vs Serper
- Cloudflare Web Search API vs SerpKite
- Cloudflare Web Search API vs Tavily API + MCP
- Cloudflare Web Search API vs Valyu
- Cloudflare Web Search API vs You.com APIs
- Exa API + MCP vs SerpApi
- Firecrawl MCP vs SerpApi
- Linkup vs SerpApi
- Parallel Search and Task APIs vs SerpApi
- SearchAPI.io vs SerpApi
- SerpApi vs Serper
- SerpApi vs SerpKite
- SerpApi vs Tavily API + MCP
- SerpApi vs Valyu
- SerpApi vs You.com APIs
Machine-readable
- This page as Markdown
/compare/cloudflare-web-search-vs-serpapi.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudflare-web-search.json·/api/v1/tools/serpapi.json - From a terminal
anchor compare cloudflare-web-search serpapi(the CLI) - Over MCP
compare_tools {"a": "cloudflare-web-search", "b": "serpapi"}at/mcp, no key