Sand AISand AI MAGI-2MAGI-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.005美元 / 次调用
方法
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?

向 https://api.sandbase.ai/v1/api/douyin/app-v3/video-high-quality-play-url 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Douyin 开发者账户或 API key 吗?

不需要。Douyin High Quality Video Play URL (App V3) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。