← 返回接入教程
POST
/api/proxy/search · Search 搜索
根据查询语句搜索网络内容,返回最相关的结果。
请求参数
代码示例
cURL
Python
JavaScript
Go
curl -X POST https://tavily.sharyuke.com/api/proxy/search \
-H "Authorization: Bearer thb-xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{ "query": "最新的人工智能研究进展", "max_results": 5, "search_depth": "advanced" }'响应示例
{ "code": 0, "message": "ok", "data": { "ok": true, "data": { "results": [{ "title": "Example Result", "url": "https://example.com", "content": "...", "score": 0.95 }], "query": "...", "response_time": 1.2 }, "credits": 1 } }错误码
准备好接入了吗?
邮箱注册即可免费使用,每月 7,200 次免费调用,无需信用卡。