Douyin best-quality play URLs in bulk
tikhub.x.douyin-app-v3-fetch-multi-video-high-quality-play-urlBatch get the highest quality play URL of videos
- Price
- $0.25/successAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- Jul 28, 2026Verified working
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-app-v3-fetch-multi-video-high-quality-play-urlPreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Request body (JSON) | ||||
region | string | 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 | string | Optional | Video id list, separated by commas, up to 50 | 7512756548356492544,7448118827402972455,7126745726494821640 |
- Request body (JSON)
regionstringOptionalOptional, ISO country code (e.g. CN). Pass 'CN' for users in mainland China to get China-region CDN URLs for faster download.
Example:
CNaweme_idsstringOptionalVideo id list, separated by commas, up to 50
Example:
7512756548356492544,7448118827402972455,7126745726494821640
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-app-v3-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-app-v3-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-app-v3-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());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.25/success, including the service fee.