Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Douyin High Quality Video Play URL (App V3)

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

Prix
$0.005USD / appel
Méthode
POST
Réponse
JSON
Paramètres
0 obligatoires · 3 facultatifs

Bac à sable

Entrée
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.
SortieExemple
Réponseoutputs · 361 B · 11 lignes
[
  {
    "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"
    }
  }
]

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Douyin$0.005 par appelJSON
Douyin$0.001 par appelJSON
Douyin$0.001 par appelJSON
Douyin$0.001 par appelJSON
Douyin$0.001 par appelJSON
Douyin$0.001 par appelJSON

Guides :Best Douyin API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Douyin High Quality Video Play URL (App V3) ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/app-v3/video-high-quality-play-url avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Douyin High Quality Video Play URL (App V3) ?

$0.005 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Douyin High Quality Video Play URL (App V3) accepte-t-elle ?

Aucun paramètre n’est requis. Facultatif : aweme_id (string), region (string) et share_url (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Douyin High Quality Video Play URL (App V3) ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Douyin ?

Non. Douyin High Quality Video Play URL (App V3) fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Douyin séparément.