# TikTok Transcript Extractor: Captions, SRT & AI Summary (`the_coder_senior/tiktok-transcript-subtitles-srt`) Actor

Get the full transcript of any public TikTok video with timestamps (SRT/VTT), language, hashtags, stats and author. Uses TikTok's own captions first and speech-to-text only when needed.

- **URL**: https://apify.com/the_coder_senior/tiktok-transcript-subtitles-srt.md
- **Developed by:** [Márcio Makoto Nakamura](https://apify.com/the_coder_senior) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 transcript from tiktok captions

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 Extractor: Captions, SRT, VTT & AI Summary

Turn any **public TikTok video** into clean text. You get the **full transcript with timestamps (SRT and VTT)**, the language, the description, hashtags, public stats, the author, the duration and the sound used. One platform, one job, done reliably.

**How it works:** the Actor reads **TikTok's own captions** when the video has them (fast and cheap). Only when a video has no captions does it fall back to **speech-to-text** on the audio. You pay less for the first path and more for the second, and you are never charged when no transcript is returned.

No login. No cookies. No fake accounts. Public videos only.

### What you can do with it

- **Content repurposing.** Turn short videos into blog posts, newsletters, threads and scripts.
- **Social listening and research.** Search what creators actually *say* about your brand, product or topic, not just what they write in captions.
- **Competitor and trend analysis.** Pull the hooks and talking points of top videos in a niche, with the stats next to them.
- **Subtitles and accessibility.** Download ready-to-use `.srt` and `.vtt` files for editors and video tools.
- **AI and RAG pipelines.** Feed clean, timestamped transcripts into an LLM, a vector database or an MCP agent.
- **Creator vetting.** Check what an influencer says before you sign a deal.

### Input

| Field | What it does |
| --- | --- |
| **Video URLs** | Public video links such as `https://www.tiktok.com/@user/video/123…`. Short links (`vm.tiktok.com`) work too. **Most reliable input.** |
| **Profiles, hashtags, search queries** *(beta)* | The Actor lists public videos from a profile, hashtag page or search, up to *Max videos per source*. See [Limits](#limits-and-honest-notes). |
| **Max videos per source** | 1–100 per profile, hashtag or search. Default 10. |
| **Max videos in this run** | Hard cap for the whole run. Default 50. |
| **Transcription mode** | *Auto* (captions first, speech-to-text if missing), *Captions only* (never uses speech-to-text) or *Speech-to-text only*. |
| **Preferred caption language** | `auto` returns the original language. Set `en`, `pt`, `es`… to get TikTok's machine-translated captions when they exist. |
| **Add AI summary and hook** | Optional: 2–3 sentence summary, the opening hook and topic tags. |
| **Transcribe music-only videos too** | Off by default: music-only videos are skipped and not charged. |
| **Proxy** | TikTok blocks many datacenter IPs. If you see `blocked` results, switch to residential proxies. |

```json
{
  "videoUrls": ["https://www.tiktok.com/@tiktok/video/7704834703446117662"],
  "transcriptionMode": "auto",
  "aiSummary": true
}
```

### Output

One dataset item per video. Download as JSON, CSV, Excel or XML, or read it through the API.

```json
{
  "url": "https://www.tiktok.com/@tiktok/video/7704834703446117662",
  "status": "success",
  "transcriptSource": "tiktok-captions",
  "captionType": "speech-recognition",
  "language": "en",
  "transcript": "Welcome back to the TikTok Transparency Studio. I'm Kaya. Let's talk about how AI helps power your TikTok experience. ...",
  "segments": [
    { "start": 0.1, "end": 2.92, "text": "Welcome back to the TikTok Transparency Studio." },
    { "start": 2.98, "end": 7.82, "text": "I'm Kaya. Let's talk about how AI helps power your TikTok experience." }
  ],
  "srt": "1\n00:00:00,100 --> 00:00:02,920\nWelcome back to the TikTok Transparency Studio.\n\n2\n...",
  "vtt": "WEBVTT\n\n00:00:00.100 --> 00:00:02.920\nWelcome back to ...",
  "availableCaptionLanguages": ["en"],
  "description": "Ever wonder what happens the exact second you hit post? ...",
  "hashtags": [],
  "mentions": [],
  "createdAt": "2026-10-28T17:12:03Z",
  "durationSeconds": 66,
  "author": { "username": "tiktok", "nickname": "TikTok", "verified": true, "followers": 96600000 },
  "stats": { "plays": 1200000, "likes": 84000, "comments": 1900, "shares": 3100, "saves": 5200 },
  "music": { "title": "original sound - TikTok", "isOriginalSound": false },
  "aiSummary": {
    "summary": "...",
    "hook": "...",
    "topics": ["ai", "recommendations"],
    "tone": "informative"
  },
  "chargedEvents": ["transcript-from-captions", "ai-summary"]
}
```

*(Values above are shortened for the example.)*

#### Status values

Every video you submit produces one row, so you can see exactly what happened:

| `status` | Meaning | Charged? |
| --- | --- | --- |
| `success` | Transcript returned | Yes |
| `no_speech` | Music-only, silent, or no speech detected | No |
| `no_captions` | No native captions and speech-to-text was off or not possible | No |
| `private` / `unavailable` | Private account, removed or region-locked video | No |
| `too_long` | No captions and longer than the 10-minute speech-to-text limit | No |
| `blocked` / `error` | TikTok blocked the request or a temporary error persisted after retries | No |
| `invalid_url` / `unsupported` | Not a TikTok video link, or a photo post | No |
| `discovery_failed` | A profile, hashtag or search could not be listed | No |

A `SUMMARY` record in the key-value store lists counts per status, billable events and the reliability of the run.

### Pricing

Pay per event. You are charged **per video that returns a transcript**, and only then.

| Event | Price | When |
| --- | --- | --- |
| Transcript from TikTok captions | **US$ 0.004** per video | The video has TikTok captions |
| Transcript with speech-to-text | **US$ 0.02** per video | No captions; audio transcribed (up to 10 min) |
| AI summary and hook | **US$ 0.004** per video | Optional add-on |

Example: 1,000 videos with captions = US$ 4. Add AI summaries = US$ 8. If 20% of them need speech-to-text: 800 × 0.004 + 200 × 0.02 = US$ 7.2.

Platform usage (compute) is included in the event prices. You can set a **maximum cost per run** in the run options and the Actor stops when it is reached.

#### Free plan limit

On the Apify **Free plan**, each run processes **up to 10 videos**. The run status and log say so clearly when your input is cut. Upgrade your Apify plan to process larger batches.

### Use it from the API, MCP and AI agents

**API (Node.js):**

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('the_coder_senior/tiktok-transcript-subtitles-srt').call({
  videoUrls: ['https://www.tiktok.com/@tiktok/video/7704834703446117662'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].transcript);
```

**MCP and agents:** this Actor works through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Add it to Claude, Cursor or any MCP client and ask: *"Transcribe this TikTok and give me the hook and three key points."* The input is small, the output is structured JSON with a `status` field, and failures are explicit, so agents can decide what to do next.

### Limits and honest notes

- **Public content only.** Private accounts and private videos return `private`. The Actor never logs in.
- **Direct video URLs are the reliable path.** Listing a profile, hashtag or search is **beta**: TikTok shows public listings to some visitors and a login wall to others, depending on the IP. When a listing is blocked the Actor tells you (`discovery_failed`) and does not try to get around it. Collect the video links yourself or with any scraper and paste them in.
- **Speech-to-text** covers videos up to 10 minutes. Longer videos without captions return `too_long`.
- **Rate limits.** The Actor paces requests and runs a few videos in parallel. It retries temporary errors on a new IP.
- Captions come from TikTok's automatic speech recognition, so names and slang can contain errors, like any automatic transcript.
- Legal: you are responsible for how you use the data. Respect TikTok's terms, creators' rights and privacy laws such as GDPR and LGPD. This Actor is not affiliated with or endorsed by TikTok.

### FAQ

**Why is a video charged the cheaper price?** Because TikTok already provides captions for it. We only charge more when we have to run speech-to-text ourselves.

**Will I be charged if a video has no speech?** No.

**Can I get a translation?** If TikTok offers a machine-translated caption in the language you ask for, you get it (`captionType: "machine-translated"`).

**Found a bug or need a field?** Open an issue from the Actor page. Fast answers, real fixes.

# Actor input Schema

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

Public TikTok video links, e.g. https://www.tiktok.com/@user/video/1234567890123456789. Short links (vm.tiktok.com) work too. This is the most reliable input.

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

Usernames or profile URLs (e.g. @tiktok). The Actor lists the profile's latest public videos, up to 'Max videos per source'. Listing depends on what TikTok shows publicly and can be blocked: if it is, the run tells you and you can paste video URLs instead.

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

Hashtags without the #, e.g. receitas. Same limits as profiles.

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

Keyword searches, e.g. 'easy dinner recipes'. Same limits as profiles.

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

How many videos to take from each profile, hashtag or search (1-100).

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

Hard cap on the total number of videos processed in the run. Free plan runs are capped at 10 videos regardless of this value.

## `transcriptionMode` (type: `string`):

Auto uses TikTok's own captions when they exist (cheaper) and falls back to speech-to-text only when needed.

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

'auto' returns the video's original language. Set a code such as en, pt or es to get TikTok's machine-translated captions when available.

## `aiSummary` (type: `boolean`):

Adds a 2-3 sentence summary, the opening hook and topic tags for each transcript. Billed as a separate event per video.

## `summaryLanguage` (type: `string`):

'auto' writes the summary in the video's language. Or type a language name, e.g. English.

## `forceSpeechToText` (type: `boolean`):

By default, videos that TikTok flags as having no original audio (music-only) are skipped with status 'no_speech' and not charged. Turn on to run speech-to-text anyway.

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

TikTok blocks many datacenter IPs. If you see 'blocked' results, switch to residential proxies.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@tiktok/video/7704834703446117662"
  ],
  "maxVideosPerSource": 10,
  "maxVideos": 50,
  "transcriptionMode": "auto",
  "language": "auto",
  "aiSummary": false,
  "summaryLanguage": "auto",
  "forceSpeechToText": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `transcripts` (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 = {
    "videoUrls": [
        "https://www.tiktok.com/@tiktok/video/7704834703446117662"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("the_coder_senior/tiktok-transcript-subtitles-srt").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/@tiktok/video/7704834703446117662"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("the_coder_senior/tiktok-transcript-subtitles-srt").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/@tiktok/video/7704834703446117662"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call the_coder_senior/tiktok-transcript-subtitles-srt --silent --output-dataset

```

## MCP server setup

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

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/JlgKFR4x84IH3efSX/builds/gEWkPcrG4x1R0nluf/openapi.json
