Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Douyin High Quality Video Play URL (App V3)

เอกสาร API
https://api.sandbase.ai/v1/api/douyin/app-v3/video-high-quality-play-url

Returns the highest quality playback URL for a Douyin video using a video identifier or share link, with optional region filtering.

ราคา
$0.005USD / คำขอ
Method
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 · 361 B · 11 บรรทัด
[
  {
    "data": {
      "content_type": "video/mp4",
      "file_size": "174261310",
      "file_size_in_mb": 166.19,
      "original_video_url": "https://v3-dy-o.zjcdn.com/73eb355b5c126b5760f2cdb580a45e50/6a860313/video/tos/cn/tos-cn-v-0015c001/ocAYBBtUGITlM7fIbOteCLZrKGlK3WI8ppwjeA/?cc=1f&req_cdn_type=",
      "video_id": "7662510757757603122"
    }
  }
]

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

Douyin High Quality Video Play URL (App V3) API

Returns a direct playback URL for a Douyin video, plus basic file details. It needs an aweme_id or a share_url. You can also set an optional region to choose the request exit region.

Use cases

  • Download or cache a Douyin video file from its aweme_id for offline review.
  • Turn a Douyin share link into a direct video file address.
  • Feed a video URL into a transcription or content analysis pipeline.
  • Request the video URL through a chosen exit region such as CN, US or HK.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/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": "application/xml",
  "file_size": "0",
  "file_size_in_mb": 0.0,
  "original_video_url": "https://v11-cold-src.douyinvod.com/9cc3869316e50941773fa3830c54be27/6ae99bfb/vid…",
  "video_id": "7512756548356492544"
}

Response fields

FieldMeaning
original_video_urlDirect address of the video file on Douyin's video host. Use this as the playback or download link.
video_idID of the video the URL belongs to. In the sample it matches the aweme_id that was sent.
content_typeContent type reported for the file. The sample shows application/xml, so check this value before treating the URL as a plain video file.
file_size / file_size_in_mbFile size values. The sample returns "0" and 0.0, so these may not be filled in for every video.

Notes

Pricing

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

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Douyin$0.005 ต่อการเรียกJSON
Douyin$0.001 ต่อการเรียกJSON
Douyin$0.001 ต่อการเรียกJSON
Douyin$0.001 ต่อการเรียกJSON
Douyin$0.001 ต่อการเรียกJSON
Douyin$0.001 ต่อการเรียกJSON

คู่มือ:Best Douyin API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Douyin High Quality Video Play URL (App V3) API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/app-v3/video-high-quality-play-url โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Douyin High Quality Video Play URL (App V3) API ราคาเท่าไร?

$0.005 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Douyin High Quality Video Play URL (App V3) API รับพารามิเตอร์อะไรบ้าง?

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: aweme_id (string), region (string) และ share_url (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Douyin High Quality Video Play URL (App V3) API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Douyin ไหม?

ไม่จำเป็น Douyin High Quality Video Play URL (App V3) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก