Head to head · Web search · October 2026 research run

Cloudflare Web Search API vs DeepSeek Search and Fetch API

Cloudflare Web Search API scores 68.1 (B) on agent readiness against DeepSeek Search and Fetch API's 56.7 (C), and leads in 5 of 7 scored categories. DeepSeek Search and Fetch API leads on agent ergonomics. Both do web search. Cloudflare Web Search API is cheaper for web search, $0.25 against $0.75 per 1,000 requests.

Best web search APIs for AI agents · All 380 search comparisons

Which one, for what

Cloudflare Web Search API B

Best 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, 77 against 72
  • Schema & documentation, 81 against 55
  • Security & auth, 74 against 43
  • Maintenance & community, 71 against 42
  • Transparency & trust, 73 against 60

Also in its favour

  • Cheaper for web search, $0.25 against $0.75 per 1,000 requests

Watch for

Open beta, with no SLA found for AI Gateway

DeepSeek Search and Fetch API C

Best for Cheap per-request web search with model-ready summaries and an authority signal, plus page fetching, for agents already on a DeepSeek key and comfortable with data held in the PRC.

Ahead on

  • Agent ergonomics, 81 against 63

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

Opened on 17 October 2026, with no service record of its own and no component for it on the status page

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Security & auth Cloudflare Web Search API +31

Cloudflare Web Search API 74

Cloudflare API tokens are scoped by permission and revocable, and web search needs only Workers AI Read and AI Gateway Read. Permission is per account, not per gateway or provider. The OpenAPI operation also accepts the legacy global API key in headers (27 of 30). Every call reads. Spend limits per gateway and the Require provider credentials setting cap or block spend, and byokAlias fails rather than falling back to credits. Read permission is enough to spend credits (14 of 20). Results are third-party page text passed to a model, and we found no prompt-injection guidance in the web search pages or the launch post. AI Gateway Guardrails aren't documented for web search (0 of 15). Every search lands in AI Gateway logs with cost and status, on by default (15). security.txt names HackerOne and a disclosure policy and still has no Expires field, re-read on 2 November 2026. Cloudflare's ISO page says it is currently certified against ISO 27001:2022, with ISO 27018 and 27701, scoped to the Cloudflare global cloud platform. 2 held back for the missing Expires, as on the other Cloudflare listings (18 of 20). 27 + 14 + 0 + 15 + 18 = 74.

DeepSeek Search and Fetch API 43

Per the 17 October check, not re-read on 4 November (terms pause). The ordinary DeepSeek bearer key, revocable, with no scopes, so a key used for search can also spend on models. No secret in a URL (20 of 30). Both endpoints only read, so there's nothing destructive to approve, but no search-only key (15 of 20). Results and fetched pages are untrusted web text. The change log says the engine filters 'SEO spam, GEO manipulation, and low-quality AIGC', with no technical detail and no prompt-injection guidance (3 of 15). No per-call log or audit log found in the docs. The platform console wasn't readable (0 of 15). Security programme 5 of 20 (was 0). The www.deepseek.com footer carries a Report Security Issue address, security@deepseek.com, per the 21 October reading used for DeepSeek's open-weight listings; no security.txt (404 on 17 October), disclosure policy, bug bounty or certification found. 20 + 15 + 3 + 0 + 5 = 43.

Maintenance & community Cloudflare Web Search API +29

Cloudflare Web Search API 71

Read for a closed service. The web search launch entry is dated 2 October 2026, 31 days ago. The AI Gateway changelog entry of 8 October 2026 changed the log and request IDs every AI Gateway request returns, searches included, so recency stays at 30 until 7 November. Thirteen dated AI Gateway changelog entries from 5 August to 21 October (20). A public changelog with RSS and a developer Discord. We didn't check support response times (8 of 15). The Workers binding has the method. The Cloudflare TypeScript SDK's newest tag is still 7.3.0 of 2 October, with no web search method, though the OpenAPI names an SDK method websearch (8 of 15). The OpenAPI spec carries the path. Nothing else to measure for a hosted endpoint (5 of 10). 30 + 20 + 8 + 8 + 5 = 71.

DeepSeek Search and Fetch API 42

Closed service, per the 17 October check, not re-read on 4 November (terms pause). Opened on 17 October 2026, 18 days before this check (30). The change log's 17 October entry is the only dated one about Search or Fetch in the 90 days from 6 August (0 of 20). Dated change log, api-service@deepseek.com and a Discord server, not tested for replies (12 of 15). No official SDK (0 of 15). No SDK or package to assess (0 of 10). 30 + 0 + 12 + 0 + 0 = 42.

Schema & documentation Cloudflare Web Search API +26

Cloudflare Web Search API 81

Cloudflare's public OpenAPI has /accounts/{account_id}/ai/websearch with a typed body, additionalProperties: false and typed 200, 400, 403 and 502 responses. provider is a free string there where the docs give an enum (22 of 25). llms.txt for the product and Markdown for every page (10). The providers page says which provider suits which job, such as Ceramic.ai for agents that run many searches and Exa for short query-relevant excerpts. Nothing says when not to use the endpoint, and the OpenAPI description is one line (12 of 20). query 1 to 1,024 characters, limit 1 to 10, provider enum in the docs, byokAlias with a pattern (14 of 15). curl and Worker examples, a response example, and a typed error body with category, code and retryable. No catalogue of error codes or messages found (11 of 15). Dated launch entry in the AI Gateway changelog, still the only web search entry on 2 November 2026. The API path carries v4 for the whole Cloudflare API, nothing specific to web search (12 of 15). The OpenAPI operation, re-read from a clone on 2 November, is unchanged.

DeepSeek Search and Fetch API 55

Per the 17 October check, not re-read on 4 November (terms pause). No OpenAPI file found. The API reference is rendered from a schema, but no spec is linked, and /openapi.json and /openapi.yaml on the docs host serve the docs page (0). No llms.txt, since api-docs.deepseek.com answered /llms.txt with HTML (0). The guide says what each endpoint is for and which result field suits a UI or a model, and gives the score thresholds for quality and authority, but not when to use Search content against a Fetch (14 of 20). Types, required fields, defaults and limits on every field, such as query 1 to 128 characters and count 1 to 50. Filters live inside the free-text query (13 of 15). curl and Python examples, an error body and a table of ten status codes with retry guidance. The reference shows only the 200 response (13 of 15). Dated change log and a /v1 path (15). 0 + 0 + 14 + 13 + 13 + 15 = 55.

Agent ergonomics DeepSeek Search and Fetch API +18

Cloudflare Web Search API 63

Results are small by default (URL, title, description), and limit caps them at 1 to 10. The default provider, Ceramic.ai, returns descriptions of up to 8,000 characters a result with no parameter to shorten them (15 of 25). limit is the only control. No pagination, offset, domain, date, country or freshness filters (6 of 20). Errors come back with category (gateway, credential, provider, internal), code, status, retryable and gatewayRequestId. The codes themselves aren't listed (16 of 20). Searches only read, the error body says whether a retry helps, and gateways can retry upstream failures up to five times. No idempotency keys, which a read doesn't need (16 of 20). Only query and the gateway ID are required. The Workers binding is TypeScript, and the Cloudflare TypeScript SDK 7.3.0 of 3 October has no web search method. We didn't check the Python or Go SDKs (10 of 15).

DeepSeek Search and Fetch API 81

Per the 17 October check, not re-read on 4 November (terms pause). Responses can be sized with count and need_content, off by default, and each result carries both a short snippet and a 600 to 800 character summary. No field selection, and full content has no length cap stated (20 of 25). Site, language, date and phrase filters, up to 50 results, no pagination (15 of 20). Ten documented codes with what to do, 402 for an empty balance and 404 for an unfetchable page. param is always null and code repeats the type (17 of 20). Both endpoints are documented as read-only and safe to retry, and failed or empty calls aren't billed (20). Only query or url is required. No official SDKs, the docs use raw HTTP and Python requests (9 of 15). 20 + 15 + 17 + 20 + 9 = 81.

Transparency & trust Cloudflare Web Search API +13

Cloudflare Web Search API 73

Closed service under Cloudflare's terms, with each provider's terms linked from the providers page (15 of 30). AI Gateway logs are on by default with headers to skip payloads, and Cloudflare's privacy policy and DPA exist per the Cloudflare MCP check. The providers page gives Zero Data Retention for Ceramic.ai and Linkup but not Exa, while the 2 October changelog says all three support it. No retention period for web search logs on the pages we read (15 of 30). No deprecation policy found. The changelog posts dated changes, such as the 24 September log cut-over, but no deprecation notices (6 of 20). The three providers are named, and Cloudflare's subprocessor page names 12 third parties with locations per the Cloudflare MCP check. Where searches are processed isn't stated (14 of 20). The providers page, still dated 2 October, was re-read on 2 November; the other documents follow the Cloudflare MCP check and weren't re-read. 15 + 15 + 6 + 14 = 50.

DeepSeek Search and Fetch API 60

Per the 17 October check for the privacy policy, not re-read on 4 November (terms pause). Closed service with published terms under PRC law, which assign Outputs to the customer; the Open Platform terms (released 22 April, effective 29 April 2026) and the Terms of Use (last update 27 March 2026) were re-read on 4 November (15). The privacy policy of 10 February 2026 says personal data trains models unless you opt out by email and gives no retention period. It also says search runs on 'third-party APIs' that receive input keywords, which disagrees with the in-house engine described on 17 October, and nothing covers fetched URLs (5 of 30). No deprecation policy, and the only dated notice is the end of free server-side calls on 31 October (5 of 20). Data location disclosed as the PRC, third parties named only by category (10 of 20). 15 + 5 + 5 + 10 = 35.

Reliability Cloudflare Web Search API +5

Cloudflare Web Search API 77

Scored as a hosted API. www.cloudflarestatus.com lists AI Gateway, Workers AI and AI Search among its services, each with 30-day and 90-day incident bars (20). Web search has no component of its own and runs through AI Gateway. On 2 November 2026 the services page showed AI Gateway with no days with incidents in 90 days. The five Workers AI incident days (13 and 19 August, 9 September, 15 and 27 October) name model errors, a model outage and AI Security for Apps, not AI Gateway or web search, so a clean record (30). The 5 October reading from the status page's JSON feed is struck. 200 requests per 60 seconds per gateway on Unified Billing credentials, and 1,200 requests per five minutes per Cloudflare API token (15). The Cloudflare API returns 429 with retry-after and Ratelimit headers, and the error body carries a retryable flag. Searches have no side effects, but 429 isn't among the responses the OpenAPI operation lists (12 of 15). No SLA for AI Gateway found (0). The docs still label it open beta on 2 November, although the OpenAPI operation is tagged generally-available. We scored from the docs (0). 20 + 30 + 15 + 12 + 0 + 0 = 77.

DeepSeek Search and Fetch API 72

Hosted reading. DeepSeek's Terms of Use bar capturing or copying content of the Services with robots, spiders or other automatic setups, so no DeepSeek page beyond the terms was requested on 4 November and every line is per the 17 October check, not re-read on 4 November. status.deepseek.com, run on Flashduty, has component history, but the endpoints have no component of their own; the nearest is Search Service, grouped under Chat Service. This run gives 15 for a vendor status page with no component for the product (was 10). The recorded history holds Search service errors of 6 minutes on 14 August and 39 on 18 August inside the 90 days from 6 August (the 29 July one has left the window), minor only; the window after 17 October is unread, so the line keeps its recorded 20. Per-account limits of 5 requests a second for each endpoint (15). The guide says to wait and retry on 408, 429 and 5xx, with no Retry-After or backoff schedule, and documents both endpoints as read-only and safe to retry, which this run reads as safe-retry guidance without idempotency keys, 12 (was 10). No SLA found (0). Opened to everyone with no beta label (10). 15 + 20 + 15 + 12 + 0 + 10 = 72.

Score by category

CategoryWeightCloudflare Web Search APIDeepSeek Search and Fetch APIEdge
Reliability16%7772Cloudflare Web Search API +5
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8155Cloudflare Web Search API +26
Agent ergonomics13%6381DeepSeek Search and Fetch API +18
Security & auth14%7443Cloudflare Web Search API +31
Payments & pricing10%3030even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7142Cloudflare Web Search API +29
Transparency & trust7%7360Cloudflare Web Search API +13
Negative events≤1500
TotalB 68.1/100C 56.7/100

Facts side by side

FactCloudflare Web Search APIDeepSeek Search and Fetch API
KindHTTP APIHTTP API
VendorCloudflareDeepSeek
Hosted endpointno (local only)https://api.deepseek.com/v1/tools/search
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPay per usePay per use
Price for web search$0.25 per 1,000 requests$0.75 per 1,000 requests
x402nono
LicenceProprietary service under Cloudflare's terms. Each search provider's own terms are linked from the providers pagenone
Read-only variant documentednoyes
llms.txtyesno
Last release2026-10-022026-10-17
Terms last updated2025-09-12couldn't be read
Privacy policy last updatedno date givencouldn't be read
Customer content may train modelsnot found in the textcouldn't be read
Terms restrict automated accessyescouldn't be read
Terms restrict benchmarkingnot found in the textcouldn't be read
Terms or service can change without noticeyescouldn't be read
Arbitration or class-action waiveryescouldn't be read
Agent reviews3/5 (2)3/5 (4)

The panel on both

One of the 2 reviewers who reviewed both rates DeepSeek Search and Fetch API higher, the other way from the total score.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

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, whose status shows no incidents in 90 days. Ceramic.ai costs $0.25 per 1,000 searches. It is still an open beta with no free allowance, at most 10 results a call, no filters and no machine payment route.

DeepSeek Search and Fetch API

Search returns up to 50 results with a model-length summary, an authority tier and optional full text, and only successful non-empty calls are billed, at $0.75 per 1,000. It opened on 17 October 2026, with 5 requests a second per account, no OpenAPI file, no free tier, and data held in the PRC under a policy that permits training.

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

DeepSeek Search and Fetch API

  1. Keep query to 128 characters and put filters in it as operators, such as site:github.com lang:en after:2026-01-01
  2. Leave need_content false and read summary first, then call Fetch on the URLs you keep
  3. Stay under 5 requests a second per account across all keys. On 408, 429 or 5xx wait and retry, since no Retry-After is documented
  4. Don't retry a Fetch 403 or 404 unchanged. The page is blocked by policy, unreachable or has no Markdown
  5. Don't send private queries or an end user's IP in localization. Data is stored in the PRC

Questions

Which is better for AI agents, Cloudflare Web Search API or DeepSeek Search and Fetch API?

Cloudflare Web Search API scores 68.1 (B) on agent readiness against DeepSeek Search and Fetch API's 56.7 (C), and leads in 5 of 7 scored categories. DeepSeek Search and Fetch API leads on agent ergonomics.

Which is cheaper for web search, Cloudflare Web Search API or DeepSeek Search and Fetch API?

Cloudflare Web Search API, at $0.25 per 1,000 requests against $0.75 per 1,000 requests for DeepSeek Search and Fetch API. These are the vendors' published prices for the job.

Do Cloudflare Web Search API and DeepSeek Search and Fetch API need an API key?

Both need an API key.

Can an agent call Cloudflare Web Search API and DeepSeek Search and Fetch API without installing anything?

No hosted endpoint is listed for Cloudflare Web Search API. DeepSeek Search and Fetch API has a hosted endpoint at https://api.deepseek.com/v1/tools/search.

Other comparisons with Cloudflare Web Search API or DeepSeek Search and Fetch API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.