# YouTube Channel Scraper: Videos, Shorts, Views & Subscribers (`datadesk-io/youtube-channel-scraper`) Actor

Scrape all videos, Shorts or live streams of any YouTube channel: title, URL, views, duration, upload date, plus channel name, ID, handle, subscribers, video count and description. Bulk channels, new-video alerts, no API key. $1 per 1,000 videos.

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

## Pricing

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

## YouTube Channel Scraper: Videos, Shorts, Views & Subscribers

Export **all videos, Shorts or live streams of any YouTube channel**, newest first: **video title, URL, views, duration, upload date, thumbnail and position**, plus **channel name, @handle, channel ID, subscriber count, total videos, description, keywords and verified badge** on every row. Paste **many channels** (URLs, @handles or IDs), choose how deep to go, and schedule **new-upload alerts** for competitor channels. No YouTube API key, no quota, no login. **$1 per 1,000 videos.**

### Try it now (one click)

1. Click **Start**. The prefilled input reads 2 channels (MKBHD and Veritasium, 20 latest videos each). In our latest check (Nov 16, 2026) it returned **40 videos in about 2 seconds**. An empty input runs a small demo too.
2. Paste channel URLs, @handles or channel IDs (one per line), pick Videos / Shorts / Live and the max videos per channel.
3. Download the results as CSV, Excel or JSON, or get them via API, webhooks, Make or Zapier.

**Price example:** 100 videos = **$0.105**, 1,000 videos = **$1.005** ($1.00 per 1,000 videos + $0.005 per run). Silver and Gold plan users pay 10% and 20% less per video. Apify's free plan includes $5 of usage every month, enough for about 4,995 videos. Runs that find nothing are not charged.

#### Sample of real results

*Real rows from a local test run on Nov 16, 2026 (some columns). Each video also includes the other fields listed below.*

| Channel | Subscribers | # | Title | Views | Duration | Published |
|---|---|---|---|---|---|---|
| Marques Brownlee | 21,400,000 | 1 | Macbook PROLED Review: It's Not About That | 6,000,000 | 15:14 | 5 days ago |
| Marques Brownlee | 21,400,000 | 2 | Meta VR Glasses: What Vision Pro 2 COULD Have … | 7,600,000 | 8:01 | 10 days ago |
| Marques Brownlee | 21,400,000 | 3 | OLED iPad Mini is The Most Apple Product They'… | 12,000,000 | 13:00 | 13 days ago |
| Marques Brownlee | 21,400,000 | 4 | Macbook PROLED XDR Impressions: They Said They… | 12,000,000 | 10:54 | 2 weeks ago |

### What you get

| Field group | Fields |
|---|---|
| Video | video ID, URL, title, thumbnail, position (1 = newest) |
| Stats | views, duration (text and seconds), live and Short flags |
| Date | published time as shown + approximate ISO date |
| Channel | name, @handle, ID, URL, subscribers, total videos, description, keywords, verified |

### Why this Actor

- **Whole channels, not just 15 RSS items:** pages through the full Videos, Shorts or Live tab.
- **Channel stats on every row:** subscribers and video count ready for influencer lists.
- **Cheaper:** $1 per 1,000 videos vs $4+ per 1,000 for popular YouTube scrapers.
- **Alerts:** schedule it to get only new uploads from a list of channels.

### How to use it

1. Click **Try for free** (or **Start**): the prefilled input runs a quick test.
2. Paste channel URLs, @handles or channel IDs (one per line), pick Videos / Shorts / Live and the max videos per channel.
3. Click **Start** and wait a few seconds.
4. Open the **Output** tab and export as **JSON, CSV, Excel, XML or HTML**, or read the dataset via API.

### Input examples

**Two channels, 20 latest videos each:**

```json
{"channelUrls": ["https://www.youtube.com/@mkbhd", "@veritasium"], "maxVideosPerChannel": 20}
```

**Full channel export:**

```json
{"channelUrls": ["https://www.youtube.com/@veritasium"], "maxVideosPerChannel": 5000}
```

**Latest Shorts by channel ID:**

```json
{"channelUrls": ["UCBJycsmduvYEL83R_U4JriQ"], "contentType": "shorts", "maxVideosPerChannel": 100}
```

**Daily new-upload alert for competitors:**

```json
{"channelUrls": ["@mkbhd", "@LinusTechTips"], "maxVideosPerChannel": 30, "onlyNewVideos": true, "alertsKey": "competitors"}
```

#### Input fields

| Field | Type | Description |
|---|---|---|
| `channelUrls` | array | Channel URLs, @handles or channel IDs, one per line, e.g. https://www.youtube.com/@mkbhd, @veritasium or UCBJycsmduvYEL83R_U4JriQ. Leave empty for a demo channel. |
| `contentType` | string | Which channel tab to scrape. Videos are listed newest first. |
| `maxVideosPerChannel` | integer | How many videos (newest first) to save per channel (hard cap on cost). Use a high number to export a full channel. |
| `onlyNewVideos` | boolean | Return only videos not seen in previous runs with the same alerts key. Schedule daily to get new uploads of competitor channels. |
| `alertsKey` | string | Name for this alert memory (use a different key per channel list). |

### Output example

*Example record from a local test run (long lists shortened).*

```json
{
  "title": "Macbook PROLED Review: It's Not About That",
  "viewCount": 6000000,
  "duration": "15:14",
  "durationSeconds": 914,
  "publishedTimeText": "5 days ago",
  "publishedAtApprox": "2026-11-11T23:23:59+00:00",
  "isLive": false,
  "videoId": "hdMszZ2ah5Q",
  "url": "https://www.youtube.com/watch?v=hdMszZ2ah5Q",
  "channelName": "Marques Brownlee",
  "channelId": "UCBJycsmduvYEL83R_U4JriQ",
  "channelUrl": "https://www.youtube.com/@mkbhd",
  "thumbnailUrl": "https://i.ytimg.com/vi/hdMszZ2ah5Q/hqdefault.jpg",
  "channelHandle": "@mkbhd",
  "channelSubscribers": 21400000,
  "channelSubscribersText": "21.4M subscribers",
  "channelVideoCount": 1800,
  "channelDescription": "MKBHD: Quality Tech Videos | YouTuber | Geek | Consumer Electronics | Tech Head | Internet Personality!\n\nbusiness@MKBHD.…",
  "channelKeywords": "MKBHD MarquesBrownlee Marques Brownlee",
  "channelVerified": true,
  "position": 1,
  "contentType": "videos",
  "isShort": false,
  "source": "youtube.com channel",
  "scrapedAt": "2026-11-16T23:23:59.391947+00:00",
  "isNew": false
}
```

#### Output fields

| Field | Description |
|---|---|
| `channelName` | Channel name |
| `channelHandle` | Channel @handle |
| `channelId` | YouTube channel ID (UC...) |
| `channelUrl` | Link to the channel |
| `channelSubscribers` | Subscriber count (rounded as shown by YouTube, e.g. 21.4M -> 21400000) |
| `channelSubscribersText` | Subscriber text as shown, e.g. 21.4M subscribers |
| `channelVideoCount` | Total videos on the channel (rounded as shown) |
| `channelDescription` | Channel "About" description (may include business email or links) |
| `channelKeywords` | Channel keywords set by the owner |
| `channelVerified` | True if the channel has the verified badge |
| `position` | Position on the channel tab (1 = newest) |
| `contentType` | Tab scraped: videos, shorts or streams |
| `videoId` | YouTube video ID (11 characters) |
| `url` | Link to the video or Short |
| `title` | Video title |
| `viewCount` | View count (rounded as shown on the channel page) |
| `duration` | Video length as shown, e.g. 12:34 |
| `durationSeconds` | Video length in seconds |
| `publishedTimeText` | Upload time as YouTube shows it, e.g. 5 days ago |
| `publishedAtApprox` | Approximate upload date (UTC) computed from the relative time |
| `isLive` | True if the video is live right now |
| `isShort` | True for YouTube Shorts |
| `thumbnailUrl` | Thumbnail image URL |
| `source` | Data source |
| `isNew` | True if not seen in earlier runs with the same alerts key (alerts mode) |
| `scrapedAt` | When this record was collected (UTC) |

### Pricing

Pay-per-event: **$0.005** once per run that saves results + **$0.001 per video** ($1.00 / 1,000). Runs that save nothing are not charged.

| Videos saved | Approx. cost |
|---|---|
| 20 | $0.025 |
| 100 | $0.105 |
| 1,000 | $1.005 |
| 10,000 | $10.005 |

### Use cases

- Influencer research: subscribers, upload frequency and views per video
- Competitor monitoring: get every new upload from rival channels
- Content analysis: which topics and lengths get the most views
- Archive or audit your own channel
- Feed video lists into our YouTube Comments Scraper

### Integrations / API

Works with the Apify API, Schedules, webhooks, Make, Zapier, n8n and MCP. Example:

```bash
curl "https://api.apify.com/v2/acts/datadesk-io~youtube-channel-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"channelUrls": ["https://www.youtube.com/@mkbhd", "@veritasium"], "maxVideosPerChannel": 20}'
```

Python:

```python
from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("datadesk-io/youtube-channel-scraper").call(run_input={"channelUrls": ["https://www.youtube.com/@mkbhd", "@veritasium"], "maxVideosPerChannel": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### MCP

Use this Actor from an MCP client (Cursor, Claude Desktop, etc.) through the Apify MCP server (`datadesk-io/youtube-channel-scraper`).

### Alerts mode

Turn on **Only new videos** and schedule the Actor daily: each run returns only videos not seen in earlier runs with the same alerts key (nothing is charged when there is nothing new).

### FAQ

**Do I need a YouTube API key?** No. The Actor reads the public channel pages directly.

**Which channel URL formats work?** @handles, youtube.com/@handle, /channel/UC…, /c/name and /user/name URLs, or the bare UC… channel ID.

**Are views exact?** Channel pages show rounded views (e.g. 6M); we convert them to numbers. For exact counts use our YouTube Search Scraper.

**Can I get Shorts and live streams?** Yes: set Content type to Shorts or Live streams.

### Limitations

- Views and subscriber counts are rounded as YouTube shows them on channel pages.
- Shorts rows have title, views and URL only (YouTube shows no duration or date on the Shorts tab).
- Upload dates are relative ("5 days ago"); publishedAtApprox is computed from them.
- Members-only, private and deleted videos are not listed.

### Start now

Click **Start** to run the prefilled example, then adjust the input. Missing a field or filter? Open an issue on the **Issues** tab and tell us what you need.

### Support

Questions, bugs or a missing field? Email **datadesk.io@proton.me** or open an issue on the Actor page.

***

**ES:** Exporta todos los videos, Shorts o directos de canales de YouTube con vistas, duración y fecha, más suscriptores y datos del canal. **$1 / 1.000 videos.**
**PT:** Exporte todos os vídeos, Shorts ou lives de canais do YouTube com visualizações, duração e data, além de inscritos e dados do canal. **$1 / 1.000 vídeos.**

# Actor input Schema

## `channelUrls` (type: `array`):

Channel URLs, @handles or channel IDs, one per line, e.g. https://www.youtube.com/@mkbhd, @veritasium or UCBJycsmduvYEL83R_U4JriQ. Leave empty for a demo channel.

## `contentType` (type: `string`):

Which channel tab to scrape. Videos are listed newest first.

## `maxVideosPerChannel` (type: `integer`):

How many videos (newest first) to save per channel (hard cap on cost). Use a high number to export a full channel.

## `onlyNewVideos` (type: `boolean`):

Return only videos not seen in previous runs with the same alerts key. Schedule daily to get new uploads of competitor channels.

## `alertsKey` (type: `string`):

Name for this alert memory (use a different key per channel list).

## Actor input object example

```json
{
  "channelUrls": [
    "https://www.youtube.com/@mkbhd",
    "@veritasium"
  ],
  "contentType": "videos",
  "maxVideosPerChannel": 200,
  "onlyNewVideos": false
}
```

# Actor output Schema

## `results` (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 = {
    "channelUrls": [
        "https://www.youtube.com/@mkbhd",
        "@veritasium"
    ],
    "maxVideosPerChannel": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("datadesk-io/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 = {
    "channelUrls": [
        "https://www.youtube.com/@mkbhd",
        "@veritasium",
    ],
    "maxVideosPerChannel": 20,
}

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

```

## MCP server setup

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