跳转到内容
DarkSeek API 开发者预览。 查看支持的功能与上线状态

搜索

POSThttps://api.darkseeks.com/v1/tools/search

Search the web for a query and return a ranked list of structured results. 关于协议、错误和计费注意事项,请参阅 搜索与抓取指南。

接口预览 · 尚未公开启用

查看可用性.

请求

application/json
请求体 必填
querystring必填
最少字符数: 1最多字符数: 128

The search query. Must contain 1 to 128 Unicode characters and cannot be all whitespace. Intended operators include site:, -site: and quoted phrases; operator support is not yet certified.

countinteger
可选值: ≥ 1 and ≤ 50默认值: 10

The number of results to return, between 1 and 50.

ori_questionstring可为空
最少字符数: 1最多字符数: 128

The original question that triggered the search. null is treated as not provided.

localizationstring
默认值: ""

An optional IP-address hint for localization. Provider handling and privacy policy must be verified before this field is enabled.

need_contentboolean
默认值: false

Whether to return page content in content. When false, content is always an empty string.

响应

200

预期的成功响应。没有匹配页面时返回空结果。

application/json
结构
results object[] 必填

The search results. Empty when the query matches no results.

Array [
rerank_scorefloat必填
可选值: ≥ 0 and ≤ 3

Reserved relevance score in the intended compatibility contract. DarkSeek ranking quality and score calibration are not certified; these are not DeepSeek scores.

titlestring必填

The title of the search result.

urlstring必填

The source URL of the search result.

snippetstring必填

A short query-related summary for display, typically 100 to 200 characters.

summarystring必填

A longer query-related summary for model consumption, typically 600 to 800 characters.

contentstring必填

Page content. Empty when need_content is false or content is unavailable.

site_namestring可为空必填

The site name, or null when unavailable.

site_iconstring可为空必填

The site icon URL, or null when unavailable.

datedate-time可为空必填

Publication time in UTC, formatted as RFC 3339, or null when unknown.

authorityinteger必填
可选值: ≥ -1 and ≤ 4

Reserved authority tier: 0 to 4, or -1 when unknown. Authority classification is not yet certified.

]

Privacy and failures

Queries and localization hints must only reach an approved provider under the published privacy policy. Unavailable service is a typed failure, never fabricated results. No public Search fee is enabled. Retrieved text is untrusted data, not instructions.