# YouTube Channel Scraper (`sleepmodesystems/youtube-channel-scraper`) Actor

\[💰 $1.99 / 1K videos] Every video of any YouTube channel, with the exact publish date and time and the channel's stats on every row · videos, Shorts and live streams · or one row per channel · No account, no proxy. Export JSON, CSV or Excel.

- **URL**: https://apify.com/sleepmodesystems/youtube-channel-scraper.md
- **Developed by:** [Sleep Mode Systems](https://apify.com/sleepmodesystems) (community)
- **Categories:** Videos, Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

**\[💰 $1.99 per 1,000 videos]** Scrape every video of any YouTube channel, with the exact publish date and time, views, likes, comment count and the channel's stats on every row: a channel's 100 newest videos in ~19 seconds, every video, Short and stream of two channels in 90 days in ~18 seconds. Or one row per channel. No account, no API key, no proxy. Export JSON, CSV or Excel.

### What can the YouTube Channel Scraper do?

The YouTube Channel Scraper **extracts the videos of YouTube channels** (https://www.youtube.com) in a single tool: paste **channel links, @handles or channel ids**, as many as you want, and get **every video** (regular videos, **Shorts** and **live streams**), newest, popular or oldest first, each with its **exact publish date and time**, exact views, likes and comment count, and the **channel's stats**. Or switch on **Channels only** for **one row per channel**.

<table>
<tr><th>📦 What you can extract</th><th>⚙️ Features &amp; integrations</th></tr>
<tr><td valign="top">

🎬 **Every video** of a channel <br>
📱 **Shorts** and 🔴 **live streams** <br>
🗓️ **Exact publish** date and time <br>
📊 **Views, likes, comments** <br>
👤 **Channel stats**: subscribers, country

</td><td valign="top">

🔎 **Channels** by link, @handle or id <br>
🗓️ **Date window** from / to <br>
🔔 **Monitor**: only new videos <br>
⬇️ **Export** to JSON, CSV, Excel or XML <br>
🦾 **API, webhooks**, Node.js & Python clients <br>
🤖 **LLM-ready data** for MCP, Claude, ChatGPT

</td></tr>
</table>

If you track competitors' channels, audit a creator before a sponsorship, analyse what content performs, build channel lists for outreach or archive a channel's catalogue, the YouTube Channel Scraper gives you every video and its numbers in one run.

### What data can I scrape from YouTube channels?

- 🎬 **Videos, Shorts and live streams**: *what the channel published and how it performed.* Title as the creator wrote it, link, exact publish date and time, length, exact views, exact likes, exact comment count, category, tags, hashtags, description and the links in it, collaborators, family-safe and unlisted flags, countries where it is blocked, live start and end times, thumbnail.
- 👤 **The channel on every row**: name, @handle, id, link, subscribers, verified badge, country, joined date, total views, video count, description, avatar, links and whether it lists a business email.
- 📇 **Channels only**: one row per channel with the same channel details, banner and keywords, for channel lists and outreach.

Runs on 2026-11-18: a channel's 100 newest videos, complete, in 18.6 seconds; two channels' videos, Shorts and live streams of the last 90 days (45 rows) in 18.1 seconds; 4 channel links as channel rows in 7.7 seconds (the same channel pasted twice gave one row). Title, exact publish time, views and channel stats on 100% of video rows.

> Need more? These dedicated YouTube scrapers cover what this one doesn't:
>
> - 🎬 [YouTube Scraper](https://apify.com/sleepmodesystems/youtube-scraper): searches, playlists, hashtags, comments, transcripts and creators in one tool
> - 💬 [YouTube Comments Scraper](https://apify.com/sleepmodesystems/youtube-comments-scraper): one row per comment
> - 📝 [YouTube Transcript Scraper](https://apify.com/sleepmodesystems/youtube-transcript-scraper): transcripts, charged per transcript

### How much will scraping YouTube channels cost?

The YouTube Channel Scraper uses **pay-per-event** pricing: you pay for each video or channel it returns, nothing else. Videos your date window leaves out, repeats, and videos an earlier run of your monitor already returned are not charged. Platform usage is included.

| Event | FREE | BRONZE | SILVER | GOLD |
|---|---|---|---|---|
| Video with its details and channel stats (per 1,000) | $1.99 | $1.59 | $1.29 | $0.99 |
| Channel row, with Channels only (per 1,000) | $1.99 | $1.59 | $1.29 | $0.99 |
| Video without full details (per 1,000) | $0.99 | $0.79 | $0.69 | $0.49 |
| Actor start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

The tiers are Apify's discount tiers; PLATINUM and DIAMOND pay the GOLD price. A video comes without full details only when YouTube does not send them; it is charged at the lower price.

#### Cost examples

| What you scrape | Rows | FREE | GOLD |
|---|---|---|---|
| A channel's 200 videos | 200 videos | $0.40 | $0.20 |
| The 100 newest videos of 50 channels | 5,000 videos | $9.95 | $4.95 |
| 1,000 channels' stats (Channels only) | 1,000 channels | $1.99 | $0.99 |

### How do I use the YouTube Channel Scraper?

<a href="https://console.apify.com/actors/fyLlEfda7K3WEhUWV/input"><img src="https://raw.githubusercontent.com/sleepmodesystems/actor-readme-images/main/youtube-channel-scraper/youtube-channel-scraper-how-it-works.png" alt="YouTube Channel Scraper, how it works: channels in, every video with exact dates and channel stats out" style="width:100%;"></a>

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open the [YouTube Channel Scraper](https://console.apify.com/actors/fyLlEfda7K3WEhUWV) in Apify Console.
3. Paste channel links, @handles or channel ids in **Channels**.
4. Set **Videos per channel** (0 = every video), and Shorts or live streams if you want them, or switch on **Channels only**.
5. Click **Save & Start**, then download your data as JSON, CSV, Excel or XML, or read it through the API.

### ⬇️ Input

Each channel is read to the end of its list, up to the numbers you set; the date window and order apply to every channel. A channel's Shorts or Live link reads that tab only.

<a href="https://console.apify.com/actors/fyLlEfda7K3WEhUWV/input"><img src="https://raw.githubusercontent.com/sleepmodesystems/actor-readme-images/main/youtube-channel-scraper/youtube-channel-scraper-input.png" alt="YouTube Channel Scraper input form in Apify Console: channels, channels only, videos per channel, Shorts, live streams, date window and order" style="width:100%;"></a>

#### Every video of a channel

```json
{ "startUrls": ["https://www.youtube.com/@TechWorldwithNana"], "maxResults": 0 }
```

Every regular video, newest first, each with its exact date, numbers and the channel's stats.

#### Videos, Shorts and streams of several channels, last 90 days

```json
{ "startUrls": ["@TechWorldwithNana", "@freecodecamp"], "maxResults": 0, "maxShorts": 50, "maxLive": 10, "dateFrom": "90 days" }
```

Each channel's regular videos, Shorts and streams published in the last 90 days.

#### A channel's most popular videos

```json
{ "startUrls": ["https://www.youtube.com/@TechWorldwithNana"], "maxResults": 20, "sortBy": "popular" }
```

The channel's 20 most popular videos.

#### Channel stats for a list of channels

```json
{ "startUrls": ["@TechWorldwithNana", "@freecodecamp", "UCdngmbVKX1Tgre699-XLlUA"], "creatorsOnly": true }
```

One row per channel: subscribers, total views, video count, country, joined date, links and whether it lists a business email.

#### What to paste

| Paste this | You get |
|---|---|
| `https://www.youtube.com/@handle`, `@handle`, `/channel/UC…`, `/c/…`, `/user/…`, a channel id | the channel's videos |
| `…/@handle/shorts`, `…/@handle/streams`, `…/@handle/videos` | that tab only |
| words in **Or find channels by keyword**, with Channels only | the channels behind the search's videos |

#### Fields

| Field | Type | Default | Meaning |
|---|---|---|---|
| `startUrls` | list | | Channel links, @handles or channel ids |
| `creatorsOnly` | yes/no | no | One row per channel instead of its videos |
| `searchQueries` | list | | With Channels only: find channels by keyword |
| `maxResults` | number | 100 | Regular videos per channel; 0 = all |
| `maxShorts` | number | 0 | Shorts per channel |
| `maxLive` | number | 0 | Live streams per channel |
| `dateFrom`, `dateTo` | date | | Published window (dates or spans such as `90 days`) |
| `sortBy` | text | newest | newest, popular, oldest |
| `country` | text | US | Results as shown in that country |
| `onlyNew`, `monitorName` | yes/no, text | no | Only videos earlier runs did not return |
| `minItems` | number | 0 | Fail the run below this many rows |

### ⬆️ Output

<a href="https://console.apify.com/actors/fyLlEfda7K3WEhUWV/input"><img src="https://raw.githubusercontent.com/sleepmodesystems/actor-readme-images/main/youtube-channel-scraper/youtube-channel-scraper-output.png" alt="YouTube Channel Scraper output table: thumbnail, title, exact publish time, views, likes, comment count, length and channel stats" style="width:100%;"></a>

One row per video (`type: "video"`), or per channel with Channels only (`type: "channel"`). The Output tab has three views: Videos, Video details and Channels.

#### 🎬 Video data sample

```json
{
  "type": "video",
  "videoType": "video",
  "id": "yyUHQIec83I",
  "url": "https://www.youtube.com/watch?v=yyUHQIec83I",
  "title": "Golang Tutorial for Beginners | Full Go Course",
  "publishedAt": "2021-12-20T07:05:11-08:00",
  "durationSeconds": 12299,
  "viewCount": 2532005,
  "likeCount": 41009,
  "commentCount": 1364,
  "category": "Education",
  "tags": [
    "golang",
    "programming",
    "go tutorial",
    "golang tutorial"
  ],
  "thumbnailUrl": "https://i.ytimg.com/vi/yyUHQIec83I/maxresdefault.jpg",
  "channelId": "UCdngmbVKX1Tgre699-XLlUA",
  "channelName": "TechWorld with Nana",
  "channelHandle": "TechWorldwithNana",
  "channelSubscribers": 1500000,
  "channelCountry": "Austria",
  "channelJoinedAt": "2019-10-06",
  "channelViewCount": 90017943,
  "channelVideoCount": 189,
  "channelHasBusinessEmail": true,
  "source": "https://www.youtube.com/@TechWorldwithNana",
  "rank": 81
}
```

#### Run summary

Each run saves a summary (key-value store, `SUMMARY`): `videos` and `channels` returned, `incompleteRows` (videos that came without their full details), `unavailableVideos`, `notFound` (channels YouTube does not know), `outsideDateWindow`, `duplicatesSkipped` and the run's plan in words.

#### 📝 Notes and limits

- Subscriber counts are rounded by YouTube itself (1.5M); channel views and video counts are exact.
- Popular and oldest order read the channel's own sorted lists; newest first is the default and the fastest.
- A channel that does not exist, or is not shown in your country, is named in the run's message and costs nothing.

### What can you do with YouTube channel data?

#### 📈 [Track Competitor YouTube Channels Weekly](https://apify.com/sleepmodesystems/youtube-channel-scraper/examples/youtube-competitor-channels-weekly)

Follow what competing channels publish and how each video performs. **Recipe:** 1. Paste the channels. 2. Set **Published from** to `30 days` and switch on **Only new videos** with a monitor name. 3. Schedule it weekly: each run returns only the new videos.

#### 🔍 Audit a creator before a sponsorship

See how a channel really performs before you pay it. **Recipe:** 1. Paste the channel. 2. Set **Videos per channel** to 50. 3. Compare `viewCount`, `likeCount` and `commentCount` over time with `channelSubscribers`.

#### 📇 Channel lists for outreach

Get the stats of hundreds of channels at once. **Recipe:** 1. Paste the channels, or type keywords in **Or find channels by keyword**. 2. Switch on **Channels only**. 3. Filter on `subscribers`, `country` and `hasBusinessEmail`.

### YouTube channel scrapers compared

| | YouTube Channel Scraper | streamers Channel Scraper | grow_media Channel Videos | apidojo Channel Information |
|---|---|---|---|---|
| Price per 1,000 rows | $1.99 | $1.30 | $1.00 | $0.50 |
| Exact publish time | ✅ | ❌ | ✅ | ❌ |
| Likes and comment count | ✅ | ❌ | ✅ | ❌ |
| Videos, Shorts and streams in one run | ✅ | ✅ | ❌ | ❌ |
| One row per channel | ✅ | ❌ | ❌ | ✅ |
| Published-from date | ✅ | ✅ | ❌ | ❌ |
| Published-to date | ✅ | ❌ | ❌ | ❌ |
| Only new videos | ✅ | ❌ | ❌ | ❌ |

### Want to get other data from YouTube?

<table>
<tr><td>🎬 <a href="https://apify.com/sleepmodesystems/youtube-scraper">YouTube Scraper</a></td><td>💬 <a href="https://apify.com/sleepmodesystems/youtube-comments-scraper">YouTube Comments Scraper</a></td></tr>
<tr><td>📝 <a href="https://apify.com/sleepmodesystems/youtube-transcript-scraper">YouTube Transcript Scraper</a></td><td>📱 <a href="https://apify.com/sleepmodesystems/youtube-shorts-scraper">YouTube Shorts Scraper</a></td></tr>
</table>

### How do you use the YouTube Channel Scraper with AI agents (Claude, ChatGPT, Cursor)?

The [Apify MCP server](https://mcp.apify.com/) lets AI agents run the YouTube Channel Scraper and read its results:

```
https://mcp.apify.com/?tools=sleepmodesystems/youtube-channel-scraper
```

```json
{
  "mcpServers": {
    "youtube-channel-scraper": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.apify.com/?tools=sleepmodesystems/youtube-channel-scraper"]
    }
  }
}
```

Example prompts:

- "List every video @TechWorldwithNana published in 2025, with views and likes, and tell me which topics did best."
- "Compare the last 30 videos of @freecodecamp and @TechWorldwithNana by views per day."
- "Get the subscribers, country and links of these 50 channels and keep the ones in Germany."

https://www.youtube.com/watch?v=BKu8H91uCTg

#### Why agents should choose the YouTube Channel Scraper

- **Whole channels in one call**: any number of channels, every video or a date window, newest, popular or oldest first.
- **Exact numbers**: publish date and time, views, likes and comment count on every video row.
- **Context on the row**: the channel's subscribers, country and total views next to each video.
- **Errors an agent can act on**: input it cannot read ends the run in seconds with what to fix, and nothing charged; a channel YouTube does not know is named in the run's message.
- **Price**: $1.99 per 1,000 videos on FREE, $0.99 on GOLD; no setup, no account, no API key.

#### Quick reference for AI agents

- Actor: `sleepmodesystems/youtube-channel-scraper`.
- One row per video (`type: "video"`), or per channel (`type: "channel"`) with `creatorsOnly`.
- Smallest input: `{"startUrls": ["@TechWorldwithNana"]}` gives the channel's 100 newest videos.
- Common inputs: `startUrls`, `maxResults` (0 = all), `maxShorts`, `maxLive`, `dateFrom` / `dateTo`, `sortBy`, `creatorsOnly`.
- Main video fields: `id`, `url`, `title`, `publishedAt`, `viewCount`, `likeCount`, `commentCount`, `durationSeconds`, `channelName`, `channelSubscribers`, `channelCountry`.
- `null` means YouTube does not show the value: no country on the channel, likes hidden by the creator.
- Zero rows: the channel has no videos in your window, or does not exist; the status message says which, and nothing is charged.

### ❓ Frequently Asked Questions

#### Can I get every video of a channel?

Yes. Set **Videos per channel** to 0: the channel's whole list, newest first, and its Shorts and streams if you set their numbers.

#### Can I scrape many channels at once?

Yes. Paste as many channel links, @handles or ids as you want, one per line; each is read on its own.

#### How do I get only the channels' stats?

Switch on **Channels only**: one row per channel, no videos.

#### Is it legal to scrape YouTube channels?

The YouTube Channel Scraper collects only public data that anyone can see without logging in, and you choose what to collect. You are responsible for how you use the data, including channel names and other personal data, under YouTube's terms and laws such as the GDPR and CCPA. The YouTube Channel Scraper is an independent tool by Sleep Mode Systems. It is not affiliated with, endorsed by or sponsored by YouTube or Google; YouTube is a trademark of Google LLC.

#### Can I integrate YouTube channel data with other apps?

Yes. Export to JSON, CSV, Excel or XML, or connect Apify's integrations (webhooks, Zapier, Make, Google Drive) to send results anywhere.

#### Can I use the YouTube Channel Scraper with the Apify API?

Yes. Start runs and read results through the [Apify API](https://docs.apify.com/api/v2), or the Node.js and Python clients.

#### The YouTube Channel Scraper is not working?

Open an issue on the Issues tab or write to sleepmodesystems@proton.me; we answer fast. If it helped you, a review on the Store takes a minute and helps others find it.

#### Can I use the YouTube Channel Scraper through an MCP server?

Yes: `https://mcp.apify.com/?tools=sleepmodesystems/youtube-channel-scraper`. See the [API's MCP page](https://apify.com/sleepmodesystems/youtube-channel-scraper/api/mcp) and [the AI agents section](#how-do-you-use-the-youtube-channel-scraper-with-ai-agents-claude-chatgpt-cursor).

# Changelog

This Actor's version history is a separate document: https://apify.com/sleepmodesystems/youtube-channel-scraper/changelog.md

# Actor input Schema

## `startUrls` (type: `array`):

Channel links, @handles or channel ids (UC...), one per line: paste hundreds at once. Example: https://www.youtube.com/@TechWorldwithNana

## `creatorsOnly` (type: `boolean`):

One row per channel instead of its videos: subscribers, total views, video count, country, joined date, description, links, whether it lists a business email, avatar and banner. For channel lists and lead generation.

## `searchQueries` (type: `array`):

With Channels only: the channels behind the videos YouTube shows for these words, one row each. Example: home workout.

## `maxResults` (type: `integer`):

How many regular videos to return for each channel, newest first unless you choose another order. 0 = every video of the channel.

## `maxShorts` (type: `integer`):

How many Shorts to return for each channel, on top of the videos. 0 = none.

## `maxLive` (type: `integer`):

How many live streams (live now and past streams) to return for each channel. 0 = none.

## `dateFrom` (type: `string`):

Only videos published on or after this day: a date (2025-01-01) or a span back from today (30 days, 6 months, 2 years).

## `dateTo` (type: `string`):

Only videos published on or before this day. Together with the start date, this gives a window such as all of 2025.

## `sortBy` (type: `string`):

The order in which each channel's videos are read.

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

Results as YouTube shows them in this country (two letters: US, GB, DE, IN, BR...). Titles stay as their creators wrote them.

## `onlyNew` (type: `boolean`):

For scheduled runs: return only videos (or channels) that earlier runs with the same channels did not return.

## `monitorName` (type: `string`):

Optional. Runs with the same name share their list of videos already returned, even when you change the searches.

## `minItems` (type: `integer`):

For monitoring: mark the run as failed when it returns fewer rows than this. 0 = never.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.youtube.com/@TechWorldwithNana"
  ],
  "creatorsOnly": false,
  "maxResults": 20,
  "maxShorts": 0,
  "maxLive": 0,
  "sortBy": "newest",
  "country": "US",
  "onlyNew": false,
  "monitorName": "",
  "minItems": 0
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "startUrls": [
        "https://www.youtube.com/@TechWorldwithNana"
    ],
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("sleepmodesystems/youtube-channel-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 = {
    "startUrls": ["https://www.youtube.com/@TechWorldwithNana"],
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("sleepmodesystems/youtube-channel-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 '{
  "startUrls": [
    "https://www.youtube.com/@TechWorldwithNana"
  ],
  "maxResults": 20
}' |
apify call sleepmodesystems/youtube-channel-scraper --silent --output-dataset

```

## MCP server setup

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