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

TikTok Video Transcript (native captions)

Documentazione API
https://api.sandbase.ai/v1/api/tiktok/video-transcript

Fetch the caption track TikTok itself published for a video, as TikTok wrote it. It is the cheapest way to get the words, and it is only as good as TikTok's own transcription: it mishears names and uncommon words, and many videos - especially non-English ones - have no caption track at all, which comes back as not found. When you need the words to be right, or there is no track to read, tiktok.video_transcript_full transcribes the audio with speech-to-text instead.

Prezzo
Da $0.0011USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 1 opzionali

Playground

Input
TikTok video URL on tiktok.com: a video or photo post (https://www.tiktok.com/@<user>/video/<id> or /photo/<id>) or a vm.tiktok.com, vt.tiktok.com or tiktok.com/t/ share link. A profile link (https://www.tiktok.com/@<user>), a /@<user>/<id> link without /video/ (TikTok sends it to the For You feed, not a video), a video file link (tiktokcdn.com) or a link to any other site is refused as invalid input, with no charge.
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `language`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

TikTok Video Transcript (native captions) API

Returns the caption track TikTok published for one video, as a WebVTT text with timestamps. It needs a TikTok video or photo post URL. If the video has no caption track, the call succeeds and returns found: false.

Use cases

  • Pull the spoken words from a news clip to quote or search them.
  • Index captions from many videos to find which ones mention a brand, product or topic.
  • Read the caption language to sort videos by spoken language before further analysis.
  • Feed the caption text into a summary or sentiment pipeline without downloading the video.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/video-transcript" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.tiktok.com/@washingtonpost/video/7609177768793787679"}'

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

Parameters

NameTypeRequiredDescription
urlstringYesTikTok video URL on tiktok.com: a video or photo post (https://www.tiktok.com/@<user>/video/<id> or /photo/<id>) or a vm.tiktok.com, vt.tiktok.com or tiktok.com/t/ share link. A profile link (https://www.tiktok.com/@<use
requireFieldsarrayNoOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example language, and it is served only by a source that returns every one o

Example response

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

{
  "data": {
    "id": "7609177768793787679",
    "language": "en",
    "transcript": "WEBVTT\n\n\n00:00:00.020 --> 00:00:01.540\nYour tariffs are illegal. They're not.\n\n0…",
    "url": "https://www.tiktok.com/@washingtonpost/video/7609177768793787679"
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when TikTok has a caption track for the video. false means no track was found.
data.idThe numeric TikTok video ID, taken from the URL.
data.languageLanguage code of the caption track, for example en.
data.transcriptThe caption track in WebVTT format. Each cue has a start and end time (HH:MM:SS.mmm) followed by the caption text.
data.urlThe TikTok video URL the transcript belongs to.

Notes

  • Pass a full video URL such as https://www.tiktok.com/@<user>/video/<id>, a /photo/<id> URL, or a vm.tiktok.com, vt.tiktok.com or tiktok.com/t/ share link. Profile links and video file links are refused as invalid input.
  • Set requireFields to ["language"] to make sure the serving source returns data.language. This can change the price of the call.
  • The text is TikTok's own transcription, so names and uncommon words can be wrong. If the track is missing or must be accurate, use the full transcription API tiktok.video_transcript_full.

Pricing

Billed at the actual cost of each call, about $0.0011 for the request above. Failed calls are not charged.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
TikTokDa $0.0011 per chiamataJSON
TikTokDa $0.0012 per chiamataJSON
TikTokDa $0.0008 per chiamataJSON
TikTokDa $0.0008 per chiamataJSON
TikTok$0.001 per chiamataJSON
TikTok$0.001 per chiamataJSON

Guide:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API TikTok Video Transcript (native captions)?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok/video-transcript 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 TikTok Video Transcript (native captions)?

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

Quali parametri accetta l'API TikTok Video Transcript (native captions)?

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

Cosa restituisce l'API TikTok Video Transcript (native captions)?

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 TikTok?

No. TikTok Video Transcript (native captions) 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 TikTok.