# TikTok Transcript Scraper - Captions to Text, SRT, Any Language (`dottti/tiktok-transcripts`) Actor

Get TikTok video transcripts from TikTok's own captions: auto (ASR), creator and translated tracks, any language incl. Arabic. Video links or @profiles. Plain text, timed segments or SRT, plus views and likes. Videos without captions are never charged.

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

## Pricing

from $2.50 / 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.

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 to Text, SRT, Any Language

Get the transcript of public TikTok videos. Paste video links or @handles. You get one row per video with the spoken text, timed lines, the video's stats and a clear status.

The text comes from TikTok's own caption tracks, the same ones the TikTok player shows. No login, no cookies, no API key.

### Who it is for

- Marketers and agencies who study hooks, scripts and product pitches.
- Researchers and AI teams who need TikTok speech as text.
- Content teams who turn TikToks into blog posts, threads or subtitles.
- News and media monitors, including Arabic, French and Spanish channels.

### What it does

- Reads TikTok's caption tracks for each video: automatic speech recognition (`asr`), creator captions (`creator`) and TikTok's own translations (`translated`).
- Picks the first language in your list that the video has. An original track wins over a translated one.
- Works with any language TikTok captions, including Arabic. Right-to-left text is kept as is.
- Takes video links, `vm.tiktok.com` short links, embed links and numeric IDs.
- Takes @handles or profile links and adds each profile's latest public videos (up to 10).
- Returns plain text, timed segments, SRT, or all three.
- Adds author, followers, description, hashtags, date, duration, views, likes, comments, shares and saves.
- Gives every video a status, so one video without captions never fails the run.

### Input

| Field | What it does |
|---|---|
| `videoUrls` | TikTok video links, short links or video IDs. |
| `profiles` | Handles (`@nasdaily`) or profile links. Each adds its latest public videos. |
| `maxVideosPerProfile` | 1 to 10. Default 10. |
| `preferredLanguages` | Language codes in order, for example `["en", "ar"]`. Default `["en"]`. |
| `allowTranslated` | Use TikTok's translated track when your language has no original track. Default on. |
| `fallbackToAnyLanguage` | If your languages are missing, return the original track. Default on. |
| `outputFormat` | `segments` (timed lines plus text), `text`, `srt` (SRT plus text) or `all`. |
| `maxVideos` | Cap on videos per run, and so on cost. Default 100. |

Example:

```json
{
  "videoUrls": ["https://www.tiktok.com/@bbcnews/video/7704259750417960214"],
  "profiles": ["@nasdaily", "@aljazeera"],
  "maxVideosPerProfile": 5,
  "preferredLanguages": ["ar", "en"],
  "outputFormat": "segments"
}
```

### Output

One row per video. Sample from a real run on 4 November 2026 (text and segments shortened):

```json
{
  "videoId": "7704263970332462350",
  "url": "https://www.tiktok.com/@cnn/video/7704263970332462350",
  "sourceInput": "@cnn",
  "author": "cnn",
  "authorName": "CNN",
  "authorVerified": true,
  "authorFollowers": 16500000,
  "description": "CNN projected that James Talarico will win a Texas Senate seat ...",
  "createTime": "2026-11-04T10:39:18.000Z",
  "durationSec": 93,
  "views": 4808,
  "likes": 322,
  "comments": 6,
  "shares": 3,
  "saves": 8,
  "status": "ok",
  "language": "en",
  "captionSource": "asr",
  "isAutoGenerated": true,
  "isTranslated": false,
  "availableLanguages": ["en (asr)"],
  "text": "James Talarico has turned Texas blue. He's shaking hands with supporters here ...",
  "segments": [
    { "start": 0.14, "duration": 3.12, "text": "James Talarico has turned Texas blue." },
    { "start": 3.261, "duration": 2.28, "text": "He's shaking hands with supporters here" }
  ],
  "wordCount": 204,
  "segmentCount": 25,
  "firstLine": "James Talarico has turned Texas blue.",
  "lastLine": "and the first Latina governor will represent the state of Texas.",
  "message": null
}
```

A video without captions (free row):

```json
{
  "videoId": "7703595535009156383",
  "url": "https://www.tiktok.com/@mrbeast/video/7703595535009156383",
  "author": "mrbeast",
  "durationSec": 6,
  "views": 23400000,
  "status": "no_captions",
  "availableLanguages": [],
  "message": "TikTok made no captions for this video (often music only, no clear speech, or an unsupported language)."
}
```

| Field | Meaning |
|---|---|
| `status` | `ok`, `no_captions`, `photo_post`, `unavailable`, `blocked`, `profile_empty` or `invalid_input`. |
| `language` | Language of the returned text. |
| `captionSource` | `asr` (TikTok speech recognition), `creator` (captions the creator added) or `translated` (TikTok machine translation). |
| `availableLanguages` | Every track the video has, with its source. |
| `originalLanguage` | The spoken language TikTok detected. |
| `segments` | `[{ start, duration, text }]`, times in seconds. |
| `text`, `srt` | Whole transcript as one string, and SubRip subtitle text. |
| `message` | Plain explanation when something differs from what you asked. |

### Statuses and what you pay

You pay only for rows with status `ok`. Every other row is free.

| Status | Meaning |
|---|---|
| `ok` | Transcript delivered. |
| `no_captions` | TikTok has no captions for the video (music only, no clear speech, or captions turned off by the creator), or none in your languages. |
| `photo_post` | A photo slideshow. It has no spoken track. |
| `unavailable` | Deleted, private or region-locked video, or a wrong ID. |
| `profile_empty` | The handle does not exist, is private, or has no public videos. |
| `blocked` | TikTok refused every proxy tier. Run it again later. |
| `invalid_input` | The input is not a TikTok link, ID or handle. |

Pricing is per delivered transcript. Platform usage is included in the price. You can set a maximum cost per run; the run stops cleanly when it is reached.

### Scheduling

Save your input as a task in Apify Console, then add a schedule (for example, daily at 08:00). With `profiles` set, each run picks up the latest videos of those accounts. Send results to Google Sheets, a webhook or your own API with Apify integrations.

### Limits

- **Caption coverage.** Only videos that TikTok captioned have a transcript. In our test of 67 recent videos from 21 accounts (4 November 2026), 58% had captions. Music, dance and silent clips usually have none. This actor does not run its own speech-to-text.
- **Profiles.** TikTok's public, logged-out profile listing shows about the 10 newest videos. For older videos, pass their links.
- **Caption links expire.** TikTok's caption file links last a few days, so the actor downloads the text during the run.
- **Proxies.** The run starts without a proxy. If TikTok refuses requests, it moves to datacenter proxy, then residential proxy. Video pages and profile listings each have their own fallback.
- **Run summary.** The `RUN_SUMMARY` record lists counts per status, the caption hit rate, timing, and requests and bytes per video.

# Actor input Schema

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

TikTok video links (tiktok.com/@user/video/..., vm.tiktok.com short links, embed links) or numeric video IDs. One per line. Leave both this and Profiles empty to run two example videos.

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

TikTok handles (@khaby.lame) or profile links. Each profile adds its latest public videos, up to 10 (the limit of TikTok's public, logged-out profile listing).

## `maxVideosPerProfile` (type: `integer`):

How many of the newest videos to take from each profile. TikTok's public listing shows about 10.

## `preferredLanguages` (type: `array`):

Language codes such as en, ar, es, fr, pt-BR. The first language the video has wins. An original track is chosen before a translated one.

## `allowTranslated` (type: `boolean`):

Use TikTok's own machine-translated caption track when it exists in a preferred language and the original track does not.

## `fallbackToAnyLanguage` (type: `boolean`):

When no track matches your languages, return the video's original-language track and say so in `message`. Turn off to get status no_captions instead (not charged).

## `outputFormat` (type: `string`):

segments: timed lines (start, duration, text) plus plain text. text: plain text only. srt: SubRip subtitle text plus plain text. all: everything.

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

Hard cap on videos processed in this run, and so on cost.

## `autoProxyFallback` (type: `boolean`):

Start without a proxy. If TikTok refuses requests, switch to datacenter proxy, then to residential proxy, and stay there for the rest of the run. Proxy cost is included in the price.

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

Set this only to force one proxy for every request. It replaces the automatic fallback.

## `requestDelayMs` (type: `integer`):

Pause between requests. Raise it if the log shows refusals.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@bbcnews/video/7704259750417960214",
    "https://www.tiktok.com/@nasdaily/video/7702075577657838868"
  ],
  "maxVideosPerProfile": 10,
  "preferredLanguages": [
    "en",
    "ar"
  ],
  "allowTranslated": true,
  "fallbackToAnyLanguage": true,
  "outputFormat": "segments",
  "maxVideos": 100,
  "autoProxyFallback": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "requestDelayMs": 1000
}
```

# Actor output Schema

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

Video ID, URL, author, description, date, duration, stats, status, language, caption source, plain text, segments and SRT.

## `runSummary` (type: `string`):

Counts per status, caption hit rate, timing, and requests and bytes per video.

# 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/@bbcnews/video/7704259750417960214",
        "https://www.tiktok.com/@nasdaily/video/7702075577657838868"
    ],
    "preferredLanguages": [
        "en",
        "ar"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dottti/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/@bbcnews/video/7704259750417960214",
        "https://www.tiktok.com/@nasdaily/video/7702075577657838868",
    ],
    "preferredLanguages": [
        "en",
        "ar",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("dottti/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/@bbcnews/video/7704259750417960214",
    "https://www.tiktok.com/@nasdaily/video/7702075577657838868"
  ],
  "preferredLanguages": [
    "en",
    "ar"
  ]
}' |
apify call dottti/tiktok-transcripts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dottti/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/zjwfeTdfIuIk9itZy/builds/pMQh9ujcNUB96GbmX/openapi.json
