Douyin live room history list
tikhub.x.douyin-creator-v2-fetch-live-room-history-listDouyin: fetch live room history list (creator_v2)
- Price
- $0.001/successZum Anbieterpreis
- Success rate
- —Noch keine ErfolgsratendatenNoch keine Erfolgsratendaten
- Latency p50
- ——
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-creator-v2-fetch-live-room-history-listPreviewTry onlineDemnächstProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameter
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Anfragetext (JSON) | ||||
limit | Ganzzahl | Optional | 每页数量限制/Limit per page (最多400条) | |
cookie | Zeichenkette | Erforderlich | User Cookie | |
download | Ganzzahl | Optional | 是否下载/Download: 0=不下载, 1=下载 | |
end_date | Zeichenkette | Erforderlich | End date (format YYYY-MM-DD) | |
start_date | Zeichenkette | Erforderlich | Start date (format YYYY-MM-DD) | |
need_living | Ganzzahl | Optional | 是否包含正在直播的场次/Include living rooms: 0=不包含, 1=包含 | |
- Anfragetext (JSON)
limitGanzzahlOptional每页数量限制/Limit per page (最多400条)
cookieZeichenketteErforderlichUser Cookie
downloadGanzzahlOptional是否下载/Download: 0=不下载, 1=下载
end_dateZeichenketteErforderlichEnd date (format YYYY-MM-DD)
start_dateZeichenketteErforderlichStart date (format YYYY-MM-DD)
need_livingGanzzahlOptional是否包含正在直播的场次/Include living rooms: 0=不包含, 1=包含
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-creator-v2-fetch-live-room-history-list' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-creator-v2-fetch-live-room-history-list",
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.douyin-creator-v2-fetch-live-room-history-list", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.001/success einschließlich Servicegebühr abgerechnet.