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

Douyin Batch Video ID Extraction

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

Extracts video IDs from a list of Douyin video URLs. Accepts an array of links and returns the corresponding item identifiers.

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

Playground

Input
Video link list
OutputEsempio
Rispostaoutputs · 59 B · 7 righe
[
  {
    "data": [
      "7512756548356492544"
    ]
  }
]

Esempi

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

README API

Douyin Batch Video ID Extraction API

Extract aweme_id values (Douyin video IDs) from several Douyin video links in one call.

Use cases

  • Convert a batch of shared links into IDs for bulk video detail or comment collection.

Request

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

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

Parameters

NameTypeRequiredDescription
bodyarrayYesVideo link list

Example response

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

[
  "7512756548356492544"
]

Response fields

FieldMeaning
(body)Array of aweme_id strings, in the order of the input links.

Notes

  • Pass the links as a JSON array in body.
  • For a single link use Douyin Aweme ID.

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 Batch Video ID Extraction?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/douyin/web/all-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 Batch Video ID Extraction?

$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 Batch Video ID Extraction?

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

Cosa restituisce l'API Douyin Batch Video ID Extraction?

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 Batch Video ID Extraction 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.