Search places with Brave
bravesearch.places.searchFind businesses, landmarks and other points of interest.
- 价格
- $0.005/call按目录价
- 成功率
- —暂无成功率数据暂无成功率数据
- 延迟 p50
- ——
- 最后验证
- 2026年10月30日实测可用
GEThttps://toolswitch.dev/v1/tools/bravesearch.places.search?q=Statue+of+Liberty&count=1&country=USBeta- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
Results may include places and geographic groupings. A synthetic no-match query returned HTTP 422 VALIDATION for mixed rather than a clean empty response; direct calls relay that error.
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
q | 字符串 | 可选 | Statue of Liberty | |
count | 整数 | 可选 | 1 | |
radius | 数字 | 可选 | Meters; biases ranking, does not strictly bound results | |
country | 字符串 | 可选 | US | |
latitude | 数字 | 可选 | ||
longitude | 数字 | 可选 | ||
- 查询参数
q字符串可选示例:
Statue of Libertycount整数可选示例:
1radius数字可选Meters; biases ranking, does not strictly bound results
country字符串可选示例:
USlatitude数字可选longitude数字可选
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
Beta
curl -X GET 'https://toolswitch.dev/v1/tools/bravesearch.places.search?q=Statue+of+Liberty&count=1&country=US' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/bravesearch.places.search?q=Statue+of+Liberty&count=1&country=US",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/bravesearch.places.search?q=Statue+of+Liberty&count=1&country=US", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 $0.005/call 计费,已含服务费。