Platforms/TikTok/Video transcript

TikTok Transcript API

GET ยท 1 credit

Send a video's id or link, and get its captions as one text and as timed segments.

GET /v1/tiktok/videos/transcript

What people use it for

  • AI summaries: send what a video says to a language model to summarize or classify it.
  • Search over videos: index transcripts to find which creators talk about a product.
  • Repurposing: turn a video's segments into subtitles or a written post.

How it works with other endpoints

Video ids come from Profile videos, Search or a link. Video lists a video's caption tracks in captions, with the language codes this endpoint takes.

Limits

  • One video, one caption track a call.
  • A video without captions answers 404 NOT_FOUND.

Example request

const url = `${process.env.API_URL}/v1/tiktok/videos/transcript?video_id=7587811642650545421`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
video_idNoA video's or photo post's id: the digits after /video/ or /photo/ in its link. Give video_id or url.
urlNoA video's or photo post's link: tiktok.com/@handle/video/<id> or /photo/<id>. Not a short link (vm.tiktok.com): open it, and copy the link it leads to. Give video_id or url.
languageNoWhich captions: a language as the video endpoint's captions code it, such as eng-US. When left out, the language spoken in the video, else its first captions.

Example response

{
  "data": {
    "video_id": "7587811642650545421",
    "language": "eng-US",
    "text": "I just bought a private island and I'm giving it to one of these people.",
    "segments": [
      {
        "start": 0,
        "end": 2.6,
        "text": "I just bought a private island"
      },
      {
        "start": 2.6,
        "end": 5.4,
        "text": "and I'm giving it to one of these people."
      }
    ]
  },
  "page": null,
  "meta": {
    "platform": "tiktok",
    "endpoint": "video_transcript",
    "params": {
      "video_id": "7587811642650545421"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-30T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

Which language do I get?

The language you pass, coded as Video's captions code it (eng-US). Without it, the language spoken in the video, else its first captions.

What if a video has no captions?

It answers 404 NOT_FOUND.

How do I see which caption languages a video has?

Video lists them in captions, each with its language code and whether TikTok made it.

Works with

On other platforms

Use cases

TikTok guides

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required