Douyin DOU+ video ranking
tikhub.x.douyin-douplus-fetch-video-rankingDouyin: fetch video ranking (douplus)
- 价格
- $0.001/success按供应商原价
- 成功率
- —暂无成功率数据暂无成功率数据
- 延迟 p50
- ——
- 最后验证
- 2026年7月28日实测可用
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-douplus-fetch-video-ranking预览在线试用即将上线供应商文档 ↗
- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 请求体(JSON) | ||||
adv_id | 字符串 | 可选 | Advertiser id (optional) | |
tag_id | 字符串 | 可选 | 垂类ID/Category id. 601剧情,602明星,606音乐,607二次元,608游戏,609时事,612舞蹈,614三农,615科技,616财经,617亲子,619生活,621健康,623情感,624文化,625职场,626教育,627摄影,628美食,629旅行,631时尚,633体育,634娱乐,635汽车 | 634 |
dim_type | 字符串 | 可选 | 榜单维度/Ranking dimension: 1=低粉爆款, 2=高完播率, 3=高点赞率, 4=高涨粉率, 5=热度指数 | 5 |
time_range | 字符串 | 可选 | Time range: 1 / 2 / 3 | 2 |
- 请求体(JSON)
adv_id字符串可选Advertiser id (optional)
tag_id字符串可选垂类ID/Category id. 601剧情,602明星,606音乐,607二次元,608游戏,609时事,612舞蹈,614三农,615科技,616财经,617亲子,619生活,621健康,623情感,624文化,625职场,626教育,627摄影,628美食,629旅行,631时尚,633体育,634娱乐,635汽车
示例:
634dim_type字符串可选榜单维度/Ranking dimension: 1=低粉爆款, 2=高完播率, 3=高点赞率, 4=高涨粉率, 5=热度指数
示例:
5time_range字符串可选Time range: 1 / 2 / 3
示例:
2
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
预览
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-douplus-fetch-video-ranking' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"adv_id":"","tag_id":634,"dim_type":5,"time_range":2}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-douplus-fetch-video-ranking",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"adv_id\":\"\",\"tag_id\":634,\"dim_type\":5,\"time_range\":2}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.douyin-douplus-fetch-video-ranking", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"adv_id\":\"\",\"tag_id\":634,\"dim_type\":5,\"time_range\":2}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.001/success 计费,已含服务费。