# TikTok Transcript Scraper: Captions, Text & SRT, $1.99/1K (`laptime/tiktok-transcript-scraper`) Actor

From $1.99/1K transcripts, no start fee, failures free. Captions first, speech-to-text otherwise. No login. Paste video links or profiles (latest videos): text, timestamps, SRT/VTT, language, the hook, caption, author, views and date.

- **URL**: https://apify.com/laptime/tiktok-transcript-scraper.md
- **Developed by:** [Laptime](https://apify.com/laptime) (community)
- **Categories:** Social media, Videos, Agents
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.39 / 1,000 transcripts (captions)

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

<p><strong>From Laptime.</strong> We benchmark our scrapers on Apify and date the results, and an automated check runs this Actor's example input every morning.</p>

> **Update, 19 November 2026:** first version: TikTok transcripts from video links or profiles, with TikTok's captions first and speech-to-text otherwise.

### Why choose TikTok Transcript Scraper?

<ul>
<li><strong>A transcript in under two seconds.</strong> The example TikTok took 1.9 seconds from start to finish in our daily check on 25 Nov 2026.</li>
<li><strong>TikToks without captions still get a transcript.</strong> TikTok's own captions come first. When a video has none, Whisper speech-to-text transcribes its audio for $3.99 per 1,000, with the first 3 minutes included.</li>
<li><strong>You pay per transcript, not per run.</strong> 1,000 transcripts from TikTok's captions cost $1.99. There is no start fee, and private, music-only or failed videos cost nothing.</li>
</ul>

### Try it with one TikTok

[![How to use TikTok Transcript Scraper without coding: 1. Try for free 2. Paste TikTok links + Start 3. The transcript, line by line 4. Export the Transcript lines view to Excel](https://api.apify.com/v2/key-value-stores/uhvb1I0vozUDDdhcp/records/howto-tiktok-transcript-scraper-steps.jpg?v=a6d899f1)](https://api.apify.com/v2/key-value-stores/uhvb1I0vozUDDdhcp/records/howto-tiktok-transcript-scraper-steps.jpg?v=a6d899f1)

No code needed: click **Try for free**, keep the example input, click **Start**, then export to Excel. Or paste this into the **JSON** tab of the input:

```json
{
  "startUrls": ["https://www.tiktok.com/@apifytech/video/7398101551744552225"]
}
```

That's one 23-second TikTok, transcribed in about 2 seconds: 96 words in 12 timed lines, the hook, the caption language, views and date. Swap in any video link, `vm.tiktok.com` short link or profile.

**Apify free plan:** the $5 of monthly credit covers about 2,500 transcripts with this Actor. No card needed.

### Pick the right transcript tool

#### Using an AI assistant?

Paste this into ChatGPT, Claude, Cursor or any AI agent, then say what you want. It gives the assistant what it needs to run this Actor with your Apify account: inputs, examples, prices and a check of the results.

```text
Help me get data with the Apify Actor laptime/tiktok-transcript-scraper ("TikTok Transcript Scraper" by Laptime). From $1.99/1K transcripts, no start fee, failures free. Captions first, speech-to-text otherwise. No login. Paste video links or profiles (latest videos): text, timestamps, SRT/VTT, language, the hook, caption, author, views and date. Full docs (every input field, pricing): https://apify.com/laptime/tiktok-transcript-scraper.md; the essentials are below. If I have not said what I want yet, ask me in one question. Before the first run, show me the input and the estimated cost.
Run it: with Apify MCP tools (https://mcp.apify.com), call-actor "laptime/tiktok-transcript-scraper" with the input, then get-dataset-items with the run's dataset ID. Otherwise, with my Apify token (https://console.apify.com/settings/integrations; keep it in an environment variable, not in a URL or file): POST https://api.apify.com/v2/acts/laptime~tiktok-transcript-scraper/run-sync-get-dataset-items, header "Authorization: Bearer $APIFY_TOKEN", JSON body = the input; it returns the rows as a JSON array and waits up to 300 s (longer runs: POST /v2/acts/laptime~tiktok-transcript-scraper/runs, poll the run, then GET /v2/datasets/{defaultDatasetId}/items). No token yet: a free Apify account includes $5 of usage a month, no card.
Input (JSON; other fields in the docs): startUrls: One per line: video links (tiktok.com/@name/video/…, vm.tiktok.com and vt.tiktok.com short links) or profiles (tiktok.com/@name, or just the name: nasa or @nasa): a…; listOnly (default false): On: no transcripts; each row lists the video's caption languages (availableLanguages, captionTracks) and its details, and nothing is charged; maxVideosPerChannel (default 10): For profile URLs: how many of the latest videos to transcribe (TikTok shows logged-out visitors about the latest 10); onlyNew (default false): Skip videos that an earlier run with the same monitor name already delivered; monitorName: Name of the only-new memory, e.g. "mkbhd-daily"; runs with the same name share it.
Example (the input the Store form opens with): {"startUrls":["https://www.tiktok.com/@apifytech/video/7398101551744552225"]}
Example (transcribe a TikTok creator's latest videos): {"startUrls":["https://www.tiktok.com/@nasa"],"maxVideosPerChannel":10}
Example (get the script of every new TikTok, daily): {"startUrls":["https://www.tiktok.com/@nasa"],"onlyNew":true,"monitorName":"nasa-tiktok"}
Cost: pay per result, no start fee (Free-plan prices; paid Apify plans pay less): Transcript (captions) $1.99 per 1,000, Transcript (speech-to-text) $3.99 per 1,000, Speech-to-text minute $2 per 1,000, AI summary $5 per 1,000. To cap a run's charge, add ?maxTotalChargeUsd=<dollars> to the API URL (MCP: callOptions.maxTotalChargeUsd).
Output: Main fields: status, thumbnailUrl, title, author, platform, language, transcriptSource, durationSeconds, wordCount, text, url.
After the run: tell me how many rows came back and what they cost, then show the first 5 rows as a table (status, title, author, platform, language, transcriptSource). If nothing came back, read the run's statusMessage (API: GET /v2/acts/laptime~tiktok-transcript-scraper/runs/last; MCP: get-actor-run) and suggest one change to the input.
```

### What can TikTok Transcript Scraper do?

- **Read video links and profiles.** `tiktok.com/@name/video/…` and `vm.tiktok.com/…` links, profiles (`tiktok.com/@nasa`), and bare usernames in `tiktokUsernames`. A profile gives the creator's latest videos, about 10 for logged-out visitors.
- **Use TikTok's captions first.** TikTok's automatic captions are read directly, often in several languages. `availableLanguages` lists them, and **List caption languages only** shows them for free.
- **Fall back to speech-to-text.** A video without captions is transcribed from its audio with Whisper Large V3 Turbo. Music-only videos return a free `no_speech` row.
- **Give you the hook and subtitles.** `hook` holds what is said in the first 3 seconds; SRT, WebVTT and `[mm:ss]` text are optional.
- **Monitor creators.** **Only new videos** remembers what earlier runs delivered, so a daily schedule returns only new videos. A day with nothing new costs $0.
- **Answer one HTTP call per video.** The real-time API returns a transcript as JSON, text, `[mm:ss]` text, SRT or VTT.

### How to scrape TikTok transcripts

Paste one of these into the **JSON** tab of the input, or send it through the API.

#### A creator's latest videos as scripts

```json
{ "startUrls": ["https://www.tiktok.com/@nasa"], "maxVideosPerChannel": 10 }
```

About 10 videos, newest first, for at most $0.04.

#### New videos only, every day

```json
{ "startUrls": ["https://www.tiktok.com/@nasa"], "onlyNew": true, "monitorName": "nasa-tiktok" }
```

Save it as a task and add a daily schedule. A day with nothing new costs $0.

#### Spanish captions where TikTok has them

```json
{ "startUrls": ["https://www.tiktok.com/@apifytech/video/7398101551744552225"], "languages": ["es", "en"] }
```

`language` says which one you got. With **Fall back to the original language** off, a video without your languages returns a free row.

#### Which caption languages a video has, for free

```json
{ "startUrls": ["https://www.tiktok.com/@apifytech/video/7398101551744552225"], "listOnly": true }
```

Every caption track with the video's metadata. Nothing is charged.

#### Subtitles for a batch of videos

```json
{ "startUrls": ["https://www.tiktok.com/@apifytech/video/7398101551744552225"], "includeSrt": true, "includeVtt": true, "includeTimestampedText": true }
```

Each row gets `srt`, `vtt` and `timestampedText` strings.

### Input parameters

Give **TikTok videos or profiles**. Everything else is optional.

| Parameter | Type | Default | What it does |
|---|---|---|---|
| `startUrls` | array | | Video, short or profile links |
| `languages` | array | the video's language | Preferred caption languages, in order (`["es", "en"]`) |
| `languageFallback` | boolean | `true` | Use the original language when none of yours exist (off = a free `no_captions` row) |
| `captionType` | string | `any` | `any`, `manual` or `auto` |
| `listOnly` | boolean | `false` | Caption tracks and metadata only, nothing charged |
| `speechToText` | string | `auto` | `auto` (when there are no captions), `always` or `never` |
| `maxSpeechMinutes` | integer | `60` | Longest audio to transcribe per video (up to 240) |
| `maxVideosPerChannel` | integer | `10` | Newest videos per profile |
| `maxVideos` | integer | `1000` | Videos in the whole run |
| `onlyNew` / `monitorName` | boolean / string | `false` | Skip videos earlier runs with this monitor name delivered |
| `includeSegments` | boolean | `true` | Timed segments (start, end, text) |
| `includeTimestampedText` / `includeSrt` / `includeVtt` | boolean | `false` | `[mm:ss]` text, SRT, WebVTT |
| `includeDescription` | boolean | `true` | The video's caption text |
| `aiSummary` / `aiSummaryLanguage` | boolean / string | `false` | AI summary and key points ($0.005 each) |
| `aiApiKey`, `aiModel`, `aiBaseUrl` | string | | Your own LLM key and model (no AI event charged) |
| `maxConcurrency` | integer | `10` | Videos processed in parallel |
| `telemetry` | boolean | `true` | Anonymous error reports (what is sent: see the FAQ) |

Input names from other TikTok transcript Actors work as they are: `urls`, `videoUrls`, `postUrls`, `profileUrls`, `tiktokUsernames`, `usernames`, `maxVideosPerSource` and `max_videos`.

### Output

One row per video, 59 fields, each documented in the Output tab's schema. Views: **Transcripts**, **Transcript lines** (one row per spoken line), **Video metadata**, **AI summaries** and **Not transcribed**.

[![TikTok Transcript Scraper results in Apify: a TikTok transcript one line per row with start, end, duration, text and video link](https://api.apify.com/v2/key-value-stores/uhvb1I0vozUDDdhcp/records/howto-tiktok-transcript-scraper-output.jpg?v=6acb5bb5)](https://api.apify.com/v2/key-value-stores/uhvb1I0vozUDDdhcp/records/howto-tiktok-transcript-scraper-output.jpg?v=6acb5bb5)

*A real run of the example TikTok in the Transcript lines view: one row per spoken line with its start, end and duration in seconds, the text and the video link.*

| Group | Fields |
|---|---|
| Transcript | `text`, `segments` (start, end, text), `timestampedText`, `srt`, `vtt`, `hook`, `wordCount`, `segmentCount` |
| Language | `language`, `transcriptSource` (auto-captions or speech-to-text), `availableLanguages`, `captionTracks` |
| Video | `url`, `videoId`, `title` (the caption), `author`, `authorUrl`, `publishedAt`, `durationSeconds` |
| Engagement | `viewCount`, `likeCount`, `commentCount` |
| Status and billing | `status`, `statusReason`, `charged`, `chargedEvent`, `idempotencyKey` |

#### Example row (shortened)

A real row for the example video (19 Nov 2026):

```json
{
  "status": "ok",
  "chargedEvent": "transcript",
  "platform": "tiktok",
  "url": "https://www.tiktok.com/@apifytech/video/7398101551744552225",
  "videoId": "7398101551744552225",
  "title": "📣 Yes, you can scrape job listings #data in a minute!!   #webscraping #techtiktok #job #au",
  "author": "apifytech",
  "publishedAt": "2024-08-01T09:32:32.000Z",
  "durationSeconds": 23,
  "viewCount": 595,
  "likeCount": 21,
  "language": "en-US",
  "transcriptSource": "auto-captions",
  "availableLanguages": ["en-US"],
  "hook": "Are you doing research in HR or do you want to get a structured list of job listings",
  "wordCount": 96,
  "text": "Are you doing research in HR or do you want to get a structured list of job listings without endlessly scrolling through? Indeed. What if I told you that you ca …",
  "segments": [{ "start": 0.02, "end": 1.42, "duration": 1.4, "text": "Are you doing research in HR" }]
}
```

Every row has every field (`null` when unknown). A video without a transcript gets a free row whose `status` and `statusReason` say why.

#### Export to Excel or CSV

Open the run's **Export** button and pick a view before you download: the dialog starts on **All fields**, which spreads every segment over its own columns. **Transcripts** gives one readable line per video, and **Transcript lines** one row per spoken line with its start and end time. Choose JSON when you want the timed segments kept intact.

### Benchmarks

Prices are each Actor's Free plan list price.

| Task | TikTok Transcript Scraper | Next best we found | Date |
|---|---|---|---|
| 1,000 one-minute TikToks without captions | **$3.99** | $6.00 | 19 Nov 2026 |

Prices were compared with clockworks ($3.70 per 1,000 plus $0.048 per transcribed minute), apple_yang ($1.50 per 1,000 plus $4.50 for speech-to-text), scrape-creators and sian.agency. Speed: from 19 to 25 Nov 2026 the daily check's run of the example TikTok took 1.9 to 5.1 s.

### How much does it cost to scrape TikTok transcripts?

Pay per event. Proxies and platform usage are included, and there is no start fee.

| Event | Price |
|---|---|
| Transcript from TikTok's captions | **$1.99 per 1,000** |
| Transcript made by speech-to-text, first 3 minutes of audio included | **$3.99 per 1,000** |
| Each started speech-to-text minute after the first 3 | $0.002 |
| AI summary (only when you turn it on) | $0.005 |

| Job | Cost |
|---|---|
| 1,000 TikToks, 800 with captions and 200 without | $2.39 |
| A creator's 10 latest videos | at most $0.04 |
| A daily monitor that finds nothing new | $0 |

You are never charged for listing profiles, `listOnly` runs, private or removed videos, music-only videos, or a monitor run with nothing new.

### Use it as an API (real-time)

Send one TikTok video link and get the transcript back in the same HTTP response, with no run to start. This Actor is an Apify Server Actor: the **Server** tab lists every parameter and sends test requests from your browser. Authenticate with your [Apify API token](https://console.apify.com/settings/integrations) in the `Authorization` header, or add `&token=` to the URL.

```bash
curl "https://laptime--tiktok-transcript-scraper.apify.actor/?url=https://www.tiktok.com/@apifytech/video/7398101551744552225&format=text" \
  -H "Authorization: Bearer $APIFY_TOKEN"
```

```js
const link = 'https://www.tiktok.com/@apifytech/video/7398101551744552225';
const res = await fetch(`https://laptime--tiktok-transcript-scraper.apify.actor/?url=${encodeURIComponent(link)}`, {
  headers: { Authorization: `Bearer ${process.env.APIFY_TOKEN}` },
});
const video = await res.json(); // { status, text, segments, language, title, ... }
```

The default `format=json` returns the same row a run saves: `status`, `text`, timed `segments`, `language`, caption, author, views and likes. `format=text`, `timestamped`, `srt` or `vtt` return the transcript itself. Options: `language`, `speechToText`, `summary=true`, and `listOnly=true` for the caption languages only (free). A video without a transcript returns its `status` and reason and costs nothing; profiles need a normal run.

On 1 Dec 2026 the first request took 2.2 seconds, server start included. The next one took 1.3 seconds.

Each request is charged the same events as a run: $1.99 per 1,000 caption transcripts, with speech-to-text and AI summaries priced as in the table above. The server runs in your own Apify account (1 GB, stopped after 5 minutes without requests), so Apify bills its time as platform usage: a server that answered a few requests and then stopped used $0.018 in our account on 1 Dec 2026.

### Integrations

Save your input as a task, give it a schedule, and send the transcripts wherever you work. New to schedules? Apify's one-minute video shows how:

https://www.youtube.com/watch?v=1jI7WcVQmwM

- **n8n, Make, Zapier:** the Apify node or app, "Run an Actor and get dataset", Actor `laptime/tiktok-transcript-scraper`.
- **Google Sheets or any URL:** Apify's integrations, or a webhook on "run succeeded".

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("laptime/tiktok-transcript-scraper").call(run_input={"startUrls": ["https://www.tiktok.com/@nasa"]})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["url"], row["viewCount"], (row["text"] or row["statusReason"])[:200])
```

#### Claude, ChatGPT, Cursor and other MCP clients

Add `https://mcp.apify.com?tools=laptime/tiktok-transcript-scraper` as a remote MCP server, then ask: "What does this TikTok say? <URL>"

### FAQ

#### Do I need a TikTok account?

No. It reads what TikTok shows a logged-out visitor: public videos and profiles.

#### How many videos of a profile can I get?

TikTok shows logged-out visitors about the latest 10 videos of a profile, and that is what a profile link returns. For older videos, paste their links.

#### What if a video has no captions?

With **Speech-to-text** on `auto` (the default) it transcribes the audio, charged as a speech-to-text transcript. Set it to `never` for captions only.

#### Is it reliable?

An automated check runs the default input on Apify every morning and alerts us when it returns nothing or a key field goes empty. It runs on the same engine as [Video Transcript Scraper](https://apify.com/laptime/video-transcript-scraper). Blocked requests move to fresh IPs, and anything that still fails is listed with its reason and costs nothing.

#### Does it send any data back?

When a run hits an error, the Actor sends us a small anonymous report (the error type, which step failed, the HTTP status and a few counts) so we can fix breakages before you notice them. It never includes your input, your results, URLs, your Apify account or your IP address. To turn it off, untick **Anonymous error reports** in the input (or set `"telemetry": false`).

#### Is it legal to scrape TikTok transcripts?

It reads public videos only. Transcripts may be copyrighted by their creators: use them for analysis, research and accessibility, and check TikTok's terms and your local law before republishing. When in doubt, ask a lawyer. Apify's overview: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

### More Laptime scrapers

- [Video Transcript Scraper](https://apify.com/laptime/video-transcript-scraper): the same engine for YouTube, TikTok, Instagram, Facebook and X, with the same prices.
- [YouTube Transcript Scraper](https://apify.com/laptime/youtube-transcript-scraper): YouTube videos, Shorts, channels and keyword searches to text with chapters and SRT, from $1.99 per 1,000.
- [Instagram Reels Transcript Scraper](https://apify.com/laptime/instagram-reels-transcript-scraper) and [Douyin Transcript Scraper](https://apify.com/laptime/douyin-transcript-scraper): reels and 抖音 videos to text.
- [Threads Scraper](https://apify.com/laptime/threads-scraper): profiles, posts, replies and keyword search, from $0.99 per 1,000.

### Support

Found a video that doesn't work, or missing a field? Open an issue and we'll answer within a day. Fixes and new fields are listed on the **Changelog** tab.

If it saved you time, a short review on the Actor page helps other people find it.

*Unofficial. Not affiliated with, endorsed by or sponsored by TikTok or ByteDance.*

# Changelog

This Actor's version history is a separate document: https://apify.com/laptime/tiktok-transcript-scraper/changelog.md

# Actor input Schema

## `startUrls` (type: `array`):

One per line: video links (tiktok.com/@name/video/…, vm.tiktok.com and vt.tiktok.com short links) or profiles (tiktok.com/@name, or just the name: nasa or @nasa): a profile expands to its latest videos (TikTok shows logged-out visitors the latest ~10). TikTok's own captions are used first, our speech-to-text otherwise.

## `languages` (type: `array`):

Optional. Caption languages in order of preference (ISO codes such as "en", "es", "pt-BR"); TikTok often has auto-translated tracks, and the first one the video has wins. Empty (default) = the language spoken in the video.

## `languageFallback` (type: `boolean`):

On (default): when the video's captions are all in other languages, return the transcript in its own language. Off: return a free "no_captions" row instead. (A video with no captions at all still goes to speech-to-text.)

## `captionType` (type: `string`):

Which caption tracks may be used: any (default) = creator-made first, then auto-generated; manual = creator-made only; auto = auto-generated only. With manual or auto, a video without that kind is transcribed by speech-to-text instead (paid, see Speech-to-text), or returns a free "no_captions" row when Speech-to-text is never.

## `listOnly` (type: `boolean`):

On: no transcripts; each row lists the video's caption languages (availableLanguages, captionTracks) and its details, and nothing is charged. Off (default): transcripts as usual.

## `speechToText` (type: `string`):

auto (default) = videos without captions are transcribed from their audio with Whisper ($3.99 per 1,000 videos, first 3 minutes included, instead of $1.99 for captions); always = ignore captions and transcribe the audio; never = captions only, videos without captions return a free "no_captions" row.

## `maxSpeechMinutes` (type: `integer`):

Longest video speech-to-text may transcribe; longer videos without captions return a free "too_long" row. The first 3 minutes are included in the speech-to-text price; each further started minute costs $0.002 (speech-minute). Default 60.

## `maxVideosPerChannel` (type: `integer`):

For profile URLs: how many of the latest videos to transcribe (TikTok shows logged-out visitors about the latest 10). Default 10. Listing a profile is free; each transcript is charged as usual.

## `onlyNew` (type: `boolean`):

Skip videos that an earlier run with the same monitor name already delivered. Schedule a profile with this on to receive (and pay for) only new videos; a run with nothing new costs $0.

## `monitorName` (type: `string`):

Optional. Name of the only-new memory, e.g. "mkbhd-daily"; runs with the same name share it. Letters, digits and dashes.

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

Safety cap on the number of videos one run processes, after channels, playlists and searches are expanded. Default 1,000.

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

On (default): add "segments", a list of {start, end, duration, text} in seconds, for each caption line. Each line adds 4 columns to a CSV/Excel export of all fields, so videos over ~30 min pass Apify's 2,000-column export limit: export the Transcript lines view (one row per line), or turn this off.

## `includeTimestampedText` (type: `boolean`):

Add "timestampedText": one "\[mm:ss] text" line per caption, easy to quote in an LLM prompt. Off by default.

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

Add the transcript as an SRT subtitle file in "srt". Off by default.

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

Add the transcript as a WebVTT subtitle file in "vtt". Off by default.

## `includeDescription` (type: `boolean`):

On (default): include the video description in "description". Turn off for smaller rows.

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

Add "aiSummary" (2-4 sentences) and "aiKeyPoints" (3-7 takeaways) to each transcript, written by Claude Haiku. Off by default. $0.005 per summary on our model; free with your own key. Apify free plan: 10 summaries per run.

## `aiSummaryLanguage` (type: `string`):

Optional. ISO code of the summary language, e.g. "en". Empty = the transcript's language.

## `aiApiKey` (type: `string`):

Optional. Your OpenRouter (sk-or-…), OpenAI, Anthropic (sk-ant-…) or Gemini (AIza…) key. With your own key, summaries are not charged. Empty = our hosted model.

## `aiModel` (type: `string`):

Optional. Model id for your own key or endpoint, e.g. "gpt-4.1-mini". Empty = a sensible default for the key type.

## `aiBaseUrl` (type: `string`):

Optional. Base URL of an OpenAI-compatible API (a local Ollama or vLLM server reachable from Apify), used with your own key and model; not charged.

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

How many videos are processed at the same time. Default 10.

## `telemetry` (type: `boolean`):

Sends the Actor's author an anonymous report when a run hits an error (error type, failing step, HTTP status, counts). Never your input, results, URLs or account. Untick to turn it off.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.tiktok.com/@apifytech/video/7398101551744552225",
    "https://www.tiktok.com/@nasa"
  ],
  "languages": [],
  "languageFallback": true,
  "captionType": "any",
  "listOnly": false,
  "speechToText": "auto",
  "maxSpeechMinutes": 60,
  "maxVideosPerChannel": 10,
  "onlyNew": false,
  "maxVideos": 1000,
  "includeSegments": true,
  "includeTimestampedText": false,
  "includeSrt": false,
  "includeVtt": false,
  "includeDescription": true,
  "aiSummary": false,
  "maxConcurrency": 10,
  "telemetry": true
}
```

# Actor output Schema

## `results` (type: `string`):

Every row, one per video.

## `overview` (type: `string`):

The Transcripts view: status, title, author, language and text.

## `lines` (type: `string`):

The Transcript lines (one row per line) view: One row per caption line (segments unwound): video title, start, end and duration in seconds, the line's text and the video link. Pick this view in Export for CSV/Excel. Videos without a transcript are left out (see Not transcribed); with Timestamped segments off, each video is one row with its whole text.

## `metadata` (type: `string`):

The Video metadata view: Title, author, date, views, length and caption languages, without the text.

## `summaries` (type: `string`):

The AI summaries view: The optional AI summary and key points (aiSummary on).

## `problems` (type: `string`):

The Not transcribed view: Rows without a transcript and why (never charged).

## `runStats` (type: `string`):

RUN_STATS: transcripts by source and status, charges, timings, proxy and speech-to-text usage.

# 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 = {
    "startUrls": [
        "https://www.tiktok.com/@apifytech/video/7398101551744552225"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("laptime/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 = { "startUrls": ["https://www.tiktok.com/@apifytech/video/7398101551744552225"] }

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

```

## MCP server setup

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