DeepSeek Ships Search and Fetch APIs for Agents
DeepSeek has launched two new APIs that give AI agents and RAG pipelines live web access: a Search API that finds pages for a query, and a Fetch API that retrieves a single page as Markdown. Both are powered by DeepSeek's in-house search engine and billed at $0.75 per 1'000 successful requests. The launch signals DeepSeek's ambition to be not just a model provider but a full infrastructure layer for agent workflows.
What the APIs Do
The Search API (POST /v1/tools/search) takes a query and returns structured results with titles, URLs, snippets, summaries (600 to 800 characters, designed for model consumption), and optional page content. The Fetch API (POST /v1/tools/fetch) takes a URL and returns the page content as Markdown. Both use the same bearer authentication as DeepSeek's model API, so if you already have a DeepSeek API key, you are ready to go.
The Search API supports query operators that will be familiar to anyone who has used a serious search engine: site: to restrict or exclude domains, lang: for language filtering, after: and before: for date ranges, exact phrase matching with quotes, and negation. You can ask for up to 50 results per request, and each result includes a rerank score from 0 to 3 that combines relevance, authority, and freshness. Scores of 1.5 or above are considered high-quality.
The Pricing Model
This is the interesting part. Billing is per successful request, not per token and not per result returned. $0.75 per 1'000 requests for Search, and the same for Fetch. A request is billable only when it returns HTTP 200 and produces a result. Empty search results, timeouts, and errors are not billed. This is unusually clean pricing for the API space, where you typically pay for tokens, characters, or some opaque internal metric.
For comparison, if an agent does 100 searches and 100 fetches in a session, the total web access cost is $0.15. That is cheap enough to make aggressive web browsing by agents economically viable, which is exactly the point. DeepSeek wants agents to use their search infrastructure as a default, not as an expensive add-on.
There is a catch, or rather a grace period. When you use the APIs through DeepSeek Harness, Claude Code, or Codex, server-side tool calls are currently free. Per-request billing starts at 00:00 Beijing time on November 1, 2026. Until then, you can try it out at no cost if you go through those integrations.
Rate Limits and Guardrails
Search and Fetch are rate-limited independently at 5 QPS each, calculated at the account level. Fetch also has a per-domain QPS limit, which prevents a single agent from hammering one site. Requests above the limit get HTTP 429. The error format follows the OpenAI-compatible error schema, with a type of invalid_request_error for bad requests and standard HTTP status codes for everything else.
The Fetch API is subject to the target site's availability and access policies. If a site blocks bots, Fetch will return HTTP 404 with a message that the content could not be retrieved. This is honest behaviour: the API does not pretend to be a browser, and it does not bypass site restrictions.
Why This Matters
Agent frameworks have been cobbling together web access from a mix of SerpAPI, Tavily, Brave Search API, and custom scrapers. Each has its own pricing model, rate limits, and quality issues. DeepSeek is offering a single, cheap, well-documented API that handles both search and fetch, with structured output designed for model consumption. The summaries alone (600 to 800 characters per result) save agents from having to fetch and parse full pages for a quick overview.
The deeper play is vertical integration. DeepSeek now offers the model, the search, and the fetch. If you are building an agent on DeepSeek's models, using their search infrastructure too is the path of least resistance. It reduces latency (no third-party hop), simplifies billing (one account, one invoice), and the per-request pricing is transparent in a way that token-based competitors are not.
The risk is lock-in. If your agent's web access goes through DeepSeek's search engine, you are depending on their index quality, their ranking, and their continued goodwill on pricing. The API is clean enough that switching is possible, but the convenience of having everything in one place is a strong pull. For now, $0.75 per 1'000 requests is hard to argue with.