Douyin hot events calendar
tikhub.x.douyin-billboard-fetch-hot-calendar-listDouyin: fetch hot calendar list (billboard)
- Price
- $0.001/successAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
- Latency p50
- ——
- Last verified
- 30 juil. 2026Verified working
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-billboard-fetch-hot-calendar-listPreviewTry onlineBientôtProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Corps (JSON) | ||||
end_date | entier | Facultatif | 快照结束时间 格式10位时间戳 | 1735488000 |
city_code | chaîne | Facultatif | 城市编码,从城市列表获取,空为全部 | |
start_date | entier | Facultatif | 快照开始时间 格式10位时间戳 | 1734902400 |
category_code | chaîne | Facultatif | 热点榜分类编码,从热点榜分类获取,空为全部 | |
- Corps (JSON)
end_dateentierFacultatif快照结束时间 格式10位时间戳
Exemple :
1735488000city_codechaîneFacultatif城市编码,从城市列表获取,空为全部
start_dateentierFacultatif快照开始时间 格式10位时间戳
Exemple :
1734902400category_codechaîneFacultatif热点榜分类编码,从热点榜分类获取,空为全部
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-billboard-fetch-hot-calendar-list' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"end_date":1735488000,"start_date":1734902400}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-billboard-fetch-hot-calendar-list",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"end_date\":1735488000,\"start_date\":1734902400}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.douyin-billboard-fetch-hot-calendar-list", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"end_date\":1735488000,\"start_date\":1734902400}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en préversion ; 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.