# TikTok Transcript Scraper (Captions, Text, SRT, VTT) (`locaihost/tiktok-transcripts`) Actor

Get the transcript of any public TikTok video as plain text, timed segments, WebVTT or SRT, from video links or a profile's latest videos. Language choice, word count, hook text, views and likes. Videos without captions are free. No login.

- **URL**: https://apify.com/locaihost/tiktok-transcripts.md
- **Developed by:** [locaihost data](https://apify.com/locaihost) (community)
- **Categories:** Social media, AI, Videos
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.38 / 1,000 transcripts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## TikTok Transcript Scraper (Captions, Text, SRT, VTT)

Get the transcript of public TikTok videos: the words spoken in each video, as one paragraph of plain text, as timed lines, or as a WebVTT or SubRip (.srt) file. Paste video links, or name profiles and get the transcripts of their latest videos. Every row also carries the video's description, post date, length, views and likes, so the text arrives with its context. No login, no TikTok account.

### How do I start?

Paste this into the input (JSON tab) and press Start:

```json
{
    "videoUrls": ["https://www.tiktok.com/@duolingo/video/7694698943971855630"],
    "profiles": ["duolingo"],
    "maxVideos": 3
}
```

That run reads one video link and the 3 latest videos of @duolingo in about 25 seconds: one row per video, plus one free summary row.

### Where do the transcripts come from?

From the captions TikTok itself keeps for each video: automatic captions of the speech, captions the creator added, and TikTok's own translations of them into other languages. This tool reads them and hands them over cleanly. It does not listen to the audio itself, so a video without captions on TikTok has no transcript here either.

**How many videos have captions?** In our checks of about 120 recent videos from five popular accounts, a little over half had captions. Videos with only music, photo posts (slideshows) and very short clips usually have none. Every such video still gets a row, free of charge, with `transcriptStatus` saying why (`no-captions`, `photo-post`, `unavailable` for a deleted or private video). Turn off `includeVideosWithoutTranscript` if you want only the transcripts.

### What does each row contain?

| Field | What it is |
|---|---|
| `type` | `transcript` (charged), `no-transcript` (free, the reason says why) or `summary` (free, one per run) |
| `videoId` | TikTok's video id |
| `url` | The video's page |
| `inputUrl` | The link or id you gave (a short link shows which video it opened) |
| `profile` | The profile the video was listed from, when it came from a profile |
| `authorHandle` | The creator's handle, without the @ |
| `authorNickname` | The creator's display name |
| `description` | The video's caption text as the creator wrote it |
| `createdAt` | When the video was posted, ISO format (UTC) |
| `durationSec` | Length in seconds |
| `hashtags` | Hashtags in the description |
| `musicTitle` | The sound used |
| `playCount` | Views |
| `likeCount` | Likes |
| `commentCount` | Comments |
| `shareCount` | Shares |
| `saveCount` | Saves |
| `authorFollowerCount` | The creator's followers, when TikTok includes them with the video |
| `spokenLanguage` | The language TikTok says the video is spoken in |
| `availableLanguages` | Every caption language the video has, such as `en` or `es (translated)` |
| `transcriptStatus` | `ok`, `no-captions`, `photo-post`, `caption-unreadable`, `unavailable` or `failed` |
| `language` | TikTok's tag for the returned captions, such as `eng-US` |
| `languageCode` | The two-letter code, such as `en` |
| `languageRequested` | The language you asked for |
| `languageMatched` | `false` when the video has no captions in that language and its original-language captions came back instead |
| `source` | `creator` (the creator's own captions), `auto` (TikTok's automatic captions of the speech) or `translated` (TikTok's translation) |
| `transcript` | The whole transcript as one paragraph |
| `wordCount` | Words in the transcript (Chinese, Japanese, Korean and Thai count one per character) |
| `hookText` | What is said in the first 5 seconds: the video's hook |
| `segmentCount` | Timed caption lines in the transcript |
| `segments` | Timed lines `{start, end, text}` in seconds, with format `segments` |
| `vtt` | The transcript as a WebVTT file, with format `vtt` |
| `srt` | The transcript as a SubRip file, with format `srt` |
| `reason` | Why a `no-transcript` row has no transcript |
| `scrapedAt` | When the row was read |
| `videosAsked` | Summary row: video links in the input |
| `profilesAsked` | Summary row: profiles in the input |
| `videosChecked` | Summary row: videos looked at |
| `transcripts` | Summary row: transcripts returned |
| `withoutTranscript` | Summary row: videos without a transcript |
| `byStatus` | Summary row: videos per `transcriptStatus` |
| `bySource` | Summary row: transcripts per `source` |
| `byLanguage` | Summary row: transcripts per language |
| `skippedKnown` | Summary row: videos skipped because an earlier run returned them (`onlyNew`) |
| `averageWords` | Summary row: average words per transcript |
| `message` | Summary row: how the run went, in words |

Example transcript row (shortened):

```json
{
    "type": "transcript",
    "videoId": "7694698943971855630",
    "url": "https://www.tiktok.com/@duolingo/video/7694698943971855630",
    "authorHandle": "duolingo",
    "description": "duo the konbini owner. what could go wrong?  first episode drops 10.12.26",
    "createdAt": "2026-10-09T16:02:24.000Z",
    "durationSec": 14,
    "playCount": 236300,
    "likeCount": 8872,
    "spokenLanguage": "ko",
    "availableLanguages": ["en (translated)", "ko"],
    "language": "eng-US",
    "languageCode": "en",
    "languageRequested": "en",
    "languageMatched": true,
    "source": "translated",
    "transcript": "Hmm Bing Bing Bing ...",
    "wordCount": 30,
    "hookText": "Hmm Bing Bing Bing ...",
    "segments": [
        { "start": 0.8, "end": 1.6, "text": "Hmm" },
        { "start": 4.32, "end": 7.77, "text": "Bing Bing Bing ..." }
    ]
}
```

### What can I put in the input?

| Input | What it does |
|---|---|
| Video links (`videoUrls`) | Full links (`tiktok.com/@name/video/...`), short links (`vm.tiktok.com/...`, `tiktok.com/t/...`), photo links or bare video ids |
| Profiles (`profiles`) | Handles (`@duolingo` or `duolingo`) or profile links; the latest videos of each are read |
| Videos per profile (`maxVideos`) | How many of each profile's latest videos to read, 10 by default, up to 500 |
| Caption language (`language`) | A code such as `en`, `es` or `pt-BR`. Empty: the language the video is spoken in |
| Format (`format`) | `text`, `segments` (default), `vtt` or `srt`. Every row has the plain text; this picks what comes with it |
| Only new videos (`onlyNew`) | Skip videos whose transcript an earlier run of the same saved task already returned |

Under Advanced: `postedAfter` (profiles only: a date such as `2026-11-01`, or a span such as `30 days`), `includeVideosWithoutTranscript` and the proxy setting.

Input names other TikTok transcript tools use, such as `postURLs`, `videos`, `usernames`, `maxVideosPerProfile`, `captionLanguage` or `onlyNewVideos`, are read too, so an input you already have will usually work as it is.

### Which language do I get?

With `language` empty you get the captions in the language the video is spoken in, the creator's own captions first, then TikTok's automatic ones. Ask for a language, say `en`, and you get English captions when the video has them, including TikTok's translation of a video spoken in another language (`source: translated`). When a video has no captions in that language at all, its original-language captions come back with `languageMatched: false`, so you never lose the text.

### How fast is it?

Measured on Apify on 16 Nov 2026, from pressing Start to the finished run:

| Request | Videos read | Transcripts | Time |
|---|---|---|---|
| 1 link and the 3 latest videos of one profile | 4 | 4 | 21 s |
| 5 links and the 10 latest videos of one profile | 15 | 12 | 27 to 55 s |
| The 40 latest videos of each of 5 profiles | 168 | 117 | 7 min 8 s |

Links and a profile's 10 latest videos are quick. Longer profile lists take most of the time, because TikTok often needs several tries before it returns one.

### How much does it cost?

$2.50 per 1,000 transcripts on the free and Starter plans, $1.88 per 1,000 on Scale and $1.38 per 1,000 on Business, all through one paid event, "transcript". Starting a run costs $0.00005 once.

Only videos that come back with a transcript are charged. Videos without captions, deleted or private videos, pages that could not be read and the summary row are all free.

**Free plan:** a run on Apify's free plan returns at most 100 transcripts. Any paid Apify plan removes the cap.

### How do I get only new videos?

Save your input as a task, turn on `onlyNew` and put it on a schedule. Each run skips videos whose transcript that task already returned (in the same language), so you pay only for new ones. A video that had no captions the first time is checked again on the next run, since TikTok sometimes adds captions later.

### Can I use it from my AI agent or code?

Yes. Call it through the Apify API, the Apify MCP server, or any Apify client, with the same input as above. Each video is one row, so the output drops straight into a spreadsheet, a database or a language model prompt.

### Is it legal to collect TikTok transcripts?

This tool reads only what TikTok shows to anyone who opens a public video without logging in. It never logs in, never uses an account and does not reach private videos or accounts. Email addresses and phone numbers in descriptions and transcripts are removed before the row is written.

What you do with the text is up to you and your local laws: transcripts are the creators' words, so check copyright and data-protection rules (such as the GDPR) before republishing them, and use them for research, analysis, search, accessibility or similar lawful purposes.

### What else should I know?

- **Caption files expire.** The text is in your row for good; TikTok's own caption links expire within a few days, so this tool does not hand them out.
- **Repeated lines.** Spoken captions sometimes show the same line twice in a row; the `transcript` paragraph writes it once, while `segments` keep every timed line.
- **Short links** redirect to a video; `inputUrl` keeps the link you gave next to the `url` it opened.
- **Profiles.** Up to 10 latest videos of a profile are read from TikTok's short public list, which is quick. For more than 10, or a `postedAfter` date further back, the tool asks TikTok for the full list. When TikTok does not return it, or stops partway, you keep what was read (at least the latest 10) and the status message says how many: run again for the rest. Pinned videos count only when they are among the latest.
- **If TikTok pushes back** on a video page, the tool retries with a fresh visitor. A video that still could not be read gets a free `failed` row: run it again later.

### Can I get help or ask for a feature?

Open an issue on this Actor's Issues tab. We read every one and usually answer within a day.

# Changelog

This Actor's version history is a separate document: https://apify.com/locaihost/tiktok-transcripts/changelog.md

# Actor input Schema

## `videoUrls` (type: `array`):

TikTok video links (www.tiktok.com/@name/video/..., short vm.tiktok.com links, or bare video ids). One transcript per video.

## `profiles` (type: `array`):

TikTok handles (@duolingo) or profile links. The latest videos of each are read (see Videos per profile).

## `maxVideos` (type: `integer`):

How many of each profile's latest videos to read (up to 500). Not used for video links.

## `language` (type: `string`):

A language code like en, es or pt-BR. Empty: the language the video is spoken in. When a video has no captions in the language you ask for, its original-language captions come back with languageMatched false.

## `format` (type: `string`):

Every row has the transcript as plain text. Pick what else to add: timed segments, a WebVTT file or a SubRip (.srt) file.

## `onlyNew` (type: `boolean`):

Skip videos whose transcript an earlier run (of this saved task, in this language) already returned. Handy on a schedule: you pay only for new transcripts.

## `postedAfter` (type: `string`):

Profiles only: leave out videos posted before this date (2026-11-01) or span (30 days).

## `includeVideosWithoutTranscript` (type: `boolean`):

Write a free row, with the reason, for each video that has no captions, is gone, or could not be read. Off: only transcripts are written.

## `proxyConfiguration` (type: `object`):

Apify Proxy by default: video pages start on datacenter addresses and move to residential when TikTok pushes back; profile lists use residential.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@duolingo/video/7694698943971855630"
  ],
  "profiles": [
    "duolingo"
  ],
  "maxVideos": 3,
  "language": "",
  "format": "segments",
  "onlyNew": false,
  "includeVideosWithoutTranscript": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `transcripts` (type: `string`):

One row per video: transcript text, word count, language, caption source, hook, description, views and likes.

## `segments` (type: `string`):

The same videos with the timed lines, or the WebVTT or SubRip file, in the format you picked.

## `summaries` (type: `string`):

One free row: videos checked, transcripts returned, and counts by status, caption source and language.

## `summary` (type: `string`):

Videos checked, transcripts returned, pages loaded, walls met and the run's cost.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "videoUrls": [
        "https://www.tiktok.com/@duolingo/video/7694698943971855630"
    ],
    "profiles": [
        "duolingo"
    ],
    "maxVideos": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("locaihost/tiktok-transcripts").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "videoUrls": ["https://www.tiktok.com/@duolingo/video/7694698943971855630"],
    "profiles": ["duolingo"],
    "maxVideos": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("locaihost/tiktok-transcripts").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "videoUrls": [
    "https://www.tiktok.com/@duolingo/video/7694698943971855630"
  ],
  "profiles": [
    "duolingo"
  ],
  "maxVideos": 3
}' |
apify call locaihost/tiktok-transcripts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,locaihost/tiktok-transcripts"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/aUyNbH5LEM0Q6VZxX/builds/RkqGSf2TUgdzwZerX/openapi.json
