# TikTok Transcript Scraper (`coregent/tiktok-transcript-scraper`) Actor

Get transcripts of TikTok videos from TikTok's own captions: plain text plus timestamped segments. By video URL, profile, search or hashtag. You pay only for videos that have captions. No login.

- **URL**: https://apify.com/coregent/tiktok-transcript-scraper.md
- **Developed by:** [Delowar Munna](https://apify.com/coregent) (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.00 / 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

![TikTok Transcript Scraper](https://raw.githubusercontent.com/coregentdevspace/tiktok-transcript-scraper-assets/main/thumbnail-tiktok-transcript-scraper.png)

Get **transcripts of TikTok videos** from TikTok's own captions, as **plain text and timestamped segments**. Add video
URLs, profiles, search queries or hashtags, and every video gets a row: its transcript, the language, whether it's a
translation, and basic video details (author, description, duration, plays, likes, post date).

**You pay only for transcripts.** Many TikTok videos have no captions (music, dance and visual-only clips mostly
don't). Those come back as free rows marked `hasCaptions: false`, so you can see what was checked without paying for
it.

No TikTok account, login, cookies or browser needed.

### What you can transcribe

| Input | Example | What gets checked |
|---|---|---|
| **Video URLs** | `https://www.tiktok.com/@user/video/7694552249057725699`, a short link (`https://vm.tiktok.com/…`), or a video ID | Each video |
| **Profiles** | `@nasa` or `https://www.tiktok.com/@nasa` | The profile's newest videos, with an optional oldest-post date |
| **Search queries** | `personal finance tips`, `recetas fáciles` | Videos matching the search |
| **Hashtags** | `#booktok`, `booktok` or `https://www.tiktok.com/tag/booktok` | Videos from the hashtag's feed |

Mix them freely in one run. A video found by several sources is checked (and charged) once. One run takes up to
1,000 video URLs and 100 each of profiles, search queries and hashtags; split bigger lists across runs.

**Which videos have transcripts?** Transcripts come from the caption tracks TikTok itself shows on a video, usually
its auto-captions. Talking videos (explainers, tutorials, commentary, reviews, news) mostly have them. Music, dance
and visual-only videos usually don't. Searching for talking topics returns far more transcripts than broad hashtags
like `#fyp`.

### How many videos

**Max videos to check** is the total for the run, split evenly across your sources unless you set **Max videos per
source**. It counts videos *checked*, not transcripts found, so a run never checks more than you asked for.

Run it with no input and it does a short demo: a search for "personal finance tips", checking 10 videos.

### Languages and translations

By default (**Transcript language** = `auto`) you get the transcript in the language spoken in the video.

Some videos also carry TikTok's own machine translations of their captions. Set **Transcript language** to a code such
as `en` or `es` to get that translation when it exists. Every row says:

- `language`: the caption track's language, e.g. `eng-US`, `spa-ES`;
- `isTranslation`: `true` for a TikTok translation, `false` for the original, `null` when TikTok doesn't say;
- `availableLanguages`: every caption language the video has;
- `requestedLanguageFound`: `false` when the video had no track in your language (you get the original instead).

### Input examples

**Transcripts from two searches, in two languages** (the run behind the screenshot and sample rows below: 20 videos
checked, 20 transcripts, 10 English and 10 Spanish)

```json
{
    "searchQueries": ["personal finance tips", "recetas fáciles"],
    "maxVideos": 20
}
```

**Transcripts of specific videos**

```json
{
    "videoUrls": [
        "https://www.tiktok.com/@smartmoneysketches/video/7694552249057725699",
        "https://www.tiktok.com/@cocinaconmiriii/video/7697340895397514518"
    ]
}
```

**A creator's last 30 videos, from the past 3 months**

```json
{
    "profiles": ["@nasa"],
    "maxVideos": 30,
    "oldestPostDate": "90 days"
}
```

**Spanish recipe videos, transcripts only**

```json
{
    "searchQueries": ["recetas fáciles"],
    "maxVideos": 20,
    "skipVideosWithoutCaptions": true
}
```

**English transcripts with a subtitle file**

```json
{
    "hashtags": ["personalfinance"],
    "maxVideos": 50,
    "language": "en",
    "includeVtt": true
}
```

### Output

Each row has a `recordType`:

- `transcript`: a video with its transcript (charged);
- `no_captions`: a video without a usable caption track, with a `reason`: `no_caption_track`, `slideshow` or
  `caption_fetch_failed` (free);
- `error`: an input that couldn't be found, e.g. a deleted video or a URL that isn't a TikTok link (free).

| Field | Description |
|---|---|
| `transcript` | The full transcript as plain text |
| `segments` | `[{ start, end, text }]`, times in seconds from the start of the video |
| `wordCount` | Words in the transcript |
| `transcriptUrl` | A link to the transcript as a `.txt` file |
| `vtt` | The WebVTT caption file (with **Include the WebVTT caption file** on) |
| `language`, `isTranslation`, `availableLanguages`, `captionSource` | Caption track details. `captionSource` is `ASR` (TikTok auto-captions), `CREATOR` (uploaded by the creator) or `null` when TikTok doesn't say |
| `videoId`, `videoUrl`, `description`, `createdAt`, `durationSeconds` | The video |
| `authorUsername`, `authorNickname` | The creator |
| `playCount`, `likeCount`, `commentCount`, `shareCount` | Engagement at the time of the run |
| `source` | Which input found the video: `{ type, value, position }` |

#### Transcripts

![Transcripts table](https://raw.githubusercontent.com/coregentdevspace/tiktok-transcript-scraper-assets/main/tiktok-transcript-scraper-output-transcripts-table-view.png)

The dataset has three views: **Transcripts** (above), **Timestamped segments** (each transcript's segments and its
`.txt` link) and **All rows** (every row, including videos without captions and error rows).

#### Sample rows

An English row, from the search for "personal finance tips" (transcript and segments shortened here):

```json
{
    "recordType": "transcript",
    "videoId": "7694552249057725699",
    "videoUrl": "https://www.tiktok.com/@smartmoneysketches/video/7694552249057725699",
    "hasCaptions": true,
    "language": "eng-US",
    "isTranslation": false,
    "captionSource": "ASR",
    "availableLanguages": ["eng-US"],
    "requestedLanguageFound": null,
    "transcript": "Wanna know why some people keep making money but never build wealth? They're climbing the money ladder in the wrong order. Step 1 control your spending. …",
    "wordCount": 170,
    "segments": [
        { "start": 0.7, "end": 5.28, "text": "Wanna know why some people keep making money but never build wealth?" },
        { "start": 5.34, "end": 8.08, "text": "They're climbing the money ladder in the wrong order." },
        { "start": 8.42, "end": 10.94, "text": "Step 1 control your spending." }
    ],
    "vtt": null,
    "transcriptUrl": "https://api.apify.com/v2/key-value-stores/…/records/transcript-7694552249057725699.txt",
    "description": "The 7 Wealth Rules Nobody Teaches You #MoneyTips #BuildWealth #FinancialLiteracy #PersonalFinance",
    "createdAt": "2026-10-09T06:32:49.000Z",
    "durationSeconds": 81,
    "authorUsername": "smartmoneysketches",
    "authorNickname": "SmartMoney Sketches",
    "playCount": 9727,
    "likeCount": 581,
    "commentCount": 22,
    "shareCount": 124,
    "source": { "type": "search", "value": "personal finance tips", "position": 7 },
    "scrapedAt": "2026-11-06T04:55:33.560Z"
}
```

A Spanish row, from the search for "recetas fáciles". The video also has TikTok's English translation (`eng-US` in
`availableLanguages`); set **Transcript language** to `en` to get that instead:

```json
{
    "recordType": "transcript",
    "videoId": "7697340895397514518",
    "videoUrl": "https://www.tiktok.com/@cocinaconmiriii/video/7697340895397514518",
    "hasCaptions": true,
    "language": "spa-ES",
    "isTranslation": false,
    "captionSource": "ASR",
    "availableLanguages": ["eng-US", "spa-ES"],
    "transcript": "sabías que si echas agua mantequilla y azúcar en 1 sartén lo mezclas todo y le echas harina …",
    "wordCount": 143,
    "segments": [
        { "start": 0.12, "end": 1.12, "text": "sabías que si echas agua mantequilla" },
        { "start": 1.44, "end": 2.32, "text": "y azúcar en 1 sartén" }
    ],
    "durationSeconds": 30,
    "authorUsername": "cocinaconmiriii",
    "playCount": 3089235,
    "source": { "type": "search", "value": "recetas fáciles", "position": 3 }
}
```

The run also saves a `RUN_SUMMARY` record in the key-value store: videos checked, transcripts found, videos without
captions by reason, and errors.

### Pricing

Pay per event: you pay for each **transcript delivered**. Videos without captions, error rows and duplicates are free,
and there is no start fee. See the **Pricing** tab for current rates. This README deliberately doesn't quote figures.

If you set a spending limit on a run, the Actor stops when it is reached and keeps everything already paid for.

### FAQ

**Why does a video have no transcript?**
It has no caption track on TikTok. This Actor reads TikTok's captions; it doesn't run its own speech recognition, so
a video TikTok hasn't captioned can't be transcribed here. Slideshows (photo posts) have no speech at all.

**Which languages are supported?**
Any language TikTok captions. In tests, English and Spanish videos were captioned most often.

**Can I get subtitles?**
Yes. Turn on **Include the WebVTT caption file** for a `vtt` field you can save as a `.vtt` subtitle file, or use
`segments` to build your own format (SRT, JSON, …).

**How accurate are the transcripts?**
They are TikTok's own captions, mostly automatic speech recognition, so expect occasional misheard words, especially
with music, accents or several speakers.

**I need views, comments or video downloads too.**
Use our [TikTok Video Scraper](https://apify.com/coregent/tiktok-video-scraper) for full video metadata and downloads.

### Data and privacy

This Actor reads only what TikTok shows publicly: captions of public videos and their basic details. No private
accounts, messages or contact details. Transcripts are derived from creators' content and can contain personal data
spoken in a video. You are responsible for how you use them, including copyright, TikTok's terms and the data
protection laws that apply to you (such as the GDPR).

This Actor is not affiliated with, endorsed by or sponsored by TikTok or ByteDance.

# Actor input Schema

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

TikTok video URLs (tiktok.com/@user/video/…), short links (vm.tiktok.com/…, vt.tiktok.com/…) or video IDs. Up to 1,000 per run.

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

TikTok @handles or profile URLs. The newest videos of each profile are checked. Up to 100 per run.

## `searchQueries` (type: `array`):

Keywords to search TikTok videos for. Talking content (tutorials, explainers, commentary) has the most captions. Up to 100 per run.

## `hashtags` (type: `array`):

Hashtags, with or without #. Videos from the hashtag's feed are checked. Up to 100 per run.

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

The most videos checked for captions in the whole run, across all sources. You are charged only for the ones that have captions, so the number of transcripts can be lower.

## `maxVideosPerSource` (type: `integer`):

Optional cap per profile, search query or hashtag. When empty, Max videos is split evenly across the sources.

## `oldestPostDate` (type: `string`):

For profiles only: skip videos posted before this date. Use YYYY-MM-DD or a relative period such as "30 days".

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

"auto" gives the transcript in the language spoken in the video. Or give a language code ("en", "es", "eng-US"): TikTok's own translation is used when the video has one; otherwise you get the original, and the row says the requested language wasn't found.

## `includeSegments` (type: `boolean`):

Add the transcript as segments with start and end times (seconds), one per caption line.

## `includeVtt` (type: `boolean`):

Add the raw WebVTT caption text to each row, for use as a subtitle file.

## `skipVideosWithoutCaptions` (type: `boolean`):

By default every checked video gets a row; videos without captions are marked hasCaptions: false and are free. Turn this on to keep only transcripts in the dataset.

## Actor input object example

```json
{
  "searchQueries": [
    "personal finance tips"
  ],
  "maxVideos": 10,
  "language": "auto",
  "includeSegments": true,
  "includeVtt": false,
  "skipVideosWithoutCaptions": false
}
```

# Actor output Schema

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

No description

## `allRows` (type: `string`):

No description

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

No description

# 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 = {
    "searchQueries": [
        "personal finance tips"
    ],
    "maxVideos": 10,
    "language": "auto"
};

// Run the Actor and wait for it to finish
const run = await client.actor("coregent/tiktok-transcript-scraper").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 = {
    "searchQueries": ["personal finance tips"],
    "maxVideos": 10,
    "language": "auto",
}

# Run the Actor and wait for it to finish
run = client.actor("coregent/tiktok-transcript-scraper").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 '{
  "searchQueries": [
    "personal finance tips"
  ],
  "maxVideos": 10,
  "language": "auto"
}' |
apify call coregent/tiktok-transcript-scraper --silent --output-dataset

```

## MCP server setup

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

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/iLMslIFFYxvplG33h/builds/LuxlyeZkzbldRFox4/openapi.json
