搜索
https://api.darkseeks.com/v1/tools/searchSearch the web for a query and return a ranked list of structured results. 关于协议、错误和计费注意事项,请参阅 搜索与抓取指南。
请求
application/json请求体 必填
querystring必填1最多字符数: 128The 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默认值: 10The number of results to return, between 1 and 50.
ori_questionstring可为空1最多字符数: 128The 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_contentbooleanfalseWhether 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 ≤ 3Reserved 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 ≤ 4Reserved 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.