Weibo advanced search by keyword with filters
tikhub.x.weibo-web-v2-fetch-advanced-searchWeibo: fetch advanced search (web_v2)
- 价格
- $0.001/success按供应商原价
- 成功率
- 100%近 30 天 · 535 次
- 延迟 p50
- 1.2 秒p95 1.9 秒
- 最后验证
- 2026年7月28日实测可用
GEThttps://toolswitch.dev/v1/tools/tikhub.x.weibo-web-v2-fetch-advanced-search?q=yu7&page=1×cope=custom%3A2025-09-01-0%3A2025-09-08-23&search_type=hot&include_type=pic预览在线试用即将上线供应商文档 ↗
- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
q | 字符串 | 必填 | Search keyword | yu7 |
page | 整数 | 可选 | Page number | 1 |
timescope | other | 可选 | Time scope (custom:start:end) | custom:2025-09-01-0:2025-09-08-23 |
search_type | other | 可选 | 搜索类型/Search type: all(全部), hot(热门), original(原创), verified(认证用户), media(媒体), viewpoint(观点) | hot |
include_type | other | 可选 | 包含类型/Include type: all(全部), pic(含图片), video(含视频), music(含音乐), link(含短链) | pic |
- 查询参数
q字符串必填Search keyword
示例:
yu7page整数可选Page number
示例:
1timescopeother可选Time scope (custom:start:end)
示例:
custom:2025-09-01-0:2025-09-08-23search_typeother可选搜索类型/Search type: all(全部), hot(热门), original(原创), verified(认证用户), media(媒体), viewpoint(观点)
示例:
hotinclude_typeother可选包含类型/Include type: all(全部), pic(含图片), video(含视频), music(含音乐), link(含短链)
示例:
pic
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
预览
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.weibo-web-v2-fetch-advanced-search?q=yu7&page=1×cope=custom%3A2025-09-01-0%3A2025-09-08-23&search_type=hot&include_type=pic' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.weibo-web-v2-fetch-advanced-search?q=yu7&page=1×cope=custom%3A2025-09-01-0%3A2025-09-08-23&search_type=hot&include_type=pic",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.weibo-web-v2-fetch-advanced-search?q=yu7&page=1×cope=custom%3A2025-09-01-0%3A2025-09-08-23&search_type=hot&include_type=pic", {
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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.001/success 计费,已含服务费。