Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Douyin High Quality Video Play URL (Web)

API 문서
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.

가격
$0.005USD / 호출
메서드
POST
응답
JSON
매개변수
필수 0개 · 선택 사항 3개

Playground

입력
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.
출력예시
응답outputs · 344 B · 11줄
[
  {
    "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"
    }
  }
]

예시

예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.

API README

Douyin High Quality Video Play URL (Web) API

Returns a direct playback URL for the highest quality version of a Douyin video. It needs an aweme_id or a share_url, and you can set an exit region.

Use cases

  • Download a Douyin video file to store in your own media archive.
  • Feed the playback URL into a video player or transcoding job.
  • Check the file size of a Douyin video before you fetch it.
  • Convert a Douyin share link into a direct video link for review tools.

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 '{"aweme_id": "7512756548356492544", "share_url": "https://www.douyin.com/video/7512756548356492544", "region": "CN"}'

The result is returned in outputs[0].data.

Parameters

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

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "content_type": "text/html",
  "file_size": "564",
  "file_size_in_mb": 0.0,
  "original_video_url": "https://v96-hcc.douyinvod.com/07b591ad2101ff883bf64842bc3366c5/6ae99c31/video/to…",
  "video_id": "7512756548356492544"
}

Response fields

FieldMeaning
original_video_urlDirect playback URL of the video file. The URL is long and contains query parameters, so keep it whole.
video_idID of the video the URL belongs to. It matches the aweme_id you sent.
file_sizeSize of the file as a string. Compare it with file_size_in_mb to see the scale.
file_size_in_mbFile size in megabytes as a number. It can show 0.0 for very small files.
content_typeContent type value returned with the result. In this sample it is text/html.

Notes

  • Send aweme_id when you have it. Use share_url only when the ID is not available.
  • The aweme_id is the numeric ID at the end of a video link, for example 7512756548356492544 in https://www.douyin.com/video/7512756548356492544.
  • To get an ID from a link, call Douyin Video ID Extractor.
  • To look up several videos in one call, use Douyin High-Quality Video Play URLs.

Pricing

$0.005 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

더 살펴보기

관련 API

모든 API
API가격응답
Douyin$0.005 / 호출JSON
Douyin$0.001 / 호출JSON
Douyin$0.001 / 호출JSON
Douyin$0.001 / 호출JSON
Douyin$0.001 / 호출JSON
Douyin$0.03 / 호출JSON

가이드:Best Douyin API in 2026: Pricing Compared

질문

FAQ

Douyin High Quality Video Play URL (Web) API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/douyin/web/video-high-quality-play-url에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Douyin High Quality Video Play URL (Web) API 비용은 얼마인가요?

호출당 $0.005, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Douyin High Quality Video Play URL (Web) API는 어떤 매개변수를 받나요?

필수 매개변수는 없습니다. 선택: aweme_id (string), region (string) 및 share_url (string). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Douyin High Quality Video Play URL (Web) API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Douyin 개발자 계정이나 API 키가 필요한가요?

아니요. Douyin High Quality Video Play URL (Web)은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Douyin API 액세스를 별도로 신청할 필요는 없습니다.