# TikTok Transcript: TikTok Video to Text API, $0.01 (`datadrip/tiktok-transcript`) Actor

Turn TikTok videos and whole profiles into clean, timestamped text with Whisper AI. Transcript, SRT and metadata. $0.01 per video, failed links free. Works with AI agents via Apify MCP.

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

## Pricing

from $10.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.

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: TikTok Video to Text API

Turn TikTok videos, or a creator's whole profile, into clean, timestamped text. Get the full transcript, timestamped segments, optional SRT subtitles and video metadata, ready for AI pipelines, trend research, content repurposing and SEO.

- **$0.01 per video.** Videos that fail, are silent or have no speech are **never charged**.
- **Whole profiles:** paste a profile link and set how many of the latest videos to transcribe.
- **Native captions first, AI when needed:** uses TikTok's own captions when available (fast), otherwise Whisper large-v3 speech-to-text with punctuation and language detection.
- **Timestamps and subtitles:** `{ start, end, text }` segments and a ready-to-use `.srt` file.
- **Metadata included:** creator, caption, upload date, duration, views, likes and comments.
- **No login and no cookies.** Public videos only.
- **Built for AI agents:** call it from Claude, ChatGPT, Cursor or any MCP client through the Apify MCP server, or from Zapier, Make and n8n.

### How to use it

1. Paste TikTok video links (`https://www.tiktok.com/@user/video/123...`) or profile links (`https://www.tiktok.com/@user`).
2. For profiles, set **Max videos per profile**.
3. Click **Start**. Each video becomes one row in the dataset.

### Input example

```json
{
  "urls": [
    { "url": "https://www.tiktok.com/@patroxofficial/video/6742501081818877190" },
    { "url": "https://www.tiktok.com/@creator" }
  ],
  "maxVideosPerSource": 20,
  "includeSrt": false
}
```

### Output example

```json
{
  "status": "ok",
  "platform": "TikTok",
  "url": "https://www.tiktok.com/@creator/video/1234567890",
  "uploader": "creator",
  "durationSeconds": 24,
  "viewCount": 125000,
  "language": "en",
  "source": "captions",
  "text": "Here's the trick nobody tells you about...",
  "segments": [{ "start": 0.0, "end": 1.9, "text": "Here's the trick nobody tells you about" }]
}
```

| Field | What it is |
|---|---|
| `status` | `ok`, `no-speech` (not charged) or `error` (not charged) |
| `text` | the full transcript as one string |
| `segments` | timestamped pieces, in seconds |
| `srt` | subtitle file (when **Include SRT subtitles** is on) |
| `source` | `captions` (TikTok's own) or `ai` (Whisper) |
| `uploader`, `title`, `description`, `uploadDate`, `durationSeconds`, `viewCount`, `likeCount`, `commentCount` | video metadata |

### Pricing

| Event | Price |
|---|---|
| Transcript (one video, includes the first 3 minutes of AI transcription) | $0.01 |
| Each extra AI minute after the first 3 | $0.005 |

Most TikToks are under 3 minutes, so **1,000 videos cost $10**. Failed, silent and speechless videos cost nothing.

### Also works with

Instagram Reels, Facebook videos and podcasts use the same input. See [Instagram Reels Transcript](https://apify.com/datadrip/instagram-reels-transcript) and, for whole podcast shows, [Video & Podcast Transcript Extractor](https://apify.com/datadrip/video-transcript).

### Use it from AI agents and automations

- **AI agents:** connect the [Apify MCP server](https://mcp.apify.com) to Claude, ChatGPT or Cursor and ask for a TikTok transcript; the agent can find and run this Actor itself.
- **No-code:** Zapier, Make, n8n (search for "Apify"), or send results to Google Sheets, Slack or email from the **Integrations** tab.
- **API:** see the **API** tab for Python, JavaScript and cURL examples.

### FAQ

**Private videos?** No. They need a login, and this Actor only reads public content.

**Is this legal?** The Actor only reads publicly available content, like a logged-out visitor, and never tries to get around TikTok's protections. Make sure your use of the transcripts follows copyright law and TikTok's terms.

**TikTok refused a video.** TikTok sometimes blocks automated requests. Those videos come back as `status: "error"` with a plain explanation, are never charged, and can be retried later.

***

More DataDrip tools at [getdatadrip.io](https://getdatadrip.io/transcripts/).

# Actor input Schema

## `urls` (type: `array`):

Public TikTok video links or profile links (profiles are expanded into their latest videos). Instagram Reels, Facebook and podcast links also work.

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

Limit for links that contain many videos. Single video links always count as one.

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

ISO code such as en, es, de. Leave empty to auto-detect the spoken language.

## `preferCaptions` (type: `boolean`):

Faster and free of AI charges. Turn off to always use AI speech-to-text (better punctuation than auto-captions).

## `maxMinutesPerVideo` (type: `integer`):

Longer audio is cut at this point and marked as truncated. Caps your cost on long podcasts.

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

Adds a list of { start, end, text } pieces, useful for clipping, search and chaptering.

## `includeSrt` (type: `boolean`):

Adds a ready-to-use .srt subtitle file as text.

## `maxConcurrency` (type: `integer`):

How many videos to process at the same time.

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

Network settings for requests. The default works for most sites. Videos a platform refuses are returned as errors and never charged.

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://www.tiktok.com/@patroxofficial/video/6742501081818877190"
    }
  ],
  "maxVideosPerSource": 20,
  "preferCaptions": true,
  "maxMinutesPerVideo": 120,
  "includeSegments": true,
  "includeSrt": false,
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All transcripts from this run, one row per video.

## `transcriptsFull` (type: `string`):

Every field, including timestamped segments and SRT.

# 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 = {
    "urls": [
        {
            "url": "https://www.tiktok.com/@patroxofficial/video/6742501081818877190"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datadrip/tiktok-transcript").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 = { "urls": [{ "url": "https://www.tiktok.com/@patroxofficial/video/6742501081818877190" }] }

# Run the Actor and wait for it to finish
run = client.actor("datadrip/tiktok-transcript").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 '{
  "urls": [
    {
      "url": "https://www.tiktok.com/@patroxofficial/video/6742501081818877190"
    }
  ]
}' |
apify call datadrip/tiktok-transcript --silent --output-dataset

```

## MCP server setup

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

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/QYHgegj4jVbxB9z8f/builds/9JQ9GxIFp5TH1vlgQ/openapi.json
