# YouTube & TikTok Transcript Scraper: Reels, X to Text (`ingeniela/social-video-transcriber`) Actor

Transcribe any TikTok, Instagram Reel, YouTube video or Short, Facebook, X, LinkedIn or Threads video, or a direct video / audio file, to text with timestamps, SRT and VTT subtitles, plus an AI summary, hook, key points and chapters.

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

## Pricing

from $10.00 / 1,000 video transcribeds

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/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 & TikTok Transcript Scraper: Reels, X to Text

Paste any video link and get the **transcript with timestamps**, as **plain text**, **SRT** and **VTT** subtitle files. It works with **TikTok, Instagram Reels, YouTube videos and Shorts, Facebook, X (Twitter), LinkedIn and Threads**, plus **direct video or audio files** (MP4, MP3, Dropbox, Google Drive). Every result has the same shape, so it plugs straight into n8n, Make or your own app.

On top of the transcript you get an optional **AI summary**, the **opening hook** as said, **key points**, **chapters** with start times, and **keywords**, in any language.

### How it works (and why it's cheap)

| Link | How it is transcribed |
|---|---|
| YouTube | The video's own captions, with timestamps |
| TikTok | TikTok's captions when the video has them, otherwise speech-to-text |
| Instagram, Facebook, X, LinkedIn, Threads | Speech-to-text |
| Direct video / audio file | Whisper |

It always uses the cheapest source that works for each link: captions first, speech-to-text only when needed. Links that fail come back with a clear reason, for example "no speech found (music only)" or "private or deleted post". The run doesn't stop.

Real run: a 2.5-minute science Reel gave a 309-word transcript with SRT and VTT. The AI added a Spanish summary, the opening hook and 6 chapters with their start times.

### Who it is for

- **Creators and marketers**: turn your videos into blog posts, captions, newsletters and threads.
- **Researchers**: study what competitors and creators say, word for word.
- **Editors**: get SRT or VTT subtitles in seconds.
- **n8n / Make / Zapier users**: a single API call for every platform.

### What you get (one row per video)

Platform, title, length, word count, the full transcript, timed segments, links to the **TXT**, **SRT** and **VTT** files, and the summary, hook, key points, chapters and keywords if the AI is on. Failed links get an `error` field instead.

### Input example

```json
{
  "urls": [
    "https://www.tiktok.com/@creator/video/7137423965982592302",
    "https://www.instagram.com/reel/DMflZnXOKUj",
    "https://youtu.be/VIDEO_ID",
    "https://www.dropbox.com/s/abc/podcast.mp3?dl=0"
  ],
  "aiSummary": true,
  "summaryLanguage": "English"
}
```

### Pricing

| Event | Price |
|---|---|
| Video transcribed (TXT + SRT + VTT) | $0.01 |
| Direct file transcribed with the built-in Whisper | $0.02 |
| AI summary, hook, key points, chapters | $0.01 |

Platform links are fetched on your Apify account, with a spend limit you set:

- YouTube: about US$0.01 per video;
- TikTok: about US$0.001;
- other platforms and TikToks without captions: about US$0.035.

With your own OpenAI or OpenRouter key, Whisper and the AI summary are free.

### Good to know

- Only **public** posts can be transcribed. Private, deleted or age-restricted videos return an error.
- Videos with only music and no speech have no transcript.
- Transcripts are for research, accessibility and repurposing **your own** content. Respect creators' rights when you reuse their words.

# Actor input Schema

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

TikTok, YouTube (videos and Shorts), Instagram, Facebook, X, LinkedIn, Threads, or a direct video / audio file (MP4, MP3, Dropbox, Drive).

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

Two-letter code for YouTube captions (en, es, pt…).

## `fallbackTranscriber` (type: `boolean`):

Instagram, Facebook, X, LinkedIn, Threads, and TikToks without captions.

## `maxMinutes` (type: `integer`):

Only for direct video / audio files (Whisper).

## `scraperMaxCostUsd` (type: `integer`):

YouTube ~US$0.01, TikTok ~US$0.001, other platforms ~US$0.035 per video (billed by those Actors).

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

Added to each transcript.

## `summaryLanguage` (type: `string`):

The transcript itself stays in the original language.

## `aiProvider` (type: `string`):

Leave all keys empty to use the built-in AI (billed per AI event).

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

Empty = a good default for the provider. Your OpenAI or OpenRouter key is also used for Whisper on direct files.

## `anthropicApiKey` (type: `string`):

With your own key (any provider) that provider bills you and AI events are not charged.

## `openaiApiKey` (type: `string`):

Your own key from platform.openai.com.

## `openrouterApiKey` (type: `string`):

Your own key from openrouter.ai/keys.

## `geminiApiKey` (type: `string`):

Your own key from aistudio.google.com/apikey.

## `xaiApiKey` (type: `string`):

Your own key from console.x.ai.

## `deepseekApiKey` (type: `string`):

Your own key from platform.deepseek.com.

## `mistralApiKey` (type: `string`):

Your own key from console.mistral.ai.

## Actor input object example

```json
{
  "urls": [
    "https://www.instagram.com/reel/DMflZnXOKUj"
  ],
  "language": "en",
  "fallbackTranscriber": true,
  "maxMinutes": 30,
  "scraperMaxCostUsd": 2,
  "aiSummary": true,
  "summaryLanguage": "the language of the transcript",
  "aiProvider": "auto"
}
```

# Actor output Schema

## `transcripts` (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 = {
    "urls": [
        "https://www.instagram.com/reel/DMflZnXOKUj"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ingeniela/social-video-transcriber").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.instagram.com/reel/DMflZnXOKUj"] }

# Run the Actor and wait for it to finish
run = client.actor("ingeniela/social-video-transcriber").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.instagram.com/reel/DMflZnXOKUj"
  ]
}' |
apify call ingeniela/social-video-transcriber --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ingeniela/social-video-transcriber"
        }
    }
}
```

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/liewTuqVnZ5I1R7Hd/builds/EFUkWO5YyMTjfpMhF/openapi.json
