Get a video play URL
Returns the best available play URL and file size for one video. Use region to pick the CDN region.
8 credits / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
aweme_id*string
Douyin video id, or any douyin.com video URL (/video/, /note/, an iesdouyin share link, or a ?modal_id= link).
Length
1 <= lengthregion?string
ISO country code selecting the CDN region Douyin returns (e.g. CN, US, HK).
curl -X GET "https://example.com/v2/douyin/videos/play-url?aweme_id=7448118827402972455" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "video_id": "v0200fg10000...", "original_video_url": "https://...", "file_size_in_mb": 12.3 }}