Back to discover
NewsLearn & research

DeepSeek gives agent developers web search and page-reading APIs

Search and Fetch are software interfaces: one locates pages, the other retrieves page text. Both require a DeepSeek API key.

Glass pages fill a circular cabinet, while one page stands on a separate amber-lit pedestal.
CurioFuse · AI-generated illustration

DeepSeek’s API guide describes two separate ways to give an AI application current web material. Developers send a search query or a page address using their account’s API key. Direct requests are billed only when successful and producing results; empty searches and failed requests are not charged. Page retrieval remains subject to the target website’s access policies.

What search returns

The Search contract accepts queries of up to 128 Unicode characters, with site restrictions supported. It returns ten results by default; the requested count can range from one to fifty. Each result carries a title, link, short snippet and a longer summary intended for a model. Page content is empty by default: developers must request it explicitly, and it can still be unavailable. A result may also carry a publication time in UTC; the response supplies no date when it is unknown.

Reading a selected page

The separate Fetch endpoint accepts one HTTP or HTTPS address, up to 8,192 characters long. The address must identify a host and cannot contain a username or password. Its response contains the page title and Markdown content: text with formatting markers that an application can process. A missing title becomes an empty string.

Sources(4)

Sources & standardsReport a correction