# 🎬 Best TikTok Transcripts Scraper (`simpleapi/best-tiktok-transcripts-scraper`) Actor

🎬 Best TikTok Transcripts Scraper extracts TikTok captions/transcripts fast for creators, analysts, and marketers. 🚀 Save time, improve research & content insights. 📈 Perfect for SEO, trend analysis, and audience understanding.

- **URL**: https://apify.com/simpleapi/best-tiktok-transcripts-scraper.md
- **Developed by:** [SimpleAPI](https://apify.com/simpleapi) (community)
- **Categories:** Automation, Lead generation, Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 🎬 Best TikTok Transcripts Scraper

Extract the **spoken transcript** of any public TikTok video — just paste the URL. Built for content analysts, AI/LLM data pipelines, subtitle extraction, and trend research. No paid third-party API, no login, no fuss. ⚡

### ❓ Why Choose Us?

- 🆓 **Direct scrape** — reads TikTok's own embedded caption track, so there are no third-party credit walls.
- 🛡️ **Smart proxy ladder** — starts with **no proxy**, then auto-escalates **Datacenter → Residential** only if TikTok blocks, and sticks with the working tier for the rest of the run.
- 📝 **Two output styles** — clean flattened text by default, or full **WEBVTT with timestamps** on demand.
- 💾 **Live results** — every transcript is saved the moment it's ready, so a long run never loses work.
- 📊 **Tidy output table** — results render in clean, sectioned views right in the Apify Console.

### ✨ Key Features

- 🎥 Bulk input — scrape many videos in one run
- 🌍 Language preference ordering for multi-caption videos
- 🤖 Optional preference for auto-generated (ASR) captions
- 🔁 Automatic retries with exponential backoff
- 📈 Real-time, emoji-rich progress logs

### 📥 Input

| Field | Type | Description |
|-------|------|-------------|
| `videos` | array | **Required.** TikTok video URLs (bulk supported). |
| `rawTranscript` | boolean | Keep full WEBVTT with timestamps. Default `false` (flattened text). |
| `preferredLanguages` | array | Ordered caption-language preference. Default `["eng-US","eng","en"]`. |
| `preferAutoCaptions` | boolean | Prefer ASR captions when multiple exist. Default `true`. |
| `requestDelay` | number | Seconds between videos. Default `1.5`. |
| `maxRetries` | integer | Retries per video for recoverable errors. Default `3`. |
| `proxyConfiguration` | object | Optional. Forces a starting proxy tier; otherwise starts direct. |

```json
{
  "videos": [
    "https://www.tiktok.com/@stoolpresidente/video/7488736374602927402"
  ],
  "rawTranscript": false,
  "proxyConfiguration": { "useApifyProxy": false }
}
````

### 📤 Output

Each video produces one record:

```json
{
  "success": true,
  "credits_remaining": null,
  "id": "7488736374602927402",
  "url": "https://www.tiktok.com/@stoolpresidente/video/7488736374602927402",
  "transcript": "Bagels to make him dance. Bagels to make him dance. Bagels to make him dance."
}
```

| Field | Description |
|-------|-------------|
| `success` | Whether a transcript was retrieved. |
| `credits_remaining` | Always `null` — this is a free direct scrape, not a credited API. |
| `id` | Numeric TikTok video ID. |
| `url` | The video URL you submitted. |
| `transcript` | Flattened text (default) or raw WEBVTT (if `rawTranscript` is on). `null` on failure. |
| `error` | Reason for failure (present only when `success` is `false`). |

### 🚀 How to Use (Apify Console)

1. Log in at [console.apify.com](https://console.apify.com) → **Actors**.
2. Open **Best TikTok Transcripts Scraper**.
3. Paste your TikTok video URLs into **🎥 TikTok Video URLs**.
4. (Optional) Toggle raw WEBVTT, languages, or proxy.
5. Click **Start** and watch the live logs. ▶️
6. Open the **Output** tab — export to JSON / CSV / XLSX.

### 🤖 Use via API

```bash
curl -X POST "https://api.apify.com/v2/acts/<ACTOR_ID>/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{"videos":["https://www.tiktok.com/@stoolpresidente/video/7488736374602927402"]}'
```

### 🎯 Best Use Cases

- 📊 Content & sentiment analysis at scale
- 🧠 Feeding clean text into LLM / RAG pipelines
- 🔎 Trend and hook research across creators
- 📝 Subtitle / caption extraction

### 💳 Pricing

This Actor uses **pay-per-event**: you are billed once per **successfully scraped transcript** (the `row_result` event). Videos with no captions or that fail are pushed but **not charged**. See the Store page for the current per-event price.

### ❔ Frequently Asked Questions

**Does every TikTok have a transcript?** No — only videos with captions/subtitles (creator-added or TikTok ASR). Videos without captions return `success: false` with a clear reason.

**Do I need a proxy?** No. It runs direct by default and only escalates to Apify proxies if TikTok blocks.

**Raw timestamps or clean text?** Both — flip `rawTranscript` to choose.

### 🛟 Support and Feedback

Found a bug or want a feature? Open an issue on the Actor's **Issues** tab in the Apify Console.

> ⚖️ Data is collected only from **publicly available** TikTok pages. You are responsible for complying with TikTok's Terms, GDPR/CCPA, and applicable laws.

# Actor input Schema

## `videos` (type: `array`):

📋 Add one or more TikTok video URLs (bulk supported). Example: https://www.tiktok.com/@username/video/1234567890

## `rawTranscript` (type: `boolean`):

✨ OFF (default) returns a clean, flattened transcript line. Turn ON to keep the full WEBVTT track with timestamps.

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

🗣️ Ordered language preference for picking a caption track when several exist. Defaults to English.

## `preferAutoCaptions` (type: `boolean`):

🎙️ When multiple tracks match, prefer TikTok's automatic speech-recognition captions.

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

🔐 Optional. Leave empty to start direct — the scraper auto-escalates Direct → Datacenter → Residential if TikTok blocks. Select a proxy here to force a starting tier.

## Actor input object example

```json
{
  "videos": [
    "https://www.tiktok.com/@stoolpresidente/video/7488736374602927402"
  ],
  "rawTranscript": false,
  "preferredLanguages": [
    "eng-US",
    "eng",
    "en"
  ],
  "preferAutoCaptions": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "videos": [
        "https://www.tiktok.com/@stoolpresidente/video/7488736374602927402"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("simpleapi/best-tiktok-transcripts-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 = {
    "videos": ["https://www.tiktok.com/@stoolpresidente/video/7488736374602927402"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("simpleapi/best-tiktok-transcripts-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "videos": [
    "https://www.tiktok.com/@stoolpresidente/video/7488736374602927402"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call simpleapi/best-tiktok-transcripts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=simpleapi/best-tiktok-transcripts-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "🎬 Best TikTok Transcripts Scraper",
        "description": "🎬 Best TikTok Transcripts Scraper extracts TikTok captions/transcripts fast for creators, analysts, and marketers. 🚀 Save time, improve research & content insights. 📈 Perfect for SEO, trend analysis, and audience understanding.",
        "version": "0.1",
        "x-build-id": "Z8LGAa3Ah2eUHuclA"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/simpleapi~best-tiktok-transcripts-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-simpleapi-best-tiktok-transcripts-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/simpleapi~best-tiktok-transcripts-scraper/runs": {
            "post": {
                "operationId": "runs-sync-simpleapi-best-tiktok-transcripts-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/simpleapi~best-tiktok-transcripts-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-simpleapi-best-tiktok-transcripts-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "videos"
                ],
                "properties": {
                    "videos": {
                        "title": "🎥 TikTok Video URLs",
                        "type": "array",
                        "description": "📋 Add one or more TikTok video URLs (bulk supported). Example: https://www.tiktok.com/@username/video/1234567890",
                        "items": {
                            "type": "string"
                        }
                    },
                    "rawTranscript": {
                        "title": "📝 Keep raw WEBVTT (with timestamps)",
                        "type": "boolean",
                        "description": "✨ OFF (default) returns a clean, flattened transcript line. Turn ON to keep the full WEBVTT track with timestamps.",
                        "default": false
                    },
                    "preferredLanguages": {
                        "title": "🌍 Preferred caption languages",
                        "type": "array",
                        "description": "🗣️ Ordered language preference for picking a caption track when several exist. Defaults to English.",
                        "default": [
                            "eng-US",
                            "eng",
                            "en"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "preferAutoCaptions": {
                        "title": "🤖 Prefer auto-generated (ASR) captions",
                        "type": "boolean",
                        "description": "🎙️ When multiple tracks match, prefer TikTok's automatic speech-recognition captions.",
                        "default": true
                    },
                    "proxyConfiguration": {
                        "title": "🛡️ Proxy Configuration",
                        "type": "object",
                        "description": "🔐 Optional. Leave empty to start direct — the scraper auto-escalates Direct → Datacenter → Residential if TikTok blocks. Select a proxy here to force a starting tier."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
