Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Douyin High Quality Video Play URL (App V3)

Docs da 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.

Preço
$0.005USD / chamada
Método
POST
Resposta
JSON
Parâmetros
0 obrigatórios · 3 opcionais

Playground

Entrada
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.
SaídaExemplo
Respostaoutputs · 361 B · 11 linhas
[
  {
    "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"
    }
  }
]

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

README da API

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.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Douyin$0.005 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON

Guias:Best Douyin API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Douyin High Quality Video Play URL (App V3)?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/app-v3/video-high-quality-play-url com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Douyin High Quality Video Play URL (App V3)?

$0.005 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Douyin High Quality Video Play URL (App V3) aceita?

Nenhum parâmetro é obrigatório. Opcionais: aweme_id (string), region (string) e share_url (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Douyin High Quality Video Play URL (App V3) retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Douyin ou de uma chave de API?

Não. Douyin High Quality Video Play URL (App V3) funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Douyin separadamente.