Search the open web
tinyfish.web.searchSearch the web by keyword or meaning, with domain, language, location, and date filters.
- 价格
- free按供应商原价
- 成功率
- 87.8%近 30 天 · 747,613 次
- 延迟 p50
- 1.7 秒p95 4.7 秒
- 最后验证
- 2026年9月23日实测可用
GEThttps://toolswitch.dev/v1/tools/tinyfish.web.search?query=TinyFish+API+documentation&domain_type=web预览在线试用即将上线供应商文档 ↗
- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
page | 整数 | 可选 | ||
fetch | 对象 | 可选 | JSON object in the query string; {} attaches each result's fetched page content. A boolean is rejected (400 INVALID_INPUT). | {} |
query | 字符串 | 必填 | TinyFish API documentation | |
purpose | 字符串 | 可选 | Describe what the results will be used for. | |
language | 字符串 | 可选 | en | |
location | 字符串 | 可选 | United States | |
after_date | 字符串 | 可选 | YYYY-MM-DD; only results after this date. | 2024-01-01 |
before_date | 字符串 | 可选 | YYYY-MM-DD; only results before this date. | 2024-12-31 |
domain_type | 字符串 | 必填 | web | |
exclude_domains | array[string] | 可选 | ||
include_domains | array[string] | 可选 | ||
recency_minutes | 整数 | 可选 | ||
include_thumbnail | 布尔 | 可选 | ||
- 查询参数
page整数可选fetch对象可选JSON object in the query string; {} attaches each result's fetched page content. A boolean is rejected (400 INVALID_INPUT).
示例:
{}query字符串必填示例:
TinyFish API documentationpurpose字符串可选Describe what the results will be used for.
language字符串可选示例:
enlocation字符串可选示例:
United Statesafter_date字符串可选YYYY-MM-DD; only results after this date.
示例:
2024-01-01before_date字符串可选YYYY-MM-DD; only results before this date.
示例:
2024-12-31domain_type字符串必填示例:
webexclude_domainsarray[string]可选include_domainsarray[string]可选recency_minutes整数可选include_thumbnail布尔可选
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
预览
curl -X GET 'https://toolswitch.dev/v1/tools/tinyfish.web.search?query=TinyFish+API+documentation&domain_type=web' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tinyfish.web.search?query=TinyFish+API+documentation&domain_type=web",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tinyfish.web.search?query=TinyFish+API+documentation&domain_type=web", {
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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。