# Social Video Transcript - TikTok, Reels, YouTube to Text (`kantolabs/social-video-transcript`) Actor

Transcribe public TikTok, Instagram Reels, YouTube, Facebook and X videos to text, SRT and VTT with timestamps. YouTube captions first, speech-to-text (Whisper) when a video has none. Scraper datasets in, watch mode, flat rows. $0.01 per video incl. the first 2 minutes.

- **URL**: https://apify.com/kantolabs/social-video-transcript.md
- **Developed by:** [Kanto Labs](https://apify.com/kantolabs) (community)
- **Categories:** Videos, AI, Social media
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### What does Social Video Transcript do?

**Social Video Transcript** turns **public TikTok videos, Instagram Reels, YouTube videos and Shorts, Facebook videos and X (Twitter) videos** into a clean **transcript**: plain text, **SRT** and **WebVTT** subtitles, timestamped segments, optional **word timestamps**, the detected **language**, the **first 3 seconds of speech** (the hook) and the **first spoken line**. Turn on **On-screen text** and it also reads the **text shown in the video** - burned-in captions, hook titles, lists, prices, CTAs - with OCR. One tool for every platform: paste the links, or pick the dataset of the scraper you already run, and get **one flat row per video** that drops straight into Google Sheets, Airtable, n8n, Make or your AI agent.

When a YouTube video already has **captions** in its spoken language, they are used (fast and cheap at any length). Every other video goes through **speech-to-text** (OpenAI Whisper running inside the Actor), so reels and TikToks without captions still get a real transcript.

### Who is it for?

- **Content researchers and social media managers** collecting what top creators actually say, across TikTok, Reels and Shorts, in one sheet.
- **Agencies and UGC teams** pulling scripts and hooks from competitor videos for briefs and swipe files.
- **AI and automation builders** feeding video text into ChatGPT, Claude, RAG pipelines or MCP agents.
- **Repurposing**: turn a Short into a blog post, a thread or subtitles.
- **Scraper users**: you already scrape TikTok or Instagram; add the transcript of every post to the same table.

### What you get for every video

| Column | What is inside |
|---|---|
| `url`, `platform`, `status` | the link, tiktok / instagram / youtube / facebook / x / file, and ok / no-speech / failed / skipped |
| `title`, `author`, `authorHandle`, `caption`, `uploadDate`, `durationSeconds`, `viewCount`, `likeCount`, `commentCount` | post details, when the platform shows them logged out |
| `transcript` | plain text, with a new paragraph at long pauses |
| `srt`, `vtt` | ready-to-use subtitle files as text (max 2 lines of 42 characters, max 6 s per cue) |
| `segments` | `[{start, end, text}]` in seconds |
| `words` | `[{start, end, word}]` (option) |
| `hookText` | what is said in the first 3 seconds |
| `firstSpokenLine` | the first sentence that is spoken (the verbal hook as a full line) |
| `language`, `languageProbability`, `wordCount` | detected language (ISO code) and size |
| `transcriptSource`, `captionType` | `captions` (YouTube: `manual` = the creator's, `auto` = YouTube's automatic) or `speech-to-text` |
| `billedVideos`, `billedExtraMinutes` | exactly what this row cost you |
| `error`, `skipReason` | a plain-English reason on every free row |
| `onScreenText` | with **On-screen text** on: every text shown in the video, once each, in order of appearance |
| `onScreenSegments` | with **On-screen text** on: `[{start, end, text}]` - when each text is on screen, in seconds |
| `hookOnScreenText` | with **On-screen text** on: the text on screen in the first 3 seconds (the visual hook) |
| `billedOnScreenTextMinutes` | with **On-screen text** on: on-screen text minutes this row cost you (0 when no text was found) |

Every row has the same columns in the same order, and rows come back in the order of your input.

### How to get a transcript of a TikTok, Reel or YouTube video

1. Paste one or more **video links** into **Video links** (one per line). Single videos only: a TikTok video, an Instagram reel or post, a YouTube video or Short, a Facebook video or reel, an X post with a video, or a direct link to a video file.
2. Leave **Spoken language** on `auto`, or set a 2-letter code (`en`, `es`, `de`...) for very short clips.
3. Click **Start**. Download the table as CSV, Excel or JSON, or read it through the API.

Example input:

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@nasa/video/7705574810113314061",
    "https://www.instagram.com/reel/DfdEABwO4r7/",
    "https://www.youtube.com/watch?v=eIho2S0ZahI"
  ],
  "language": "auto",
  "outputFormats": ["text", "srt", "vtt"],
  "includeTimestamps": true
}
```

### Get the on-screen text too: captions, hook titles, text overlays

Many Reels and TikToks carry the message in **text on the screen**, not in the voice: a hook title over the first shot, a list, a price, "link in bio". Speech-to-text never sees it. Turn on **On-screen text (OCR)** and every row also gets:

- `hookOnScreenText` - the text on screen in the first 3 seconds, next to `hookText` (what is said) and `firstSpokenLine`
- `onScreenText` - every text shown in the video, once each, in order
- `onScreenSegments` - `[{start, end, text}]`, when each text is on screen

```json
{
  "videoUrls": ["https://www.instagram.com/reel/DfdEABwO4r7/"],
  "includeOnScreenText": true
}
```

Example from the built-in sample ad: `hookText` is empty (nobody speaks in the first 3 s), but `hookOnScreenText` = "A TIP FROM A FORMER SMOKER", `firstSpokenLine` = "My name is Brett and I used to smoke.", and `onScreenText` includes "YOU CAN QUIT. FOR FREE HELP, VISIT CDC.GOV/TIPS".

The video is read every 2 seconds, and every second in the first 3 seconds (the hook) and the last 3 seconds (the end card / CTA), with the same OCR engine as [Video OCR](https://apify.com/kantolabs/video-ocr). It runs on videos that get a transcript, up to 15 minutes long; it makes a video take longer, and a problem with it never fails the row (the `note` column says what happened). Set **On-screen text script** for non-Latin text, or leave `auto` to follow the spoken language.

**Price: $0.027 per started minute of video read ("On-screen text minute"), at most 3 per video, and only when on-screen text was found** - a 60-second Reel with text = $0.01 + $0.027 = $0.037. A video without on-screen text costs nothing extra.

### Transcribe a whole scraper dataset (TikTok, Instagram, YouTube, Facebook Ads)

Pick the dataset of a scraper run in **Scraper dataset** and every video in it is transcribed, in the dataset's order, with the post's **author, caption, views, likes, comments and date copied into flat `upstream...` columns** next to the transcript. Read automatically:

- [TikTok Scraper (kantolabs/tiktok-scraper)](https://apify.com/kantolabs/tiktok-scraper) and clockworks/tiktok-scraper
- apify/instagram-scraper, instagram-reel-scraper, instagram-post-scraper
- apify/facebook-ads-scraper, jmlp/meta-ad-library-scraper and automation-lab/facebook-ads-library (Meta Ad Library video ads: ad ID, page, start date, active flag, ad copy, CTA and landing page copied too)
- streamers/youtube-scraper
- any dataset with a video link in `videoUrl`, `webVideoUrl` or `url`

Photo posts and image ads get a free `no-video` row, so the row count still matches the scraper's.

### Watch mode: pay only for new videos

Turn on **Only new videos** and give the run a **Watchlist name**. Every transcribed video is remembered in a key-value store in your own account (`kanto-transcript-watch-<name>`), and later runs leave it out without charging. Schedule your scraper and this Actor together (for example daily on a creator's profile) and you only pay for the new posts.

### Pricing

Pay per event, no subscription:

| Event | Price | When |
|---|---|---|
| **Video** | **$0.01** | one transcribed video. Includes the first 2 minutes of speech-to-text, and YouTube caption transcripts of ANY length |
| **Extra minute** | **$0.004** | each started minute of speech-to-text after the first 2 |

| **On-screen text minute** | **$0.027** | only with On-screen text on: each started minute of video read for on-screen text, max 3 per video, only when text was found |

`firstSpokenLine` is part of the Video price.

Worked examples (FREE / BRONZE prices):

- A 60-second Reel = **$0.01**. 100 TikToks or Reels of up to 2 minutes = **$1.00**.
- A 94-second TikTok = **$0.01**.
- A 10-minute YouTube talk **with captions** = **$0.01**. The same talk without captions (speech-to-text) = $0.01 + 8 x $0.004 = **$0.042**.

Apify SILVER and GOLD plans pay less per event. **Free**: private, removed, age-restricted or blocked videos, failed downloads, videos without speech, links that are not a single video, and every row skipped by watch mode, the run's time limit or your "max cost per run". Your max cost per run is checked before each video starts, so a run never goes over it.

### Use it from n8n, Make, Zapier, the API or an AI agent (MCP)

- **n8n / Make / Zapier**: use the Apify node or app, action "Run Actor", Actor `kantolabs/social-video-transcript`, then "Get dataset items". To chain it after a scraper, pass the scraper run's `{{resource.defaultDatasetId}}` (or `defaultDatasetId` from the run object) as `datasetId`.
- **API**: `POST https://api.apify.com/v2/acts/kantolabs~social-video-transcript/run-sync-get-dataset-items?token=...` with the JSON input above returns the rows directly.
- **MCP / AI agents**: add the Actor in the Apify MCP server (`mcp.apify.com`) and ask your assistant to "transcribe these TikTok links". The input fields are plain and every free row explains itself.
- **Short timeouts are safe**: if the run's timeout is close, the videos not yet done come back as free `skipped` rows and the run still ends SUCCEEDED.

### How it works

- Platform links are read **logged out** (no login, no cookies) through Apify Proxy, one fresh proxy IP per retry. Only public videos can be read; a video the platform does not show to a logged-out visitor is a free error row.
- **YouTube captions first**: the creator's captions in the spoken language, else YouTube's automatic captions of the original audio. Machine-translated caption tracks are never used. Turn "Use YouTube's own captions first" off to always get Whisper's punctuated text.
- **Speech-to-text**: only the smallest audio stream is downloaded (with On-screen text on: one video file of at most 720p), then OpenAI Whisper (base model, inside the Actor - no third-party API) with voice-activity detection and word timestamps. Music-only and silent videos are detected and free.
- The language is detected from the part of the video with the most speech.
- **On-screen text**: PP-OCR models (RapidOCR, inside the Actor) read sampled frames; unchanged and blank frames are skipped, and text that stays on screen is merged into one segment with its start and end time.

### Limits

- Whisper base is fast and cheap, but it can misspell names and brand words, and it is weaker on heavy music, crowd noise and some languages. Set the language code for short clips.
- Captions are taken as YouTube serves them: YouTube's automatic captions often have little punctuation.
- Private, friends-only, age-restricted and login-only videos cannot be read. Profiles, channels, playlists and hashtags are not expanded here: use a scraper and pass its dataset.
- Speech-to-text videos longer than "Max video length" (default 60 minutes) are skipped for free.
- On-screen text: word-by-word captions that change faster than every 2 seconds are only partly caught (the spoken transcript has those words anyway), and very stylised, animated or tiny text can be missed or misread. Videos without speech get no on-screen text in this version.

### FAQ

#### Can I get a transcript of a TikTok video without captions?

Yes. TikToks always go through speech-to-text, so a video without captions still gets a full transcript with timestamps.

#### How do I download Instagram Reels subtitles as SRT?

Paste the reel link; the `srt` column holds the subtitle file as text. Save it as `.srt`, or read it from the API.

#### Is it free to try?

Apify's free plan includes monthly credit, enough for hundreds of short videos. Failed and private videos are never charged.

#### Does it read the text on the screen, not just the voice?

Yes, turn on **On-screen text (OCR)**. You get the burned-in captions, titles and overlays as `onScreenText`, timed `onScreenSegments` and the visual hook `hookOnScreenText`.

#### Which languages are supported?

Whisper's ~99 languages, detected automatically. English, Spanish, Portuguese, French, German and other major languages work best.

### Related Actors from Kanto Labs

- [Video Ad Creative Breakdown](https://apify.com/kantolabs/video-creative-breakdown) - hook, shot list, on-screen text, pacing and CTA of an ad or short-form video.
- [Video to LLM Context](https://apify.com/kantolabs/video-to-llm-context) - keyframes + transcript per scene, ready for ChatGPT or Claude.
- [TikTok Scraper](https://apify.com/kantolabs/tiktok-scraper) - profile videos with views, likes and links; feed its dataset straight into this Actor.
- [Video Frame Extractor](https://apify.com/kantolabs/video-frame-extractor) - keyframes, scene frames and thumbnails from the same video links.
- [Video OCR](https://apify.com/kantolabs/video-ocr) - read the on-screen text and burned-in captions of the same videos, with timestamps.

# Actor input Schema

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

One per line. PUBLIC TikTok videos, Instagram reels/posts, YouTube videos and Shorts, Facebook videos/reels and X posts with a video (one video per link - no profiles, channels or playlists), or direct links to video files (MP4, MOV, WEBM: your storage, S3, a CDN, Dropbox / Google Drive share links). Private, removed, age-restricted or blocked videos are free error rows.

## `datasetId` (type: `string`):

Pick a scraper run's dataset: every video in it is transcribed in order, with the post's author, caption, views, likes and date in flat columns. Reads clockworks and kantolabs TikTok scrapers, apify Instagram scrapers (profile, reel, post), apify/facebook-ads-scraper, Meta Ad Library scrapers (jmlp/meta-ad-library-scraper, automation-lab/facebook-ads-library), streamers/youtube-scraper, or any dataset with a video link in videoUrl / webVideoUrl / url. In an integration chain pass {{resource.defaultDatasetId}}.

## `maxItems` (type: `integer`):

Stop after this many videos from the dataset (rows without a video do not count). Keeps a first try cheap.

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

'auto' detects the spoken language. Or a 2-letter ISO 639-1 code (en, es, de, fr, pt, ja, zh...) - recommended for very short clips, where detection has little speech to go on. With a code, only YouTube captions in that language are used.

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

When a YouTube video has captions in its spoken language (the creator's, else YouTube's automatic ones), they are used: fast, and long videos cost no extra minutes. Turn off to always run speech-to-text (punctuated Whisper text). Other platforms always use speech-to-text.

## `outputFormats` (type: `array`):

Which transcript columns to fill: plain text (paragraphs at pauses), SRT subtitles, WebVTT subtitles. Unselected columns stay empty.

## `includeTimestamps` (type: `boolean`):

Add `segments`: a list of {start, end, text} lines in seconds (good for chapters, search and AI tools).

## `includeWordTimestamps` (type: `boolean`):

Add `words`: every word with its start and end second (speech-to-text and YouTube automatic captions; creator captions have line timings only).

## `maxDurationMinutes` (type: `integer`):

Longer videos are skipped and not charged when they need speech-to-text. Every started minute after the first 2 is billed as an extra minute. YouTube captions have no length limit.

## `includeOnScreenText` (type: `boolean`):

Also read the text shown IN the video (burned-in captions, hook titles, lists, prices, CTAs) with OCR. Adds onScreenText, onScreenSegments (start/end/text) and hookOnScreenText (first 3 s). $0.027 per started minute read, max 3 per video, only when text is found.

## `onScreenTextLanguage` (type: `string`):

Script of the on-screen text. 'auto' follows the spoken language (Spanish -> Latin with accents, Russian -> Cyrillic, Korean -> Korean...). `en` also reads Chinese and Japanese.

## `onlyNewVideos` (type: `boolean`):

Remember every video transcribed in a named key-value store in your account and leave it out of later runs (not charged again). Schedule a scraper + this Actor and you pay only for new posts. A TikTok / Instagram / YouTube / Facebook / X video is recognised by its video ID.

## `watchlistName` (type: `string`):

Separate memory per watchlist (e.g. one per creator or client). Stored as kanto-transcript-watch-<name>. Delete that store to start over.

## Actor input object example

```json
{
  "videoUrls": [
    "https://api.apify.com/v2/key-value-stores/aXcXwfChlioPWAUJv/records/sample-creative-ad.mp4?signature=1yQpP7ggbJGjS4rGodq21"
  ],
  "maxItems": 20,
  "language": "auto",
  "preferCaptions": true,
  "outputFormats": [
    "text",
    "srt",
    "vtt"
  ],
  "includeTimestamps": true,
  "includeWordTimestamps": false,
  "maxDurationMinutes": 60,
  "includeOnScreenText": false,
  "onScreenTextLanguage": "auto",
  "onlyNewVideos": false,
  "watchlistName": "default"
}
```

# 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://api.apify.com/v2/key-value-stores/aXcXwfChlioPWAUJv/records/sample-creative-ad.mp4?signature=1yQpP7ggbJGjS4rGodq21"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kantolabs/social-video-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 = { "videoUrls": ["https://api.apify.com/v2/key-value-stores/aXcXwfChlioPWAUJv/records/sample-creative-ad.mp4?signature=1yQpP7ggbJGjS4rGodq21"] }

# Run the Actor and wait for it to finish
run = client.actor("kantolabs/social-video-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 '{
  "videoUrls": [
    "https://api.apify.com/v2/key-value-stores/aXcXwfChlioPWAUJv/records/sample-creative-ad.mp4?signature=1yQpP7ggbJGjS4rGodq21"
  ]
}' |
apify call kantolabs/social-video-transcript --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kantolabs/social-video-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/dBe6o8cNckU2qiCYp/builds/0AReEtotJg5UiORrQ/openapi.json
