Douyin best-quality play URLs in bulk
tikhub.x.douyin-web-fetch-multi-video-high-quality-play-urlBatch get the highest quality play URL of videos
- Price
- $0.25/successZum Anbieterpreis
- Success rate
- —Noch keine ErfolgsratendatenNoch keine Erfolgsratendaten
- Latency p50
- ——
- Last verified
- 28.07.2026Verified working
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-web-fetch-multi-video-high-quality-play-urlPreviewTry onlineDemnächstProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameter
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Anfragetext (JSON) | ||||
region | Zeichenkette | Optional | Optional, ISO country code (e.g. CN). Pass 'CN' for users in mainland China to get China-region CDN URLs for faster download. | CN |
aweme_ids | Zeichenkette | Optional | Video id list, separated by commas, up to 50 | 7512756548356492544,7448118827402972455,7126745726494821640 |
- Anfragetext (JSON)
regionZeichenketteOptionalOptional, ISO country code (e.g. CN). Pass 'CN' for users in mainland China to get China-region CDN URLs for faster download.
Beispiel:
CNaweme_idsZeichenketteOptionalVideo id list, separated by commas, up to 50
Beispiel:
7512756548356492544,7448118827402972455,7126745726494821640
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-web-fetch-multi-video-high-quality-play-url' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"region":"CN","aweme_ids":"7512756548356492544,7448118827402972455,7126745726494821640"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-web-fetch-multi-video-high-quality-play-url",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"region\":\"CN\",\"aweme_ids\":\"7512756548356492544,7448118827402972455,7126745726494821640\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.douyin-web-fetch-multi-video-high-quality-play-url", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"region\":\"CN\",\"aweme_ids\":\"7512756548356492544,7448118827402972455,7126745726494821640\"}")),
});
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.25/success einschließlich Servicegebühr abgerechnet.