# Video Transcripts: YouTube, TikTok, Instagram & X to Text (`zaiq/video-transcripts`) Actor

Transcripts of YouTube, TikTok, Instagram and X videos from one list of links: full text, timed segments and SRT, language, title, author, views, likes, length and date per video. YouTube from captions; TikTok, Instagram and X speech written down by AI. One row schema for every platform.

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

## Pricing

from $3.20 / 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

## Video Transcripts: YouTube, TikTok, Instagram and X videos to text in one run

Paste **video links from YouTube, TikTok, Instagram and X (Twitter)** in any mix and get **one row per video with its transcript**: the full text (with \[mm:ss] timestamps if you want them), the language, timed segments and SRT subtitles for AI transcripts, plus the title, author, date, length, views and likes.

**YouTube** transcripts come from the video's own captions (any language, automatic captions flagged). **TikTok, Instagram and X** have no public captions, so the speech is written down by the newest Gemini Flash model through Apify's own AI gateway. **One row schema for every platform**, so a list of mixed links goes straight into one table, a vector store or an AI agent.

**Tested 12 November 2026:** YouTube links in Apify's cloud (a 15-minute talk: 2,542 words in under 20 seconds); TikTok, Instagram and X speech-to-text in a local run of the same code.

### What you get

| Field | What it holds |
|---|---|
| Video | `platform`, `url`, `videoId`, `title`, `caption` (TikTok, Instagram, X) or `description` (YouTube), `author`, `authorName`, `authorId`, `publishedAt`, `durationSeconds`, `thumbnailUrl`. |
| Engagement | `views`, `likes`, `comments`, `shares` where the platform shows them signed out, `hashtags`. |
| Transcript | `transcript` (text; \[mm:ss] before each line when timestamps are on), `transcriptSource` (captions, captions-auto or speech-to-text), `transcriptLanguage`, `transcriptWords`, `hook` (the opening line). |
| Timing | `segments` (start, end and text of each piece) and `srt` (ready-made subtitles) for AI transcripts. |
| When there is none | `transcriptNote` says why: no speech (music only), no captions, private or removed. Those are not charged as transcript minutes. |

### What people use it for

- **AI agents and RAG:** feed any video link to an agent and get the words back in one tool call, whatever the platform.
- **Content repurposing:** turn videos into blog posts, threads, newsletters and show notes; the hook field gives you the opening line.
- **Competitor and creator research:** read what a brand or creator says across YouTube, TikTok, Instagram and X, with views and likes beside it.
- **Subtitles and accessibility:** SRT and timed segments for TikTok, Instagram and X clips.
- **Market and brand monitoring:** collect what is said about a product in videos, searchable as text.

### How to use it

1. Paste video links, one per line: YouTube watch, shorts or youtu.be links, TikTok video links, Instagram reel or post links, X post links. Mix them freely.
2. Keep timestamps on for \[mm:ss] lines, or turn them off for plain text.
3. Optionally set a YouTube caption language, or a language to translate AI transcripts into.
4. Run. Each video is one row; links that cannot be read are free notes in SUMMARY.

### Input

| Field | Example | Notes |
|---|---|---|
| videoUrls | \["https://www.youtube.com/watch?v=UF8uR6Z6KLc", "https://x.com/elonmusk/status/1585341984679469056"] | Required. Up to 500 links from YouTube, TikTok, Instagram and X, in any mix. |
| timestamps | true | \[mm:ss] before each line; segments and SRT for AI transcripts. |
| language | "en" | YouTube caption language (default: the video's own). |
| translateTo | "English" | Translate TikTok, Instagram and X speech (default: as spoken). |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "kind": "video",
  "platform": "YouTube",
  "inputUrl": "https://www.youtube.com/watch?v=UF8uR6Z6KLc",
  "url": "https://www.youtube.com/watch?v=UF8uR6Z6KLc",
  "videoId": "UF8uR6Z6KLc",
  "title": "Steve Jobs' 2005 Stanford Commencement Address",
  "caption": null,
  "description": "Drawing from some of the most pivotal points in his life, Steve Jobs, chief executive officer and co-founder of Apple Computer and of Pixar Animation Studios, urged graduates to pursue their dreams and see the opportunities in life's setbacks -- including death itself -- at the university's 114th Commencement on June 12, 2005.\n\nTranscript of Steve Jobs' address:\nhttp://news-service.stanford.edu/news/2005/june15/jobs-061505.html\n\nStanford University channel on YouTube:\nhttp://www.youtube.com/stanford",
  "author": "Stanford",
  "authorName": "Stanford",
  "authorId": "UC-EnprmCZ3OXyAoG7vjVNCA",
  "publishedAt": "2008-03-08T01:17:20+00:00",
  "durationSeconds": 904,
  "views": 49416720,
  "likes": 580774,
  "comments": null,
  "shares": null,
  "hashtags": null,
  "transcript": "[00:07] This program is brought to you by Stanford University.\n[00:10] Please visit us at stanford.edu\n[00:22] Thank You. I am honored to be with you today at your commencement\n[00:30] from one of the finest universities in the world.\n[00:35] Truth be told I never graduated from college\n[00:41] and this is the closest I've ever gotten to a college graduation.\n[00:47] Today I want to tell you three ...",
  "transcriptSource": "captions",
  "transcriptLanguage": "en",
  "transcriptWords": 2542,
  "segments": null,
  "srt": null,
  "hook": "[00:07] This program is brought to you by Stanford University.",
  "transcriptNote": null,
  "thumbnailUrl": "https://i.ytimg.com/vi/UF8uR6Z6KLc/hqdefault.jpg",
  "scrapedAt": "2026-11-12T10:37:13Z"
}
```

The example above is a real row from a cloud run on 12 November 2026 (transcript shortened here). A TikTok, Instagram or X row looks the same, with `transcriptSource: speech-to-text` and timed segments, like this real one from a local run of the same code:

```json
{
  "platform": "X",
  "url": "https://x.com/elonmusk/status/1585341984679469056",
  "author": "elonmusk",
  "durationSeconds": 9,
  "transcript": "Is everybody good so far? Uh, Adam, what was your sequence again? You can stand up with that, that's okay.",
  "transcriptSource": "speech-to-text",
  "transcriptLanguage": "en",
  "transcriptWords": 20,
  "segments": [
    {
      "start": 0.0,
      "end": 2.1,
      "text": "Is everybody good so far?"
    },
    {
      "start": 2.2,
      "end": 4.1,
      "text": "Uh, Adam, what was your sequence again?"
    },
    {
      "start": 4.2,
      "end": 7.0,
      "text": "You can stand up with that, that's okay."
    }
  ]
}
```

`SUMMARY` in the key-value store lists videos per platform, transcripts, minutes written down and a note for every link that was not read.

### Pricing

- **$0.004 per video row** ($4 per 1,000), a YouTube caption transcript included; $0.0036 on Silver and $0.0032 on Gold and higher plans.
- **$0.02 per started minute** of TikTok, Instagram or X speech written down by AI ($0.018 Silver, $0.016 Gold and higher). A transcript that fails or finds no speech is not charged. The AI model's own cost (cents per hour of audio) runs on your Apify account through Apify's AI gateway.
- Links that cannot be read are free.

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| 10 YouTube videos | $0.04 |
| 20 TikToks of 30-60 seconds | $0.08 + $0.40 for 20 minutes = $0.48 |
| 100 mixed links, half YouTube | about $1.40 |

Set Maximum cost per run in Apify. The Actor checks for room before each link and stops cleanly at the limit; SUMMARY says which links were not read.

### Tips

- YouTube is fastest and cheapest: captions need no AI. Turn timestamps off if you feed the text to a model.
- For TikTok, Instagram and X, a clip with only music returns no transcript and is not charged as minutes.
- Short links (youtu.be, vm.tiktok.com) work; so do YouTube Shorts.
- Use translateTo to get English text from videos in any language.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("zaiq/video-transcripts").call(run_input={"videoUrls": ["https://www.youtube.com/watch?v=UF8uR6Z6KLc", "https://x.com/elonmusk/status/1585341984679469056"]})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

**JavaScript**

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('zaiq/video-transcripts').call({"videoUrls": ["https://www.youtube.com/watch?v=UF8uR6Z6KLc", "https://x.com/elonmusk/status/1585341984679469056"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/zaiq~video-transcripts/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"videoUrls": ["https://www.youtube.com/watch?v=UF8uR6Z6KLc", "https://x.com/elonmusk/status/1585341984679469056"]}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server with this Actor already pinned (`https://mcp.apify.com?tools=zaiq/video-transcripts`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for "Get the transcripts of these four videos (a YouTube talk, two TikToks and an X clip) and summarise what each says.". AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- Only public videos, signed out: no login. Private, removed and age-restricted videos are free notes.
- YouTube transcripts are the video's captions; a YouTube video with no captions gets a note, not an AI transcript.
- Facebook videos are not supported yet.
- AI transcripts are very good but not perfect on names, music and heavy accents; check before quoting.

### FAQ

**Which platforms?**

YouTube (watch, shorts, youtu.be), TikTok videos, Instagram reels and video posts, and X (Twitter) posts with video, in any mix in one run.

**Where does the transcript come from?**

YouTube: the video's captions (transcriptSource captions, or captions-auto for YouTube's automatic ones). TikTok, Instagram and X: speech written down by the newest Gemini Flash (speech-to-text).

**Do I pay for videos without speech?**

You pay the video row; minutes are charged only for a transcript that was written down.

**Can I get subtitles?**

Yes: srt and segments for AI transcripts; \[mm:ss] lines for every transcript when timestamps are on.

**Can AI agents call it?**

Yes. One array of links in, one schema out, so MCP clients (Claude, ChatGPT, Cursor) can use it as a single transcript tool.

### Related Actors from Zaiq

- [tiktok-transcript-scraper](https://apify.com/zaiq/tiktok-transcript-scraper): TikTok hashtags and comments as well
- [instagram-transcript-scraper](https://apify.com/zaiq/instagram-transcript-scraper): whole Instagram accounts' reels
- [x-video-transcript-scraper](https://apify.com/zaiq/x-video-transcript-scraper): X posts in bulk

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: video transcript, YouTube transcript, TikTok transcript, Instagram reel transcript, X video transcript, video to text, speech to text API, transcript for AI agents, SRT subtitles, social video transcripts.

# Actor input Schema

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

YouTube (watch, shorts, youtu.be), TikTok video, Instagram reel or post, and X (Twitter) post links, one per line, in any mix. Up to 500.

## `timestamps` (type: `boolean`):

On: each line of the transcript starts with \[mm:ss], and timed segments and SRT are added where available. Off: plain text.

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

Optional language code for YouTube captions, such as en, es or pt-BR. Default: the video's own language.

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

Optional language name or code (for example English) for TikTok, Instagram and X speech. Default: the language spoken.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=UF8uR6Z6KLc",
    "https://x.com/elonmusk/status/1585341984679469056"
  ],
  "timestamps": true
}
```

# Actor output Schema

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

Dataset: the results.

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

What each input returned, and notes.

# 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://www.youtube.com/watch?v=UF8uR6Z6KLc",
        "https://x.com/elonmusk/status/1585341984679469056"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zaiq/video-transcripts").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://www.youtube.com/watch?v=UF8uR6Z6KLc",
        "https://x.com/elonmusk/status/1585341984679469056",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("zaiq/video-transcripts").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://www.youtube.com/watch?v=UF8uR6Z6KLc",
    "https://x.com/elonmusk/status/1585341984679469056"
  ]
}' |
apify call zaiq/video-transcripts --silent --output-dataset

```

## MCP server setup

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

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/twu4d6JNuaN9tqsBl/builds/Aq7U98fkA0NVfTZil/openapi.json
