搜索网页
POST
/web/v1/search使用 DeepSeek 搜索公开网页,可返回正文。有结果时计一个搜索单位,与结果条数无关;无结果和失败不收费。
$0.005 / search了解计费机制 ↗
参数
此操作未声明参数。
请求体
请求字段
| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
count | integer | 否 | |
localization | string | 否 | |
need_content | boolean | 否 | |
ori_question | string | 否 | |
query | string | 是 |
JSON 模型
根据已发布 Schema 生成的 JSON 结构示意,字段值仅为示例,并非实时结果。
JSON 模型
{
"count": 10,
"localization": "string",
"need_content": false,
"ori_question": "string",
"query": "string"
}成功响应200
data 中的字段
| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
results | object[] | 否 | |
results[].authority | integer | 否 | |
results[].content | string | 否 | |
results[].date | string | null | 否 | |
results[].rerank_score | number | 否 | |
results[].site_icon | string | null | 否 | |
results[].site_name | string | null | 否 | |
results[].snippet | string | 否 | |
results[].summary | string | 否 | |
results[].title | string | 否 | |
results[].url | string | 否 |
JSON 模型
根据已发布 Schema 生成的 JSON 结构示意,字段值仅为示例,并非实时结果。
JSON 模型
{
"code": 0,
"data": {
"results": [
{
"authority": 0,
"content": "string",
"date": "string",
"rerank_score": 0,
"site_icon": "string",
"site_name": "string",
"snippet": "string",
"summary": "string",
"title": "string",
"url": "string"
}
]
},
"error": "string"
}