# YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap) (`scrapestorm/youtube-transcript-videos`) Actor

Looking for a powerful tool to grab transcripts from YouTube videos? 🔍 Your search ends here! 😎 With YouTube-Transcript-Scraper, you'll get accurate transcripts plus extra useful details. 💡💬 It’s fast, efficient, and ready to help you scrap away! 🕵️‍♂️✨

- **URL**: https://apify.com/scrapestorm/youtube-transcript-videos.md
- **Developed by:** [Storm_Scraper](https://apify.com/scrapestorm) (community)
- **Categories:** Videos, Social media, Developer tools
- **Features:** Limited permissions
- **Stats:** 177 total users, 1 monthly users, 93.3% runs succeeded, 12 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.00005 / actor start

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Trascript Video Scraper (Fast & Cheap)

🚨The strength of our actor is that you can provide multiple URLs at once, and we will extract the transcripts and video information for each one! 💪🎥📜

The YouTube Trascript Scraper is a powerful tool 💪 designed to extract detailed data from specific YouTube channels 📺. By providing the URL of a channel, you can retrieve:

```
Video Title 📛
View Count  👁️‍🗨️
Transcript 🖼️
Video URL 🌐
```

This scraper allows you to collect key data points from YouTube channels without hitting any limits or quotas.

### Key Features ✨

- Extract transcripts from YouTube videos🎥✍️
- Support for multiple languages 🌍🗣️
- Customize the output format to suit your needs ⚙️📊

### 🛠️ How to Use

This actor takes a YouTube video URL as input and returns the transcript of the video 📹✍️.
Enter Data: Input the URL of the YouTube video you wish to scrape transcript from.
Start Scraping: Click the "Start" button to begin the scraping process.
The scraper will navigate to the channel, gather transcript data, and store it.
Download Your Data: After the extraction process is complete, you can download the results in various formats such as JSON, CSV, XML, HTML Table, etc.
⚠️ Transcript Not Available: If the video does not have a transcript available, the actor will return "null".

### 💸 Pricing

This scraper operates on a pay-per-month basis at a cost of $9.90/month.

### Related Actors

If you're interested in other YouTube scraping solutions, check out these related actors:

- [💬 YouTube Comments Scraper](https://apify.com/scrapestorm/youtube-comments-scraper---rental-fast-and-cheap)
- [🏎 YouTube Scraper (By Keyword) ](https://apify.com/scrapestorm/youtube)
- [🔴 Youtube Channel Scraper (Rental)](https://apify.com/scrapestorm/youtube-channel-scraper)
- [🌐 Youtube Shorts Scraper 📺 (Rental)](https://apify.com/scrapestorm/youtube-shorts-scraper-rental---fast-cheap)

***

You can even apply sentiment analysis on the transcript text we've extracted! 😃📊:

- [Sentiment Analysis Text Classification 📈](https://apify.com/scrapestorm/sentiment-analysis-text-classification)

### 🔑 YouTube Channel Scraper Input

The YouTube Channel Data Scraper requires a specific input format. Provide a JSON object with the URL of the YouTube video.

```
{
    "url": [
        "https://www.youtube.com/watch?v=aAkMkVFwAoo",
        "https://www.youtube.com/watch?v=CevxZvSJLk8"
    ]
}

```

### 📊 YouTube Scraper Data Output

The YouTube Channel Data Scraper will extract the following information for each video and store it in the Apify dataset.
After the run is complete, you can download the data in various formats (JSON, CSV, XML, RSS, or HTML Table).

```
[
    {
        "title": "Mariah Carey - All I Want for Christmas Is You (Make My Wish Come True Edition)",
        "views": "629,939,732 views",
        "target_url": "https://www.youtube.com/watch?v=aAkMkVFwAoo",
        "transcript": "(light cheerful music) ♪ I don't want a lot for Christmas ♪ ♪ There is just one thing I need ♪ ♪ I don't care about the presents ♪ ♪ Underneath the Christmas tree ♪ ♪ I just want you for my own ♪ ♪ More than you could ever know ♪ ♪ Make my wish come true ♪ ♪ All I want for Christmas is you ♪ ♪ Yeah ♪ ♪ I don't want a lot for Christmas ♪ ♪ There is just one thing I need ♪ ♪ And I don't care about the presents ♪ ♪ Underneath the Christmas tree ♪ ♪ I don't need to hang my stocking --- there upon the fireplace ♪ ♪ Santa Claus won't make me happy ♪ ♪ With a toy on Christmas Day ♪ ♪ I just want you for my own ♪ ♪ More than you could ever know ♪ ♪ Make my wish come true ♪ ♪ All I want for Christmas is you ♪ ♪ You, baby ♪ ♪ Oh, I won't ask for --- much this Christmas ♪ ♪ I won't even wish for snow ♪ ♪ And I, I'm just gonna keep on waiting ♪ ♪ Underneath the mistletoe ♪ ♪ I won't make a list and send it ♪ ♪ To the North Pole for Saint Nick ♪ ♪ I won't even stay awake to --- hear those magic reindeer click ♪ ♪ 'Cause I just want you here tonight ♪ ♪ Holding on to me so tight ♪ ♪ What more can I do ♪ ♪ Oh, baby, all I want --- for Christmas is you ♪ ♪ You, baby ♪ ♪ Oh oh, all the lights are --- shining so brightly everywhere ♪ ♪ So brightly, baby ♪ ♪ And the sound of children's --- laughter fills the air ♪ ♪ And everyone is singing ♪ ♪ I hear those sleigh bells ringing ♪ ♪ Santa, won't you bring --- me the one I really need ♪ ♪ Won't you please bring my baby to me ♪ ♪ Oh, I don't want a lot for Christmas ♪ ♪ This is all I'm asking for ♪ ♪ I just wanna see my baby --- standing right outside my door ♪ ♪ Oh, I just want you for my own ♪ ♪ More than you could ever know ♪ ♪ Make my wish come true ♪ ♪ Oh, baby, all I want --- for Christmas is you ♪ ♪ You, baby ♪ ♪ All I want for Christmas is you, baby ♪ ♪ All I want for Christmas is you, baby ♪ ♪ All I want for Christmas is you, baby ♪ ♪ All I want for Christmas is you, baby ♪ ♪ All I want for Christmas is you, baby ♪"
    },
    {
        "title": "Katy Perry - Roar",
        "views": "4,075,320,386 views",
        "target_url": "https://www.youtube.com/watch?v=CevxZvSJLk8",
        "transcript": "I used to bite my tongue and hold my breath --- Scared to rock the boat and make a mess So I sat quietly, agreed politely I guess that I forgot I had a choice --- I let you push me past the breaking point I stood for nothing, so I fell for everything You held me down, but I got up --- Already brushing off the dust You hear my voice, you hear that sound --- Like thunder, gonna shake your ground You held me down, but I got up --- Get ready cause I've had enough I see it all, I see it now I got the eye of the tiger, a fighter, dancing through the fire --- 'Cause I am a champion and you're gonna hear me roar --- Louder, louder than a lion Cause I am a champion and you're gonna hear me roar --- Oh oh oh oh oh oh --- You're gonna hear me roar Now I'm floating like a butterfly --- Stinging like a bee I earned my stripes I went from zero, to my own hero You held me down, but I got up --- Already brushing off the dust You hear my voice, your hear that sound --- Like thunder, gonna shake your ground You held me down, but I got up --- Get ready 'cause I've had enough I see it all, I see it now I got the eye of the tiger, a fighter, dancing through the fire --- 'cause I am a champion and you're gonna hear me roar --- Louder, louder than a lion 'cause I am a champion and you're gonna hear me roar --- Oh oh oh oh oh oh --- You're gonna hear me roar --- Oh oh oh oh oh oh You're gonna hear me roar I got the eye of the tiger, a fighter, dancing through the fire --- 'Cause I am a champion and you're gonna hear me roar --- Louder, louder than a lion 'Cause I am a champion and you're gonna hear me roar --- Oh oh oh oh oh oh --- You're gonna hear me roar --- Oh oh oh oh oh oh You're gonna hear me roar"
    }
]

```

# Actor input Schema

## `url` (type: `array`):

Array of YouTube video URLs to scrape transcripts from.

## Actor input object example

```json
{
  "url": [
    "https://www.youtube.com/watch?v=uicp-zqsIKU",
    "https://www.youtube.com/watch?v=CevxZvSJLk8"
  ]
}
```

# 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 = {
    "url": [
        "https://www.youtube.com/watch?v=uicp-zqsIKU",
        "https://www.youtube.com/watch?v=CevxZvSJLk8"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapestorm/youtube-transcript-videos").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 = { "url": [
        "https://www.youtube.com/watch?v=uicp-zqsIKU",
        "https://www.youtube.com/watch?v=CevxZvSJLk8",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scrapestorm/youtube-transcript-videos").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 '{
  "url": [
    "https://www.youtube.com/watch?v=uicp-zqsIKU",
    "https://www.youtube.com/watch?v=CevxZvSJLk8"
  ]
}' |
apify call scrapestorm/youtube-transcript-videos --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapestorm/youtube-transcript-videos"
        }
    }
}
```

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/bY6Ic1Epmh7jxabMV/builds/WccFdVDIPfLm6oqz8/openapi.json
