怎么用 Web Search API 查新闻、论文、专利、商品或地点?为什么 news 没摘要、places 没 url?
在 POST /v1/web/search 中传入 type 即可切换 web(默认)、news、images、videos、scholar、patents、shopping、places 八种垂直搜索,无论选哪种类型或 max_results(1–10),单次成功费用均为 $0.005。不同类型字段不同:news 不返回 snippet(需要正文请用 POST /v1/web/read 读原文),places 不返回 url(官网和地址在 website、address、phone 字段里)。
8 种 type 的核心字段与筛选限制
示例:检索学术论文
- 中日韩语言自动识别:同时省略
country和language时,中文、日文或韩文查询会自动按对应语言与地区检索。 - 避免
400 bad_request:查scholar、patents、shopping、places时不要附带time_range或域名过滤参数。详见 BeatAPI Web Search API 与 Web Search API 参考。

