# YouTube, Instagram Reels & TikTok Transcript Scraper (`vikasmaur13/video-transcript-scraper`) Actor

YouTube, Instagram Reels & TikTok to text: transcripts with timestamps, language and metadata. YouTube from captions in ~1 second ($4 per 1,000), Reels and TikToks with Whisper AI ($10 per 1,000). Channels and profiles, optional AI summary. Failed, private and music-only videos are never charged.

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

## Pricing

from $7.00 / 1,000 transcript (speech-to-text)s

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

## YouTube, Instagram Reels & TikTok Transcript Scraper

Paste public video links and get clean **transcripts with timestamps**, the **spoken language** and the **post metadata** (caption, author, likes, views, date). Works with **YouTube videos and Shorts**, **Instagram Reels and video posts** and **TikTok videos**, plus **X (Twitter)** and **Facebook** videos. You can mix platforms in one run.

- **YouTube in about a second.** YouTube transcripts come from the video's own captions (uploaded or auto-generated), in the original spoken language. No audio download, so it's fast and costs $0.004. Repeat requests are served from a 90-day cache.
- **Whisper AI for Reels and TikToks.** Instagram, TikTok, X and Facebook audio is transcribed with Whisper large-v3-turbo (or platform captions when they exist).
- **No made-up text on music.** Whisper models tend to invent sentences on music-only clips, so we check the audio for speech before and after transcription. Music-only, silent and hallucinated output is dropped and not charged.
- **You never pay for failures.** Private, deleted, blocked, music-only and silent videos are free. Every row shows `charged: true/false`.
- **Whole channels and profiles, too.** Give a YouTube channel or a TikTok @handle and get transcripts of the creator's latest videos. For Instagram profiles, chain Apify's Instagram Reel Scraper into this Actor (see [Profiles](#profiles-and-the-two-step-workflow)).
- **Optional AI summary.** For each video: a 1–3 sentence summary, the opening hook, key topics and a ready-to-post caption.
- **No login, no cookies.** Public videos only.
- **Flat output.** One row per URL, ready for Google Sheets, n8n, Make, Zapier or your own code.

### What you can use it for

- Repurpose short videos into blog posts, captions, newsletters and threads
- Research competitors' hooks and scripts across Instagram Reels and TikTok
- Feed transcripts into ChatGPT, Claude or your RAG pipeline
- Make videos searchable, or create subtitles from the timestamped segments
- Track what creators in your niche are saying

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `urls` | array of strings | – | Video links, one per line. YouTube `watch?v=`, `/shorts/`, `youtu.be/`, `/embed/`, `/live/`. Instagram `/reel/`, `/reels/`, `/p/`, `/tv/`. TikTok `/@user/video/…`, `vm.tiktok.com/…`. X `/status/…`. Facebook `/videos/…`, `/reel/…`, `fb.watch/…` |
| `profiles` | array of strings | – | YouTube channel URL (`youtube.com/@NASA`, `/channel/UC…`; up to 15 newest uploads). TikTok `@handle` or profile URL. Instagram username or profile URL (best effort, see below). Prefixes `tiktok:name` / `instagram:name` make it explicit. |
| `maxVideosPerProfile` | integer | `20` | Newest videos per profile (1–200; Instagram returns at most 12) |
| `newerThan` | date | – | Only profile videos posted after this date (`2026-11-01`) or period (`7 days`) |
| `datasetId` | array of dataset IDs | – | Transcribe the videos in another Actor's output: `apify/instagram-reel-scraper`, `apify/instagram-scraper`, `clockworks/tiktok-scraper`, or any dataset with a `url` column |
| `summarize` | boolean | `false` | Adds an AI `summary` object (charged separately, only when delivered) |
| `language` | string | `auto` | The spoken language as an ISO 639-1 code (`en`, `es`, `pt`, `hi`, …), or `auto` to detect it. This does not translate. |
| `includeTimestamps` | boolean | `true` | Adds `segments` with start and end seconds |
| `includeMetadata` | boolean | `true` | Adds caption, author, counts, date and thumbnail |
| `preferPlatformCaptions` | boolean | `true` | Uses the platform's own captions when they exist |
| `maxItems` | integer | all | Caps the total number of videos (URLs + profiles + datasets) |
| `maxDurationMinutes` | integer | `15` | Longer videos without captions are skipped (not charged) |
| `maxConcurrency` | integer | `3` | Videos processed in parallel |
| `requestIntervalSeconds` | integer | `2` | Minimum gap between requests to the same platform |
| `proxyConfiguration` | object | direct | For Instagram/TikTok/X/Facebook. Direct was fastest in our tests; switch on Apify Proxy (datacenter) if a platform starts rejecting requests. YouTube always uses its own built-in route. |

Give at least one of `urls`, `profiles` or `datasetId`. Example:

```json
{
  "profiles": ["@apifylife"],
  "maxVideosPerProfile": 10,
  "newerThan": "30 days",
  "summarize": true,
  "urls": [
    "https://www.instagram.com/reel/Dabg9j1xNHM/",
    "https://www.tiktok.com/@user/video/1234567890123456789"
  ],
  "language": "auto",
  "includeTimestamps": true
}
```

### Profiles and the two-step workflow

| Source | How | Status (tested on Apify, 2026-11-24) |
|---|---|---|
| **YouTube channel** (`youtube.com/@handle`, `/channel/UC…`) | YouTube's public channel feed, newest 15 uploads | **Works**: @NASA returned its 2 newest videos in 0.6 s (run `clJBYDHhcNHcneSER`) |
| **TikTok profile** (`@handle`) | Read directly from TikTok's public creator video list, newest first, no login | **Works**: @apifylife and @nasa each returned their latest videos (run `tSlJklefi1jkqQOUg`) |
| **Instagram profile** (username) | One request to Instagram's public profile endpoint (latest 12 posts) | **Usually rate-limited from cloud servers** (HTTP 429 in all tries). The row fails free, with a tip |
| **Instagram profile, reliable route** | Step 1: run [Instagram Reel Scraper](https://apify.com/apify/instagram-reel-scraper) for the profile (transcript add-on **off**). Step 2: pass its dataset ID in `datasetId` here | **Works**: dataset input tested in run `jj5RIqiG5Ir08r9K0` |

Why two steps for Instagram? Instagram shows a profile's reel feed only to logged-in users, and we never log in. The reel scraper costs about $0.0026 per reel. Together with our $0.010 transcript, that is about **$0.013 per reel, vs about $0.048 per started minute** for the reel scraper's own transcript add-on. An n8n workflow that chains both steps is in `templates/n8n-instagram-profile-to-transcripts.json`.

Rows from profiles and datasets carry a `profile` field (for example `tiktok:nasa` or `dataset:<id>`).

### AI summary (optional)

With `summarize: true`, every delivered transcript also gets a summary like this one (a real output for a NASA TikTok from test run `tSlJklefi1jkqQOUg`):

```json
"summary": {
  "summary": "NASA highlights Voyager 1’s record distance, Japan’s partnership, and a SpaceX Dragon return of 6,300 pounds of research, including cancer and sleep studies.",
  "hook": "Whether we're exploring the farthest regions of space or bringing scientific discoveries back home, there's always something extraordinary happening at NASA.",
  "topics": [
    "voyager 1",
    "international partnership",
    "spacex dragon",
    "research",
    "japan",
    "space exploration"
  ],
  "suggestedCaption": "Voyager 1 hits a new milestone, Japan partners with NASA, and 6,300 lbs of research returns to Earth! 🚀 #SpaceExploration #NASA"
}
```

The summary is written in the transcript's language, from the transcript only. It is charged as a separate `summary` event **only when delivered**. If the AI step fails, you get the transcript with `summaryError` and no summary charge.

### Output

One dataset row per input URL. Here is a real row from a test run (`samples/e2e-3-final-base/dataset.json`), shortened:

```json
{
  "url": "https://www.instagram.com/reel/DMflZnXOKUj/",
  "platform": "instagram",
  "status": "ok",
  "source": "stt:faster-whisper:base",
  "language": "en",
  "durationSeconds": 152.34,
  "text": "Just a few years after its launch in 1990, NASA's Hubble Space Telescope made a groundbreaking discovery. Nearly every galaxy in the universe appears to have a supermassive black hole at its center. ...",
  "wordCount": 305,
  "segments": [{ "start": 0.0, "end": 8.0, "text": "Just a few years after its launch in 1990, NASA's Hubble Space Telescope made a groundbreaking discovery." }],
  "authorUsername": "nasahubble",
  "authorName": "Hubble Space Telescope",
  "likeCount": 11244,
  "viewCount": null,
  "postedAt": "2025-07-24T14:16:39Z",
  "caption": "…",
  "charged": true,
  "error": null,
  "errorType": null
}
```

- `source` is `platform_captions` or `stt:<engine>`. It tells you whether the text came from the platform or from speech-to-text.
- Failed rows have `status: "error"`, an `errorType` and a readable `error`. Error types: `blocked`, `geo_blocked`, `private_or_login_required`, `not_found`, `no_media`, `no_speech`, `no_captions`, `too_long`, `unsupported_url`, `unsupported_profile`, `profile_unavailable`, `dataset_unavailable`, `network`, `stt_failed`, `charge_limit_reached`, `unknown`. **Failed rows are never charged.**
- The dataset has four views: **Transcripts**, **Timestamped segments** (one row per segment), **AI summaries** and **Failed items**.

### Pricing (pay per event)

| Event | Price (Free → Gold plan) | When |
|---|---|---|
| `transcript` | $0.010 → $0.007 | A speech-to-text transcript was delivered. The first 3 minutes of audio are included. |
| `caption-transcript` | $0.004 → $0.0025 | A transcript was delivered from the video's own captions (all YouTube transcripts; some TikToks). Cache hits included |
| `extra-minute` | $0.004 → $0.003 | Each started minute of transcribed audio after the first 3 |
| `summary` | $0.004 → $0.003 | Only with `summarize: true`: one AI summary delivered |

**About $4 per 1,000 YouTube transcripts and $10 per 1,000 Instagram reels.** No start fee and no per-row fee. Private, failed, blocked and music-only videos cost nothing. Set **Max cost per run** in the run options, and the Actor stops cleanly before going over it.

### FAQ

**Which platforms work best?** YouTube, Instagram Reels and TikTok are the main targets. X and Facebook work too, but their page formats change often, and Facebook often serves only video files, which makes it slower.

**How does YouTube work?** We read the captions YouTube already has for the video, uploaded by the creator or auto-generated by YouTube. The track is in the original spoken language unless you set `language`. Shorts, normal videos and live replays all work. Videos without any captions come back as `no_captions` and are **not charged**; we don't download YouTube audio. YouTube sometimes rate-limits cloud servers. The Actor then retries through other network routes (up to 4 attempts) and only reports `blocked`, free of charge, if all fail. In our tests 15 of 16 available videos were delivered (one Short had only "\[Music]" captions). Translation of YouTube captions is not offered: YouTube refused it in our tests.

**Why did a video fail with `blocked`?** Platforms sometimes rate-limit or ask for a bot check. We never solve CAPTCHAs, log in or use cookies. The row is marked `blocked` and is not charged. Try again later or with fewer URLs per run.

**Does it translate?** No. `language` tells the engine which language is spoken, and it returns text in that language.

**Music-only reels?** We run voice-activity detection on the audio first. If there is no speech, or the model only produces known Whisper "hallucinations" ("Music", "Thanks for watching", "Subtitles by…", repeated syllables, invented sentences over music), the row is `no_speech` and not charged.

**Profiles, hashtags, search?** TikTok profiles: yes, directly. Instagram profiles: use the two-step workflow above. Hashtags and search: not supported, but any scraper's dataset can be passed in `datasetId`.

**Why no residential proxy?** It costs about $8/GB and would double the price per transcript. Public videos generally load fine through Apify's datacenter proxy.

**How accurate is it?** Platform captions are as good as the platform's. Speech-to-text uses Whisper large-v3-turbo through an API. Clear speech comes out very accurate. Music, crowd noise and heavy accents reduce quality.

**Limits.** Speech-to-text is skipped for videos longer than `maxDurationMinutes` (default 15, max 120) unless captions exist. One row per URL. Duplicate URLs are processed once.

### Integrations

Call the Actor from **n8n** (see `templates/n8n-transcribe-to-sheet.json`), **Make**, **Zapier** or the Apify API:

```bash
curl -X POST "https://api.apify.com/v2/acts/<USERNAME>~video-transcript-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"urls":["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]}'
```

### Legal and responsible use

This Actor processes **publicly available** videos only. It doesn't log in, use cookies, solve CAPTCHAs or access private content. For YouTube it may retry a request through a different network route when YouTube rate-limits a server. Transcripts are produced by AI speech-to-text (Whisper) or come from the platform's own captions, and may contain errors. You're responsible for how you use the output: respect copyright, the platforms' terms and privacy laws (GDPR/CCPA) where personal data is involved. Not affiliated with or endorsed by Instagram, Meta, TikTok, YouTube, Google, X or Facebook. Platform names are used only to describe compatibility.

***

### Run locally (developers)

```bash
python3 -m venv .venv && .venv/bin/pip install -r requirements-dev.txt   # includes local whisper (requirements-local.txt)
.venv/bin/python -m pytest -q                                            # unit tests (no network)
## end-to-end with the local faster-whisper fallback (no API key needed):
scripts/e2e_local.sh samples/input-e2e-3-final.json /tmp/vt-out base
## with an API backend instead (copy .env.example to .env and fill in a key, then):
set -a; . ./.env; set +a; STT_BACKEND=api scripts/e2e_local.sh samples/input-e2e-3-final.json /tmp/vt-out
```

STT backend env vars (set them as **secret** environment variables in Apify Console, never in input):
`STT_BACKEND` (`auto`|`api`|`local`), `STT_API_KEY`, `STT_BASE_URL` (default Groq), `STT_MODEL` (default `whisper-large-v3-turbo`), `WHISPER_MODEL` (local fallback, default `base`).

# Actor input Schema

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

Public video links, one per line (optional if you use Profiles or Dataset IDs). Supported: YouTube videos and Shorts, Instagram reels/video posts, TikTok videos, X (Twitter) posts with video, Facebook videos/reels. Profile, hashtag and search pages go in Profiles / Dataset IDs.

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

Transcribe a creator's latest videos. YouTube: channel URL or @handle URL (up to 15 newest uploads). TikTok: @handle or profile URL (up to Max videos per profile). Instagram: username or profile URL, best effort, because Instagram usually rate-limits logged-out profile requests from cloud servers. Use Dataset IDs with apify/instagram-reel-scraper for a reliable route. Profiles that can't be read return one free error row.

## `maxVideosPerProfile` (type: `integer`):

How many of the newest videos to take from each profile (YouTube max 15, Instagram max 12).

## `newerThan` (type: `string`):

Skip profile videos posted before this date (YYYY-MM-DD) or relative period (e.g. 7 days).

## `datasetId` (type: `array`):

Transcribe the videos listed in other Actors' datasets, e.g. the output of apify/instagram-reel-scraper or clockworks/tiktok-scraper. Reads the url / webVideoUrl / shortCode columns (up to 5,000 items per dataset).

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

"auto" detects the spoken language. Or give a 2-letter ISO 639-1 code (en, es, pt, hi, de, fr, ...) to improve accuracy. This is the language spoken in the video; it does not translate.

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

Add a `segments` array with start/end seconds for each sentence or caption line.

## `includeMetadata` (type: `boolean`):

Add caption/description, author, view/like/comment counts, post date and thumbnail.

## `summarize` (type: `boolean`):

Add an AI summary per transcript: 1-3 sentence summary, opening hook, key topics and a suggested caption. Charged as a separate 'summary' event, only when a summary is delivered.

## `preferPlatformCaptions` (type: `boolean`):

Use the video's own captions/subtitles (YouTube, TikTok) when they exist - cheaper and usually accurate. Turn off to always run speech-to-text.

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

Process at most this many URLs from the list (leave empty for all).

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

Videos longer than this are skipped (not charged) unless platform captions exist. Audio beyond the first 3 minutes is billed per started minute.

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

How many audio-transcription videos to process in parallel (YouTube caption fetches run separately, up to 8 at a time).

## `requestIntervalSeconds` (type: `integer`):

Politeness delay between request starts to the same platform (minimum 1).

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

Proxy for Instagram, TikTok, X and Facebook. Default: direct connection (fastest in our tests). Turn on Apify Proxy (datacenter) if a platform starts rejecting requests. YouTube always uses its own built-in route (datacenter, then residential retries) at no extra charge.

## Actor input object example

```json
{
  "urls": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "https://www.instagram.com/reel/Dabg9j1xNHM/",
    "https://www.tiktok.com/@apifylife/video/7338085038258457889"
  ],
  "profiles": [],
  "maxVideosPerProfile": 20,
  "language": "auto",
  "includeTimestamps": true,
  "includeMetadata": true,
  "summarize": false,
  "preferPlatformCaptions": true,
  "maxDurationMinutes": 15,
  "maxConcurrency": 5,
  "requestIntervalSeconds": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per input video: transcript text, timestamped segments, language, transcript source (captions or speech-to-text), post metadata, optional AI summary, and a charged flag. Failed videos appear with an error and are not charged.

## `allFields` (type: `string`):

Every dataset row with all fields, including segments and summaries.

## `runMetrics` (type: `string`):

JSON record with delivered and failed counts, charged events and per-video timing.

# 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": [
        "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
        "https://www.instagram.com/reel/Dabg9j1xNHM/",
        "https://www.tiktok.com/@apifylife/video/7338085038258457889"
    ],
    "profiles": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("vikasmaur13/video-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 = {
    "urls": [
        "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
        "https://www.instagram.com/reel/Dabg9j1xNHM/",
        "https://www.tiktok.com/@apifylife/video/7338085038258457889",
    ],
    "profiles": [],
}

# Run the Actor and wait for it to finish
run = client.actor("vikasmaur13/video-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 '{
  "urls": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "https://www.instagram.com/reel/Dabg9j1xNHM/",
    "https://www.tiktok.com/@apifylife/video/7338085038258457889"
  ],
  "profiles": []
}' |
apify call vikasmaur13/video-transcript-scraper --silent --output-dataset

```

## MCP server setup

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