Douyin DOU+ video ranking
tikhub.x.douyin-douplus-fetch-video-rankingDouyin: fetch video ranking (douplus)
- Prix
- $0.001/successAu prix catalogue
- Taux de réussite
- —Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
- Latence p50
- ——
- Dernière vérification
- 28 juil. 2026Vérifié et opérationnel
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-douplus-fetch-video-rankingBeta- Utilise le quota de la plateforme
- Réponse synchrone
- Lit des données publiques
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Corps (JSON) | ||||
adv_id | chaîne | Facultatif | Advertiser id (optional) | |
tag_id | chaîne | Facultatif | 垂类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 | chaîne | Facultatif | 榜单维度/Ranking dimension: 1=低粉爆款, 2=高完播率, 3=高点赞率, 4=高涨粉率, 5=热度指数 | 5 |
time_range | chaîne | Facultatif | Time range: 1 / 2 / 3 | 2 |
- Corps (JSON)
adv_idchaîneFacultatifAdvertiser id (optional)
tag_idchaîneFacultatif垂类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汽车
Exemple :
634dim_typechaîneFacultatif榜单维度/Ranking dimension: 1=低粉爆款, 2=高完播率, 3=高点赞率, 4=高涨粉率, 5=热度指数
Exemple :
5time_rangechaîneFacultatifTime range: 1 / 2 / 3
Exemple :
2
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Beta
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());Cette API de passerelle est en version Beta ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.001/success, frais de service inclus.