Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Douyin Video ID Extractor

Documentazione API
https://api.sandbase.ai/v1/api/douyin/web/aweme-id

Extracts the internal video ID from a given Douyin video web URL. Useful for parsing links before calling downstream video detail endpoints.

Prezzo
$0.001USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 0 opzionali

Playground

Input
OutputEsempio
Rispostaoutputs · 45 B · 5 righe
[
  {
    "data": "7675551740036612985"
  }
]

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel playground.

README API

Douyin Video ID Extractor API

Extract the aweme_id (Douyin video ID) from a Douyin video link. Pass a https://www.douyin.com/video/<aweme_id> link.

Use cases

  • Normalize shared links before calling video detail, comments or download APIs, which take aweme_id.
  • Deduplicate videos collected as links from different sources.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/aweme-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.douyin.com/video/7512756548356492544"}'

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

Parameters

NameTypeRequiredDescription
urlstringYes

Example response

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

"7512756548356492544"

Response fields

FieldMeaning
(body)The aweme_id as a string, for example "7512756548356492544".

Notes

  • For many links in one call use Douyin All Aweme IDs.
  • Keep the ID as a string; it exceeds JavaScript's safe integer range.

Pricing

$0.001 per successful call. Failed calls, including lookups whose target does not exist, are not charged. It is included in the daily free quota of each organization.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Douyin$0.001 per chiamataJSON
Douyin$0.001 per chiamataJSON
Douyin$0.001 per chiamataJSON
Douyin$0.001 per chiamataJSON
Douyin$0.03 per chiamataJSON
Douyin$0.15 per chiamataJSON

Guide:Best Douyin API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API Douyin Video ID Extractor?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/douyin/web/aweme-id con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Douyin Video ID Extractor?

$0.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Douyin Video ID Extractor?

Richiesti: url (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Douyin Video ID Extractor?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Douyin?

No. Douyin Video ID Extractor funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Douyin.