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/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/07/28Verified working
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-app-v3-fetch-multi-video-high-quality-play-urlPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| リクエストボディ(JSON) | ||||
region | 文字列 | 任意 | 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 | 文字列 | 任意 | Video id list, separated by commas, up to 50 | 7512756548356492544,7448118827402972455,7126745726494821640 |
- リクエストボディ(JSON)
region文字列任意Optional, ISO country code (e.g. CN). Pass 'CN' for users in mainland China to get China-region CDN URLs for faster download.
例:
CNaweme_ids文字列任意Video id list, separated by commas, up to 50
例:
7512756548356492544,7448118827402972455,7126745726494821640
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.25/success です。サービス料を含みます。