[KongchangAI]
ProductDeepSeek Search API

Search API

A search capability API opened by DeepSeek that allows developers to integrate a retrieval-plus-generation combination into their own applications without building their own crawling, cleaning and ranking pipelines.

Core Facts

Timeline (last 90 days)

Nov 19

DeepSeek announced that starting from 12:00 on November 18, search and web scraping will no longer be billed; server-side search is billed only by tokens, with web tools and two WebSearch tools triggering this change, while the standalone Search and Fetch APIs are still charged per call.

Unverified50%
Oct 19

The Search API limit is 100 QPS per account, and the Fetch API limit is 25 QPS per account.

Unverified50%
Oct 19

The Search and Fetch APIs are both priced at USD 0.75 per 1,000 successful requests.

Expired50%
Oct 19

Search and Fetch use the same endpoint prefix; the endpoints given in the official guide are POST https://api.deepseek.com/v1/tools/search and POST https://api.deepseek.com/v1/tools/fetch, both using a Bearer API key and a JSON request body.

Unverified50%
Oct 19

Search accepts a required query parameter, an optional result count count between 1 and 50, and a need_content parameter; Fetch accepts a URL and returns a title plus Markdown content.

Unverified50%
Oct 19

These two APIs use a billable-on-success model: a Search is billed only when it returns HTTP 200 with non-empty results, and a Fetch is billed only when it returns page content; empty results, failed requests and timeouts are not charged.

Unverified50%
Oct 19

Research agents and retrieval APIs are two different layers: a retrieval API is only responsible for fetching external information, whereas a research agent is a loop system that plans questions on its own, decides what to search for, which pages to select, and how to integrate the answers.

Unverified50%
Oct 19

Directly calling the two APIs Search and Fetch does not amount to having a research agent, because decision logic, source review, error recovery, and cost control are still missing.

Unverified50%
Oct 19

One search followed by fetching five pages is six API calls, not one, so cost should be calculated separately by number of calls.

Unverified50%
Oct 19

The example code requires the query string to be 1 to 128 characters long and the count parameter to be between 1 and 50, otherwise a ValueError is raised.

Unverified50%

12 more timeline events

All Facts (19)

Verified

DeepSeek launched a Search and Fetch API, split into two layers of capability: Search retrieval and Fetch web content extraction.

75%
Verified

DeepSeek has simultaneously opened up its Search API.

65%
Unverified

The Search API limit is 100 QPS per account, and the Fetch API limit is 25 QPS per account.

50%
Unverified

One search followed by fetching five pages is six API calls, not one, so cost should be calculated separately by number of calls.

50%
Unverified

These two APIs use a billable-on-success model: a Search is billed only when it returns HTTP 200 with non-empty results, and a Fetch is billed only when it returns page content; empty results, failed requests and timeouts are not charged.

50%
Unverified

Research agents and retrieval APIs are two different layers: a retrieval API is only responsible for fetching external information, whereas a research agent is a loop system that plans questions on its own, decides what to search for, which pages to select, and how to integrate the answers.

50%
Unverified

Directly calling the two APIs Search and Fetch does not amount to having a research agent, because decision logic, source review, error recovery, and cost control are still missing.

50%
Unverified

The example code requires the query string to be 1 to 128 characters long and the count parameter to be between 1 and 50, otherwise a ValueError is raised.

50%
Unverified

External search calls should set a timeout to avoid indefinitely hanging the worker process.

50%
Unverified

Search and Fetch use the same endpoint prefix; the endpoints given in the official guide are POST https://api.deepseek.com/v1/tools/search and POST https://api.deepseek.com/v1/tools/fetch, both using a Bearer API key and a JSON request body.

50%
Unverified

Search accepts a required query parameter, an optional result count count between 1 and 50, and a need_content parameter; Fetch accepts a URL and returns a title plus Markdown content.

50%
Unverified

The Search API (POST /v1/tools/search) returns structured web results, including title, URL, summary, site authority tier, and relevance score, and is rate-limited to 5 requests per second.

50%
Unverified

The essence of model vendors opening Search APIs is packaging the engineering of "query rewriting—retrieval—reranking—stitching" into a service, so developers can get retrieval results with sources just by calling the interface.

50%
Unverified

The risk of depending on a vendor's Search API is that retrieval quality, result freshness, and content compliance policies are all controlled upstream, so serious applications should design the retrieval layer as a replaceable adapter.

50%
Unverified

Perplexity opens its underlying retrieval capabilities to external developers through the Search API.

50%
Unverified

GitHub's search system is based on the Search API and supports a syntax system known as Search Qualifiers, including qualifiers such as is:open, comments:>, no:assignee, and org:.

50%
Unverified

DeepSeek announced that starting from 12:00 on November 18, search and web scraping will no longer be billed; server-side search is billed only by tokens, with web tools and two WebSearch tools triggering this change, while the standalone Search and Fetch APIs are still charged per call.

50%
Partially Verified

DeepSeek released the V4.1-Flash-1017 model on October 17, adding the Search and Fetch APIs.

65%
Unverified

Perplexity has introduced Fast Search capability into its Search API.

50%

Source Articles