Douyin High Quality Video Play URL (Web)

https://api.sandbase.ai/v1/api/douyin/web/video-high-quality-play-url

Returns the highest quality playback URL for a Douyin video using a video ID or share URL, with an optional exit region specification.

Price
$0.0075USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
0 required · 3 optional
Production route

Try the model

Playground

Open playground
Input
Video id, prefer to use aweme_id, if not available, use share_url.
Optional, ISO country code (e.g. "CN" / "US" / "HK") used as the request exit region.
Optional, share link, if the video id is provided, this parameter can be omitted.
OutputExample
Responseoutputs · 344 B · 11 lines
[
  {
    "data": {
      "content_type": "video/mp4",
      "file_size": "82274121",
      "file_size_in_mb": 78.46,
      "original_video_url": "https://v9-colds.douyinvod.com/0173418391f6dbc5722fc07ad18a0abe/6a86da88/video/tos/cn/tos-cn-v-0015c800/ooEeAYuCeuIAzDrAghgYXL44gAeRABerCIVbU2/",
      "video_id": "7512756548356492544"
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0075 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

aweme_id
string · optional
region
string · optional
share_url
string · optional

Access

Provider
Douyin
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/douyin/web/video-high-quality-play-url
Authentication
Bearer API key

API README

Douyin High Quality Video Play URL (Web) API

Retrieve high-quality playback links for Douyin videos by providing an aweme_id or share_url. An optional region code can be specified to route the request through a designated exit region.

Use cases

  • Extract maximum resolution video streams for media analysis.
  • Stream high-definition Douyin video content in external players.
  • Archive high-quality Douyin media using video IDs or share links.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/video-high-quality-play-url" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Parameters

NameTypeRequiredDescription
regionstringNoOptional, ISO country code (e.g. "CN" / "US" / "HK") used as the request exit region.
aweme_idstringNoVideo id, prefer to use aweme_id, if not available, use share_url.
share_urlstringNoOptional, share link, if the video id is provided, this parameter can be omitted.

Notes

  • Provide aweme_id as the preferred identifier, or supply share_url if the video ID is not available.
  • Specify region as an ISO country code such as CN, US, or HK to set the request exit location.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/douyin/web/video-high-quality-play-url
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/douyin/web/video-high-quality-play-url" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "region": "CN",
  "aweme_id": "7512756548356492544",
  "share_url": "https://static.sandbase.ai/examples/2d775896-4018-4f17-b056-55b641a736b3/input/7e844029-329b-4b7a-a407-bd7e1f15f4ca.bin"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Douyin$0.0075 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.04 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Douyin High Quality Video Play URL (Web) API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/web/video-high-quality-play-url with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Douyin High Quality Video Play URL (Web) API cost?

$0.0075 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Douyin High Quality Video Play URL (Web) API accept?

No parameters are required. Optional: aweme_id (string), region (string) and share_url (string). The Parameters table and the Playground on this page list every field.

What does the Douyin High Quality Video Play URL (Web) API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Douyin developer account or API key?

No. Douyin High Quality Video Play URL (Web) runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Douyin API access separately.