DeepSeek web search
Find web links, summaries, and optional page content by query.
/v1/tools/searchAuthorization
bearerAuth Use an API Key issued by the platform.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Unknown fields are ignored upstream and do not select a model or group.
Response Body
application/json
application/json
application/json
Search syntax
Combine keywords with these operators in query; no additional request fields are needed.
| Operator | Usage |
|---|---|
site: | DeepSeek site:github.com limits results to a site; join multiple sites with OR |
-site: | DeepSeek -site:example.com excludes a site |
-, -"..." | DeepSeek -ads -"release notes" excludes keywords or phrases |
"..." | DeepSeek "exact phrase" matches a complete phrase |
lang: | DeepSeek lang:zh,en limits languages; separate multiple languages with commas |
after:, before: | DeepSeek after:2026-01-01 before:2026-11-01 limits publication dates; a year alone is also accepted |
Billing and usage
An HTTP 200 response with nonempty results is billed as one successful request. Empty results, failures, and timeouts are not billed. count and need_content do not increase the number of billable requests per call. No additional usage is returned.
To read the full content of a selected page, use web fetch. For combined calls and model search examples, see the guide.
DeepSeek Search official documentationSee the upstream API definition and latest field changes.