Douyin best-quality play URL by video id or link
tikhub.x.douyin-app-v3-fetch-video-high-quality-play-urlGet the highest quality play URL of the video
- Price
- $0.005/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-app-v3-fetch-video-high-quality-play-url?region=CN&aweme_id=7512756548356492544&share_url=https%3A%2F%2Fwww.douyin.com%2Fvideo%2F7512756548356492544PreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
region | 文字列 | 任意 | Optional, ISO country code (e.g. CN/US/HK). Pass CN to get China-region CDN URLs for faster download in mainland China. | CN |
aweme_id | 文字列 | 任意 | Video id | 7512756548356492544 |
share_url | 文字列 | 任意 | Optional, share link | https://www.douyin.com/video/7512756548356492544 |
- クエリパラメータ
region文字列任意Optional, ISO country code (e.g. CN/US/HK). Pass CN to get China-region CDN URLs for faster download in mainland China.
例:
CNaweme_id文字列任意Video id
例:
7512756548356492544share_url文字列任意Optional, share link
例:
https://www.douyin.com/video/7512756548356492544
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-app-v3-fetch-video-high-quality-play-url?region=CN&aweme_id=7512756548356492544&share_url=https%3A%2F%2Fwww.douyin.com%2Fvideo%2F7512756548356492544' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-app-v3-fetch-video-high-quality-play-url?region=CN&aweme_id=7512756548356492544&share_url=https%3A%2F%2Fwww.douyin.com%2Fvideo%2F7512756548356492544",
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-app-v3-fetch-video-high-quality-play-url?region=CN&aweme_id=7512756548356492544&share_url=https%3A%2F%2Fwww.douyin.com%2Fvideo%2F7512756548356492544", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.005/success です。サービス料を含みます。