# TikTok Transcript & Subtitle Scraper (`flourishing_catfish/tiktok-transcript-scraper`) Actor

Bulk TikTok URLs or @profiles to timestamped transcripts, plus views, likes, author and language, as CSV, JSON or Excel. You only pay for videos that return a transcript: no-caption, removed or invalid videos are free. Uses TikTok's own captions, never guessed. No login or proxy.

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

## Pricing

$20.00 / 1,000 videos

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 & Subtitle Scraper

Turn any **TikTok video into text**. Paste one or more TikTok video URLs and get the full spoken **transcript**, timestamped **subtitles**, the video description and engagement stats — as JSON, CSV or Excel. No login, no watermark, no browser.

### What you get, per video

- `transcript` — the full spoken text of the video
- `transcripts[]` — every available subtitle track (language, `asr`/`creator` source, full text, and timestamped `segments`)
- `language`, `availableLanguages`
- `author`, `authorName`, `description`, `createdAt`, `durationSec`
- `playCount`, `diggCount` (likes), `commentCount`, `shareCount`, `musicTitle`

Videos without captions return `hasTranscript: false` (metadata is still included). Removed or private videos return a clear `error`.

### Input

| Field | Description |
|---|---|
| `videoUrls` | One TikTok video URL per line |
| `language` | Optional preferred subtitle language first (e.g. `eng-US`) |
| `includeSegments` | Include per-line timestamps (default: true) |

### Use it for

- Repurposing TikToks into blog posts, newsletters and YouTube scripts
- Feeding TikTok content into LLM/RAG pipelines
- SEO and keyword research on video content
- Accessibility and translation
- Research and brand monitoring

Not affiliated with or endorsed by TikTok.

### Crawl whole profiles (new)

You no longer need to paste every URL. Add TikTok handles or profile links to **profiles**
(e.g. `@cnn`, `cnn`, or `https://www.tiktok.com/@cnn`) and set **maxVideosPerProfile** to pull
the newest N videos from each creator and transcribe them in one run. Direct **videoUrls** and
**profiles** can be combined; results are de-duplicated. Profile crawling, subtitle extraction,
timestamped segments — all without a login or proxy.

# Actor input Schema

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

One TikTok video URL per line, e.g. https://www.tiktok.com/@username/video/1234567890123456789 . Short vm.tiktok.com links are resolved automatically. Leave empty if you only want to crawl profiles below.

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

Crawl whole creator profiles: paste a handle (@cnn), a bare handle (cnn), or a profile URL (https://www.tiktok.com/@cnn). The newest videos from each profile are fetched and transcribed. Use 'Max videos per profile' to cap how many.

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

How many of the newest videos to fetch from each profile in the list above (1-100). Ignored for direct video URLs.

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

Return this subtitle language first when a video has several (e.g. eng-US, es, fr). Leave blank for all languages.

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

Also return per-line start/end timestamps, not just the full transcript text.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@cnn/video/7706447605668072717",
    "https://www.tiktok.com/@cnn/video/7706431816877559054",
    "https://www.tiktok.com/@bbcnews/video/7706432592865807638",
    "https://www.tiktok.com/@bbcnews/video/7706410941352545558"
  ],
  "profiles": [
    "@cnn",
    "https://www.tiktok.com/@bbcnews"
  ],
  "maxVideosPerProfile": 10,
  "language": "",
  "includeSegments": true
}
```

# Actor output Schema

## `results` (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 = {
    "videoUrls": [
        "https://www.tiktok.com/@cnn/video/7706447605668072717",
        "https://www.tiktok.com/@cnn/video/7706431816877559054",
        "https://www.tiktok.com/@bbcnews/video/7706432592865807638",
        "https://www.tiktok.com/@bbcnews/video/7706410941352545558"
    ],
    "profiles": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("flourishing_catfish/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 = {
    "videoUrls": [
        "https://www.tiktok.com/@cnn/video/7706447605668072717",
        "https://www.tiktok.com/@cnn/video/7706431816877559054",
        "https://www.tiktok.com/@bbcnews/video/7706432592865807638",
        "https://www.tiktok.com/@bbcnews/video/7706410941352545558",
    ],
    "profiles": [],
}

# Run the Actor and wait for it to finish
run = client.actor("flourishing_catfish/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 '{
  "videoUrls": [
    "https://www.tiktok.com/@cnn/video/7706447605668072717",
    "https://www.tiktok.com/@cnn/video/7706431816877559054",
    "https://www.tiktok.com/@bbcnews/video/7706432592865807638",
    "https://www.tiktok.com/@bbcnews/video/7706410941352545558"
  ],
  "profiles": []
}' |
apify call flourishing_catfish/tiktok-transcript-scraper --silent --output-dataset

```

## MCP server setup

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