# Any Link Transcript: YouTube, Instagram, TikTok, Podcasts (`shariful-labs/video-transcript-scraper`) Actor

Turn any video, reel, TikTok, X, Facebook or podcast link into a clean transcript with timestamps. Uses captions when they exist and AI speech-to-text when they don't. Bulk links, channels and datasets. Optional AI summary and translation.

- **URL**: https://apify.com/shariful-labs/video-transcript-scraper.md
- **Developed by:** [Shariful Islam](https://apify.com/shariful-labs) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $6.00 / 1,000 transcripts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Any Link Transcript: YouTube, Instagram, TikTok & Podcast to Text

Paste **any** video, reel, TikTok, X post, Facebook video or podcast link. Get back a **clean transcript with timestamps**, the language, the opening line (hook) and the video details, ready for a spreadsheet, your AI tools or an automation.

One tool for every platform, so you don't need a different transcript scraper for each site.

- 🎬 **Every major platform in one run:** YouTube, Shorts, Instagram Reels, TikTok, Facebook, X/Twitter, LinkedIn, Vimeo, Threads, Reddit, Twitch clips, SoundCloud, Apple Podcasts, RSS feeds and direct audio/video files.
- ⚡ **Captions first, AI when needed:** when a video has captions they are used (fast, cheapest). When it has none, which is common for Reels and TikToks, AI speech-to-text (Whisper) listens to the audio.
- 📚 **Bulk and channels:** hundreds of links at once, or a channel, profile, playlist or podcast feed (latest N videos).
- 🔗 **Works after other scrapers:** pick the results of an Instagram, TikTok or YouTube scraper and the video links are found automatically.
- 🧠 **Optional AI extras:** summary, key points, topics, call to action and translation (e.g. into English or Malay).
- 🤖 **Agent-ready:** clean JSON, so AI agents (ChatGPT, Claude, n8n, Make, Zapier) can use it through Apify's API and MCP server.

### Who uses it

- **Social media and content agencies:** study what competitors say in their Reels and TikToks: hooks, scripts, offers.
- **Content teams:** turn videos and podcasts into blog posts, newsletters, captions and quotes.
- **AI builders:** feed video knowledge into chatbots, search and RAG systems.
- **Researchers and brand teams:** track what creators say about a product, topic or brand.

### How to use it

1. Paste your links (one per line), or pick a dataset from another scraper.
2. Optional: choose a language, turn on the AI summary or translation.
3. Click **Start**. Download the results as JSON, CSV, Excel, or use the API.

### What you get for each link

| Field | What it is |
|---|---|
| `text` | The full transcript as clean text |
| `segments` | Timestamped lines: `start`, `end` (seconds), `text` |
| `hook` | What the viewer hears in the first seconds |
| `language` | Transcript language (e.g. `en`, `ms`) |
| `source` | `captions`, `auto-captions` or `speech-to-text` |
| `title`, `author`, `publishedAt`, `durationSeconds`, `views`, `likes`, `comments`, `thumbnail` | Video details (when the site shows them) |
| `srt` | Ready-made subtitles (optional) |
| `summary`, `keyPoints`, `topics`, `callToAction`, `translation` | AI extras (optional) |
| `status`, `error` | `ok`, or a plain explanation when a link could not be read (not charged) |

#### Example result

```json
{
  "url": "https://www.instagram.com/reel/C1abcDEFghi/",
  "platform": "instagram",
  "status": "ok",
  "title": "3 mistakes that kill your café sales",
  "author": "cafegrowth",
  "durationSeconds": 38.4,
  "language": "en",
  "source": "speech-to-text",
  "wordCount": 96,
  "hook": "Stop doing these three things if you own a café.",
  "text": "Stop doing these three things if you own a café. Number one...",
  "segments": [
    { "start": 0.0, "end": 2.6, "text": "Stop doing these three things if you own a café." },
    { "start": 2.6, "end": 6.1, "text": "Number one, no online ordering..." }
  ],
  "summary": "A café consultant lists three habits that lose sales and how to fix each one.",
  "keyPoints": ["Add online ordering", "Answer reviews within a day", "Post the menu with prices"]
}
```

### Pricing

Pay only for results. Links that fail (private, removed, too long) are **not charged**.

| What | Price |
|---|---|
| Transcript (any link) | **$0.006** per video |
| AI speech-to-text, for videos without captions | **$0.005** per audio minute |
| AI extras (summary, key points, translation) | **$0.008** per video |
| Run start | $0.003 per run |

**Examples**

- 1,000 YouTube videos with captions: about **$6**
- 1,000 Instagram Reels (about 30-60 seconds, no captions): about **$11**
- One 60-minute podcast episode without captions: about **$0.31**
- Using **your own Groq or OpenAI key** for speech-to-text: the speech-to-text minutes are not charged here.

### Input example

```json
{
  "urls": [
    "https://www.youtube.com/watch?v=jNQXAC9IVRw",
    "https://www.instagram.com/reel/C1abcDEFghi/",
    "https://www.tiktok.com/@creator/video/7300000000000000000",
    "https://www.youtube.com/@channelname"
  ],
  "maxVideosPerChannel": 10,
  "transcriptSource": "auto",
  "aiSummary": true,
  "translateTo": "English"
}
```

### Tips

- **Many links failing with "blocked"?** Open *Proxy* and choose the **Residential** group. Instagram and TikTok block servers often.
- **Cheapest run:** choose *Captions only*. Videos without captions are skipped and not charged.
- **Best accuracy for poor captions:** choose *Speech-to-text only*.
- **Language:** leave empty for the original language. Speech-to-text understands about 100 languages, including English, Malay, Indonesian, Chinese, Tamil, Hindi, Arabic and Spanish.
- **Channels and profiles:** set *Videos per channel* to how many of the latest videos you want.

### FAQ

**Is it free to try?** Yes. Apify gives new users free monthly credit, which covers hundreds of transcripts.

**Does it work with private videos?** No. Only public videos and podcasts. Private, login-only and age-restricted content is skipped (not charged).

**How accurate is speech-to-text?** It uses Whisper, one of the most accurate open speech models. Clear speech is usually transcribed very well; music, heavy accents or several people talking at once lower accuracy.

**Why does a video say "captions" and another "speech-to-text"?** We always try the video's own captions first, because they are fast and cheap. Only videos without captions are listened to by the AI.

**Can I use it in automations?** Yes: through the Apify API, schedules, webhooks, and integrations with Make, n8n, Zapier and Google Sheets. AI agents can call it through the Apify MCP server.

**Is this legal?** The tool only reads publicly available content. You are responsible for how you use transcripts: respect copyright, platform terms and privacy laws in your country. Don't republish other people's content without permission.

### Support

Found a link that doesn't work, or want a feature? Open an issue on this page and I'll respond quickly.

Built by [shariful Labs](https://apify.com/shariful-labs). Also see [Lead Qualifier](https://apify.com/shariful-labs/lead-qualifier).

# Actor input Schema

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

One link per line. Works with YouTube (videos, Shorts, channels, playlists), Instagram Reels, TikTok (videos and profiles), Facebook, X/Twitter, LinkedIn, Vimeo, Threads, Reddit, Twitch clips, SoundCloud, Apple Podcasts, podcast RSS feeds and direct audio/video files (MP3, MP4, M4A, WAV...).

## `datasetIds` (type: `array`):

Pick the results of an Instagram, TikTok, YouTube, Facebook or X scraper. Video and post links are found automatically (url, postUrl, webVideoUrl, shortCode...).

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

For channel, profile, playlist and podcast links: how many of the latest videos or episodes to transcribe.

## `transcriptSource` (type: `string`):

Auto uses captions when the video has them (fast, cheapest) and AI speech-to-text when it does not. Captions only never downloads audio. Speech only ignores captions, useful when captions are poor.

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

Two-letter code like en, ms, id, es, ar. Leave empty to get the video's original language. If a video has captions in this language they are used; for speech-to-text it is used as a hint.

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

Longer videos are skipped (not charged), so a stray 10-hour stream cannot surprise you.

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

Adds a list of lines with start and end times (seconds) to each result.

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

Adds a ready-to-use .srt subtitle text to each result.

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

Adds a short summary, 3-7 key points, topic tags and the call to action. Extra $0.008 per video.

## `translateTo` (type: `string`):

Language name, e.g. English, Malay, Spanish. Short videos (up to 1,500 words, like Reels, TikToks and Shorts) get a full translation; longer ones get a translated summary. Extra $0.008 per video (included if you also turned on the summary).

## `speechApiKey` (type: `string`):

Groq or OpenAI key. Leave empty to use the built-in speech-to-text. With your own key, speech-to-text minutes are not charged here; your provider bills you instead. Stored encrypted.

## `speechApiBaseUrl` (type: `string`):

Default is Groq (https://api.groq.com/openai/v1). For OpenAI use https://api.openai.com/v1.

## `speechModel` (type: `string`):

Default: whisper-large-v3-turbo on Groq, whisper-1 on OpenAI.

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

Higher is faster; lower is gentler on sites that block bulk requests.

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

Instagram, TikTok and YouTube often block servers without a proxy. The default Apify Proxy works for most links; choose Residential if many links fail with a 'blocked' message.

## Actor input object example

```json
{
  "urls": [
    "https://www.youtube.com/watch?v=jNQXAC9IVRw"
  ],
  "maxVideosPerChannel": 10,
  "transcriptSource": "auto",
  "maxDurationMinutes": 120,
  "includeTimestamps": true,
  "includeSrt": false,
  "aiSummary": false,
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per link: transcript, timestamps, language, source and video details.

## `ai` (type: `string`):

Summary, key points, topics and translation (when AI extras are on).

## `summary` (type: `string`):

Counts by platform and source, speech-to-text minutes and common errors.

# 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=jNQXAC9IVRw"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("shariful-labs/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=jNQXAC9IVRw"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("shariful-labs/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=jNQXAC9IVRw"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call shariful-labs/video-transcript-scraper --silent --output-dataset

```

## MCP server setup

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