# YouTube Scraper All-in-One: Videos & Transcripts (`t800solutions/youtube-scraper`) Actor

The all-in-one YouTube scraper: videos, Shorts, live streams, channels and playlists with full details, plus comments and transcripts in the same run. Search with every YouTube filter or paste links. Date filter and channel data included. Export via API, CSV or Excel.

- **URL**: https://apify.com/t800solutions/youtube-scraper.md
- **Developed by:** [T800 Solutions](https://apify.com/t800solutions) (community)
- **Categories:** Videos, 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 $1.90 / 1,000 video with full details

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 Scraper All-in-One** is a YouTube scraper that gets **videos, Shorts, live streams, channels and playlists with full details, plus comments and transcripts, in a single run**. Search with every filter of the YouTube search box or paste links, and get titles, views, likes, publish dates, descriptions, keywords, categories and the channel's subscribers and totals. Add the comments of each video and the spoken text from YouTube's own captions. No YouTube API key, no quota. Export to **Excel, CSV or JSON**, or use the results through the API.

### ✨ What can this YouTube scraper do?

| Feature | What it does |
|---|---|
| 🔍 **Search with all the YouTube filters** | Sort by relevance, upload date, views or rating; filter by upload date, duration and features (live, 4K, HD, subtitles, Creative Commons, 360°, VR180, 3D, HDR, location). **Included** |
| 🎬 **Videos, Shorts and live streams** | Separate limits for each, from searches, channels and playlists |
| 📺 **Channels and playlists** | Paste a channel (@name) or playlist link and get its videos from the newest on, with the channel's subscribers, total videos, total views, country, join date and links. **Included** |
| 📅 **Date filter** | Only videos newer than a date or "30 days", for channels and playlists. **Included** (the leading scraper charges it as an add-on) |
| 📋 **Full details or list only** | Full details opens each video: likes, full description, exact date, comment count, keywords, category, caption languages. List only is faster and cheaper |
| 💬 **Add-on: Comments** | Top or newest comments of each video, with replies, likes, author and date, with a limit per video and a date filter |
| 📝 **Add-on: Transcript** | The spoken text from YouTube captions (manual or auto-generated), in your language order (pt finds pt-BR), as plain text, text with timestamps, SRT, WebVTT or JSON. Charged per started hour of video; videos without captions are not charged |
| 🌍 **20 interface languages and any country** | Titles, dates and counts in your language; search results for your country |
| 📈 **Live Run summary** | Searches done, videos, comments and transcripts delivered and amount charged, updated every 15 seconds |

The leading YouTube scrapers split this into separate Actors for videos, Shorts, channels, comments and transcripts. Here you run one Actor, pay only for what you turn on, and get everything linked by video.

### 🚀 How to scrape YouTube videos, comments and transcripts

1. Type one or more **🔍 Search terms** (up to 20), or paste **🔗 YouTube links**: videos, channels (@name), playlists, Shorts or search pages (up to 1,000).
2. Choose **💯 Max videos**, **🎬 Max Shorts** and **🔴 Max live streams** per search or link.
3. Pick **📋 Details**: full details (default) or list only (faster and cheaper).
4. Optional: set a **📅 date filter**, the **🎯 search filters**, and turn on **Add-on: Comments** and **Add-on: Transcript**.
5. Click **Start**. Videos appear in the **Videos** tab while the run goes, and the **Run summary** shows progress and the amount charged.
6. Download the results as **Excel, CSV or JSON**, or get them through the API.

It runs on the Apify platform, so you can also schedule runs, call it from your own code, get a webhook when a run finishes and connect it to n8n, Make, Zapier or AI agents (see Integrations below).

### 📋 What data can you extract from YouTube?

One row per video, with these columns (in this order in the **Videos** view):

| Column | What it is |
|---|---|
| `title`, `url`, `id` | Video title, link and ID |
| `type` | `video`, `short` or `live` |
| `views`, `likes`, `comments_count` | Counts (likes and comment count with full details) |
| `published`, `published_text` | Publish date (exact with full details) and the text YouTube shows |
| `duration_seconds` | Length in seconds |
| `description`, `category`, `keywords`, `hashtags` | Full description, category and tags (full details) |
| `thumbnail`, `is_live`, `was_live`, `family_safe` | Picture and flags |
| `caption_languages`, `auto_caption_languages` | Caption languages the video has |
| `channel_name`, `channel_url`, `channel_id`, `channel_handle` | The channel |
| `channel_subscribers`, `channel_total_videos`, `channel_total_views`, `channel_verified` | Channel numbers |
| `channel_description`, `channel_country`, `channel_joined`, `channel_links`, `channel_avatar`, `channel_banner` | Channel profile |
| `comments`, `comments_delivered` | The comments of the video (Add-on: Comments): id, text, author, likes, replies, date, `reply_to` |
| `transcript`, `transcript_language`, `transcript_auto_generated`, `transcript_minutes`, `transcript_languages_available`, `transcript_error` | The transcript (Add-on: Transcript) |
| `source`, `rank` | The search term or link that found the video and its position |
| `unavailable_reason`, `error_code`, `error` | Why a video or a link could not be read (not charged) |
| `scraped_at` | When the row was collected (UTC) |

### ⬇️ Input

**Search terms with filters**

```json
{
  "search_terms": ["web scraping tutorial"],
  "max_videos": 100,
  "max_shorts": 20,
  "details": "full",
  "search_sort": "view_count",
  "upload_date": "year",
  "duration": "long",
  "features": ["hd", "subtitles"]
}
```

**A channel with comments and transcripts**

```json
{
  "start_urls": ["https://www.youtube.com/@Google"],
  "max_videos": 50,
  "only_newer_than": "90 days",
  "comments": true,
  "max_comments": 50,
  "comment_replies": true,
  "transcript": true,
  "transcript_languages": ["en", "pt"],
  "transcript_format": "timestamped"
}
```

- `search_terms` (**🔍 Search terms**): up to 20 terms, as you would type them on YouTube.
- `start_urls` (**🔗 YouTube links**): up to 1,000 links to videos, channels, playlists, Shorts or search pages.
- `max_videos`, `max_shorts`, `max_live_streams`: limits per search or link (Shorts and live streams count as videos in the price).
- `details` (**📋 Details**): `full` or `list`. Comments and transcripts always use full details.
- `only_newer_than` (**📅 Only videos newer than**): `2026-01-15` or `30 days`, for channels and playlists.
- `comments` (**💬 Add-on: Comments**) with `max_comments`, `comments_sort` (`top` or `newest`), `comment_replies`, `max_replies_per_comment` and `comments_newer_than`.
- `transcript` (**📝 Add-on: Transcript**) with `transcript_languages`, `transcript_format` (`text`, `timestamped`, `srt`, `vtt`, `json`) and `transcript_prefer_manual`.
- `language` (**🌍 Language**) and `country` (**🌎 Country**): the YouTube interface language and the country of the results.

### 📤 Output example

```json
{
  "id": "hHQlcnubuFI",
  "title": "Learn Web Scraping in 5 Minutes",
  "url": "https://www.youtube.com/watch?v=hHQlcnubuFI",
  "type": "video",
  "views": 188988,
  "likes": 5321,
  "comments_count": 210,
  "published": "2026-03-17",
  "duration_seconds": 293,
  "description": "In this video you will learn ...",
  "category": "Education",
  "keywords": ["web scraping", "python"],
  "channel_name": "CodeHead",
  "channel_url": "https://www.youtube.com/@codehead01",
  "channel_subscribers": 120000,
  "channel_verified": false,
  "comments_delivered": 50,
  "comments": [{"id": "Ugw...", "text": "Great tutorial!", "author": "@someone", "likes": 12, "replies": 1, "published": "2 months ago", "reply_to": null}],
  "transcript": "[00:00:00] Hi, in this video ...",
  "transcript_language": "en",
  "transcript_auto_generated": true,
  "transcript_minutes": 4.9,
  "source": "web scraping tutorial",
  "rank": 1,
  "scraped_at": "2026-11-12T20:00:00Z"
}
```

### 💰 How much does it cost to scrape YouTube?

Pay per event, in US$ per 1,000. Your price depends on your Apify plan, and the Apify pricing panel shows the price that applies to you.

| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Video with full details (video, Short or live stream) | $3.20 | $2.40 | $2.10 | $1.90 |
| Video (list only) | $1.00 | $0.80 | $0.60 | $0.40 |
| Add-on: Comment (per comment or reply) | $1.20 | $1.00 | $0.80 | $0.60 |
| Add-on: Transcript (per started hour of video): a video up to 60 minutes counts 1 | $1.20 | $1.00 | $0.85 | $0.70 |

Each run also has a tiny start fee of $0.00005 per GB of memory (about $0.05 per 1,000 runs). **The date filter, the search filters and the channel data are included. Unavailable videos, failed links and videos without captions are not charged.**

**Example (Free plan):** 1,000 videos with full details cost $3.20; the same 1,000 videos (up to 1 hour each) with their transcripts, $4.40; 100 videos with 50 comments each, $6.32.

**Is it free to try?** Yes. The Apify Free plan includes $5 of usage every month, with no credit card, which covers about 1,500 videos with full details.

### 🧑‍💻 Use the YouTube Scraper API from Python, JavaScript or cURL

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("t800solutions/youtube-scraper").call(run_input={
    "search_terms": ["web scraping tutorial"],
    "max_videos": 20,
    "transcript": True,
})
for video in client.dataset(run.default_dataset_id).iterate_items():
    print(video["title"], video["views"], video.get("transcript_minutes"))
```

**JavaScript** (`npm install apify-client`):

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

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('t800solutions/youtube-scraper').call({
    start_urls: ['https://www.youtube.com/@Google'],
    max_videos: 20,
    comments: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((v) => [v.title, v.comments_delivered]));
```

**cURL** (waits for the run and returns the videos; for runs of up to 5 minutes):

```bash
curl -X POST "https://api.apify.com/v2/acts/t800solutions~youtube-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"search_terms": ["web scraping tutorial"], "max_videos": 10}'
```

The **API** tab of this page has ready-made examples for more languages and the full list of endpoints.

More examples ready to copy (Python, JavaScript and cURL) on GitHub: [github.com/t800solutions/apify-actors/youtube-scraper](https://github.com/t800solutions/apify-actors/tree/main/youtube-scraper)

### 🔌 Integrations: n8n, Make, Zapier and AI agents

- **n8n**: the [Apify node](https://docs.apify.com/platform/integrations/n8n) runs this Actor and returns the videos ("Run an Actor and get dataset"), for example to send new videos of a channel to a Google Sheet or to an AI step that reads the transcripts.
- **Make** and **Zapier**: the Apify apps for [Make](https://docs.apify.com/platform/integrations/make) and [Zapier](https://docs.apify.com/platform/integrations/zapier) start a run and read the videos in your scenarios and Zaps.
- **AI agents (MCP)**: Claude, Cursor and other MCP clients can find and run this Actor through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp).
- **Webhooks and schedules**: get a [webhook](https://docs.apify.com/platform/integrations/webhooks) when a run finishes, or follow a channel every day with a [schedule](https://docs.apify.com/platform/schedules).

### 💡 Use cases

- **Content research**: what a topic's most viewed videos say, with transcripts ready for an LLM.
- **Channel and competitor monitoring**: every new video of a set of channels, with views, likes and comments.
- **Audience and sentiment**: the comments of a product launch, a campaign or a creator.
- **Datasets for AI and RAG**: transcripts with timestamps and metadata, in bulk.
- **Market and trend analysis**: Shorts and live streams by keyword, country and period.

### ❓ FAQ

**Do I need a YouTube API key?** No. The Actor reads the public YouTube pages, with no key and no daily quota.

**Can I get the transcript of a video?** Yes, with **Add-on: Transcript**: the captions YouTube has for the video, manual or auto-generated, in the languages you list. A video without captions is delivered without a transcript and not charged for it. The transcript is charged per started hour of video: a video up to 60 minutes counts 1, a 5-hour live stream counts 5 (see `transcript_minutes`).

**Can I get the comments?** Yes, with **Add-on: Comments**: top or newest, with replies if you want, up to the limit per video you set.

**Does it scrape Shorts and live streams?** Yes. Set **🎬 Max Shorts** and **🔴 Max live streams** for searches and channels.

**What is "List only"?** The data shown in YouTube lists (title, views, duration, date, channel) without opening each video. It is faster and cheaper. Full details adds likes, full description, exact date, comment count, keywords, category and the channel's numbers.

**Can I filter by date?** Yes: **📅 Only videos newer than** for channels and playlists (included), and **📆 Upload date** in the search filters.

**Can I export to Excel?** Yes. Open the **Videos** tab, click Export and choose Excel or CSV. Comments and transcripts are inside each row; in Excel, long transcripts may exceed the 32,767 characters of one cell, so use JSON or the API for those.

**What happens with a private or removed video?** You get a row with `unavailable_reason` and it is not charged.

### 🔒 Privacy

Your input (search terms and links) is used only to run your search. Your results are stored in your own Apify account; we do not receive them. Our logs keep only numbers (videos, comments, timings and error codes), never your input or your results.

### 📜 Terms of use

- This Actor collects publicly available information from YouTube pages.
- You are responsible for how you use the results, including following the laws and the terms that apply to you and to your use of the data.
- The Actor is provided as is. YouTube may change its pages at any time; we update the Actor when needed, and it may be paused for maintenance for short periods. A paused run ends in seconds without delivering or charging videos.
- Prices may change following Apify's rules: price increases are announced in advance, and decreases take effect immediately.

### 💬 Support

Open an issue in the **Issues** tab. Please include the run ID; you can share the run with us so we can look at it.

⭐ **Happy with the results?** A short review on the **Reviews** tab helps other people find this Actor.

### 🧩 More Actors by T800 Solutions

| Actor | What it does |
|---|---|
| [📍 Google Maps Scraper – Most Accurate Extractor](https://apify.com/t800solutions/google-maps-scraper) | Business names, phones, websites, addresses, ratings and reviews from Google Maps, across whole cities and only inside your area |
| [📄 PDF Extractor All-in-One: Text, Tables & OCR](https://apify.com/t800solutions/pdf-extractor) | PDF to text, Markdown, tables, OCR for scanned PDFs in 20 languages, RAG chunks and images |
| [📸 Instagram Scraper All-in-One: Posts & Comments](https://apify.com/t800solutions/instagram-scraper) | Public Instagram profiles, posts, reels, hashtags and comments in one run, without login |

All our Actors: [apify.com/t800solutions](https://apify.com/t800solutions) · Code examples for every Actor: [github.com/t800solutions/apify-actors](https://github.com/t800solutions/apify-actors)

# Actor input Schema

## `search_terms` (type: `array`):

What to search for on YouTube, one term per line (up to 20), exactly as you would type it in the YouTube search box. Example: web scraping tutorial.

## `start_urls` (type: `array`):

Links to videos, channels (@name), playlists, Shorts or YouTube search pages, one per line (up to 1,000). A channel link returns its videos; a playlist link returns its videos; a video link returns that video.

## `max_videos` (type: `integer`):

How many regular videos to get for each search term or link (default 50, up to 20,000). Channels and playlists are read from the newest video on.

## `max_shorts` (type: `integer`):

How many Shorts to get for each search term or channel (0 = none). Shorts count as videos in the price.

## `max_live_streams` (type: `integer`):

How many live streams (current and past) to get for each search term or channel (0 = none). Live streams count as videos in the price.

## `details` (type: `string`):

Full details opens each video and gets everything: likes, full description, exact publish date, comment count, keywords, category and the channel's subscribers and totals. List only keeps what the YouTube list shows and costs less. Comments and transcripts always use Full details.

## `only_newer_than` (type: `string`):

Keep only videos published after this date, for channels and playlists. A date like 2026-01-15, or a number of days like 30 days. Included in the price (no add-on).

## `channel_sort` (type: `string`):

Order of a channel's videos. Newest first is the YouTube default.

## `search_sort` (type: `string`):

Order of the search results.

## `upload_date` (type: `string`):

Only videos uploaded in this period.

## `duration` (type: `string`):

Only videos of this length.

## `features` (type: `array`):

Only videos with these features (all of them).

## `comments` (type: `boolean`):

Get the comments of each video, charged per comment delivered. Turns on Full details.

## `max_comments` (type: `integer`):

How many top-level comments to get for each video (default 100).

## `comments_sort` (type: `string`):

Top comments is the YouTube default.

## `comment_replies` (type: `boolean`):

Also get the replies to each comment, up to 'Max replies per comment', charged as comments.

## `max_replies_per_comment` (type: `integer`):

With replies on, how many replies to get for each comment (default 10).

## `comments_newer_than` (type: `string`):

Keep only comments after this date: 2026-01-15 or 30 days. Works best with Newest first.

## `transcript` (type: `boolean`):

Get the spoken text of each video from YouTube's own captions (manual or auto-generated), charged per started hour of video (a video up to 60 minutes counts 1). Videos without captions are not charged. Turns on Full details.

## `transcript_languages` (type: `array`):

Language codes in order of preference, e.g. en, pt, es. A short code finds regional captions too (pt finds pt-BR). Use any to take whatever the video has.

## `transcript_format` (type: `string`):

How the transcript is delivered in the transcript column.

## `transcript_prefer_manual` (type: `boolean`):

Use captions written by the creator when they exist; fall back to YouTube's auto-generated ones.

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

Language of the YouTube interface used to read titles, dates and counts.

## `country` (type: `string`):

Two-letter country code (US, BR, GB, DE...). Search results depend on the country.

## `max_total_videos` (type: `integer`):

Safety cap for the whole run, across all searches and links (default 100,000).

## `concurrency` (type: `integer`):

How many videos are opened at the same time for Full details, comments and transcripts (default 8).

## Actor input object example

```json
{
  "search_terms": [
    "web scraping tutorial"
  ],
  "max_videos": 50,
  "max_shorts": 0,
  "max_live_streams": 0,
  "details": "full",
  "channel_sort": "newest",
  "search_sort": "relevance",
  "upload_date": "any",
  "duration": "any",
  "features": [],
  "comments": false,
  "max_comments": 100,
  "comments_sort": "top",
  "comment_replies": false,
  "max_replies_per_comment": 10,
  "transcript": false,
  "transcript_languages": [
    "en"
  ],
  "transcript_format": "text",
  "transcript_prefer_manual": true,
  "language": "en",
  "country": "US",
  "max_total_videos": 100000,
  "concurrency": 8
}
```

# Actor output Schema

## `videos` (type: `string`):

All videos delivered by the run, one row each, with channel, comments and transcript.

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

Status, searches done, videos, comments and transcripts delivered, amount charged so far and duration. Updated every 15 seconds while the run is going, and final at the end.

# 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 = {
    "search_terms": [
        "web scraping tutorial"
    ],
    "max_videos": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("t800solutions/youtube-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 = {
    "search_terms": ["web scraping tutorial"],
    "max_videos": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("t800solutions/youtube-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 '{
  "search_terms": [
    "web scraping tutorial"
  ],
  "max_videos": 50
}' |
apify call t800solutions/youtube-scraper --silent --output-dataset

```

## MCP server setup

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