# YouTube Channel Scraper: Subscribers, Emails & Videos (`automatic/youtube-channel-scraper`) Actor

YouTube channel profiles: subscribers, total views, video count, join date, country, links and emails from the description, plus latest, popular or oldest videos, Shorts and live streams.

- **URL**: https://apify.com/automatic/youtube-channel-scraper.md
- **Developed by:** [Philip Kirkbride](https://apify.com/automatic) (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 $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

Turn a list of YouTube channels into a clean spreadsheet: subscribers, total views, video count, join date, country, verified badge, description, the emails and links creators publish, avatar and banner. Add each channel's latest, most popular or oldest videos, its Shorts and its live streams in the same run.

### What you get

- **One profile row per channel**: name, handle, channel ID, subscribers, total views, video count, joined date, country, verified badge, full description, emails printed in the description, external links (Instagram, X, websites), keywords, avatar and banner.
- **Optional video rows** from the Videos, Shorts and Live tabs: title, views, duration, upload age, thumbnail and which tab it came from. Streams that are live right now are marked `isLive`.
- **Your order and date range**: latest, most popular or oldest first, and only videos published after a date such as `2026-10-01` or `30 days`.
- **Paste channels the way you have them**: channel links, @handles, UC… IDs, tab links such as `/@mkbhd/shorts`, or the `startUrls` list you already use with other YouTube scrapers.
- No login, API key or quota. Export JSON, CSV or Excel, or connect through the API.

### Use cases

- **Creator and influencer research**: compare audience size, total views and posting volume across channels.
- **Outreach lists**: business emails and social links that creators show on their channel.
- **Competitor content**: a channel's most popular videos, its newest uploads and how much it streams or posts Shorts.
- **Tracking**: schedule the run to follow subscriber and view growth over time.

### Also available

The YouTube suite: pick the job.

| Actor | Use when |
|---|---|
| **YouTube Channel Scraper (this Actor)** | Channel profiles, emails, links and latest videos |
| [YouTube Scraper](https://apify.com/automatic/youtube-scraper) | Videos, channels, search results and comments |
| [YouTube Transcripts](https://apify.com/automatic/youtube-transcripts-scraper) | Bulk transcripts as text, SRT or VTT |
| [YouTube Outlier Finder](https://apify.com/automatic/youtube-outlier-finder) | Breakout videos that beat their channel median |

### Input

The Console prefill collects two channel profiles plus each channel's 4 latest uploads (10 rows):

```json
{
  "channelUrls": [
    "https://www.youtube.com/@mkbhd",
    "https://www.youtube.com/@veritasium"
  ],
  "maxVideos": 4,
  "maxItems": 10
}
```

Most popular videos from the last six months, plus Shorts and streams:

```json
{
  "channelUrls": ["@mkbhd", "UCHnyfMqiRRG1u-2MsSQLbXA"],
  "maxVideos": 20,
  "maxShorts": 10,
  "maxStreams": 5,
  "channelSort": "popular",
  "publishedAfter": "6 months"
}
```

Switching from another YouTube channel scraper? Paste your usual input: `startUrls` (plain links or `{"url": "…"}` objects), `youtubeHandles`, `maxResults`, `maxResultsShorts`, `maxResultStreams`, `sortVideosBy` (`NEWEST`, `POPULAR`, `OLDEST`) and `oldestPostDate` are understood.

### Input options

| Input | Default | What it controls |
| --- | --- | --- |
| `channelUrls` | `"empty: sample"` | Public channels, for example https://www.youtube.com/@mkbhd, @mkbhd or UCBJycsmduvYEL83R_U4JriQ. Each gives one profile row. Empty sources run the announced sample. |
| `startUrls` | — | The same channels in the common `startUrls` format. A `/shorts` or `/streams` tab link collects that tab only. |
| `maxVideos` | `0` | Uploads from each channel's Videos tab as separate rows, for example 10. Zero returns profiles only. |
| `maxShorts` | `0` | Shorts per channel from its Shorts tab. Zero skips Shorts. |
| `maxStreams` | `0` | Past and current live streams per channel from its Live tab. Zero skips streams. |
| `channelSort` | `"latest"` | `latest`, `popular` or `oldest`, as on the channel's own tabs. |
| `publishedAfter` | — | Only videos and streams published on or after a date (`2026-10-01`) or a relative value (`30 days`, `6 months`). |
| `maxItems` | `100` | Hard cap across all sources and row types, for example 200. Duplicates count once. |

Channel profiles are `type: "channel"`; videos, Shorts and streams are separate `type: "video"` rows with `channelTab` set to `videos`, `shorts` or `streams`. `detailsComplete` reports whether the public About details were collected.

### Output example

This real public channel record was collected on 2026-11-14.

```json
{
  "type": "channel",
  "input": "https://www.youtube.com/@mkbhd",
  "scrapedAt": "2026-11-14T23:41:04Z",
  "id": "UCBJycsmduvYEL83R_U4JriQ",
  "url": "https://www.youtube.com/@mkbhd",
  "name": "Marques Brownlee",
  "handle": "@mkbhd",
  "description": "MKBHD: Quality Tech Videos | YouTuber | Geek | Consumer Electronics | Tech Head | Internet Personality!\n\nbusiness@MKBHD.com\n\nNYC",
  "emails": [
    "business@MKBHD.com"
  ],
  "country": "United States",
  "avatarUrl": "https://yt3.googleusercontent.com/qu4TmIaYUlS41-dJ9gZ7DUR3nilvmB5_11i6OKSdvNnBNiyOusZP1bMN6ICnuxtjFBb6ioKgRQ=s900-c-k-c0x00ffffff-no-rj",
  "bannerUrl": "https://yt3.googleusercontent.com/zi_48HwHU4s0Hnb6tZuvRzTfCPHrLEnrtIMDLzMauDEyDmURh9JZ4wrNd3lKr7m9uVnT4YjYKw=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
  "title": null,
  "publishedText": null,
  "channelId": null,
  "channelName": null,
  "channelHandle": null,
  "thumbnail": null,
  "subscribers": 21400000,
  "videoCount": 1866,
  "views": 5899504068,
  "likes": null,
  "comments": null,
  "duration": null,
  "joinedAt": "2008-03-21T00:00:00Z",
  "publishedAt": null,
  "channelTab": null,
  "isShort": null,
  "isLive": null,
  "links": [
    "https://twitter.com/MKBHD",
    "https://instagram.com/MKBHD",
    "https://youtube.com/c/TheStudio",
    "https://reddit.com/r/MKBHD",
    "https://discord.gg/MKBHD"
  ],
  "keywords": [
    "MKBHD",
    "MarquesBrownlee",
    "Marques",
    "Brownlee"
  ],
  "verified": true,
  "detailsComplete": true
}
```

### Pricing

**$0.002 per delivered row ($2.00 per 1,000) plus $0.005 per run start.** The start fee is charged per GB of memory at startup (rounded up, minimum one GB); the default 512 MB run is one start event. Failed inputs produce no result rows.

| Example | Results | Cost |
| --- | ---: | ---: |
| Console prefill | 10 | $0.025 |
| 100 results | 100 | $0.205 |
| 1,000 results | 1,000 | $2.005 |

All examples use the default 512 MB memory.

### Good to know

- Public data visible without signing in only. Emails are the ones written in the channel description; the About page's "View email address" button needs a signed-in account and is not used. Unavailable channels appear in `OUTPUT.errors`; valid channels continue, and the status reports partial results.
- Up to 50 listing pages per tab (about 1,500 videos); with `publishedAfter` up to 200 pages are scanned. Availability varies, and large runs may stop early with partial results. This is not a complete historical archive.
- Counts can be rounded or hidden. Upload dates on listings are relative ("3 weeks ago"): `publishedAt` stays `null` and `publishedAfter` drops a video only when its shown age is certainly older than the cutoff, so one just past the cutoff can be kept (a video shown as "1 month ago" counts as at least 4 weeks old). Shorts show no upload date and are kept. `OUTPUT.publishedAfter` reports the cutoff and how many videos were skipped.
- A channel without a Shorts or Live tab is noted in `OUTPUT.notices`; its profile and other rows are still delivered. A sort order YouTube does not offer on a tab falls back to latest, with a notice.
- Up to 100 source entries per run. Empty lists use the same small sample as `{}`; whitespace-only or malformed entries are skipped and reported. Duplicates count once per run. Scheduled runs collect the input again; saved-state deduplication is not supported.
- A video, playlist or search link pasted as a channel is skipped with a clear note in `OUTPUT.errors` and is not charged. If no input could be collected (all missing, unavailable or skipped), the run still finishes successfully with `OUTPUT.status: "no_results"` and a status message that says why.
- Input fields this Actor does not use, including connection settings, are listed in `OUTPUT.notices` and in the status message instead of failing the run. The Actor always uses its own standard connection.

This product is independent of YouTube and is not endorsed by it.

# Actor input Schema

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

Public channels, for example https://www.youtube.com/@mkbhd, @mkbhd or UCBJycsmduvYEL83R_U4JriQ. Each gives one profile row. Empty sources run the announced sample. Up to 100 sources total; each entry is at most 2048 characters.

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

The common startUrls input format from other YouTube Actors: plain links or {"url": "…"} objects, for example \[{"url": "https://www.youtube.com/@mkbhd"}]. A /shorts or /streams tab link collects that tab only. Combined with the list above, duplicates removed.

## `maxVideos` (type: `integer`):

Uploads from each channel's Videos tab as separate rows, for example 10. Zero returns channel profiles only. All rows also count toward Maximum total rows. Empty uses 0.

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

Also collect each channel's Shorts tab, for example 10. Zero skips Shorts. Empty uses 0.

## `maxStreams` (type: `integer`):

Also collect each channel's Live tab: past streams and any stream that is live now (isLive true), for example 5. Zero skips streams. Empty uses 0.

## `channelSort` (type: `string`):

Which videos come first, as on the channel's own tabs. Empty uses latest.

## `publishedAfter` (type: `string`):

Only videos and streams published on or after this date: 2026-10-01, or a relative value such as 30 days or 6 months. Based on the upload age YouTube shows ("3 weeks ago"): a video is dropped only when it is certainly older, so one just past the cutoff can be kept. Shorts show no date and are kept.

## `maxItems` (type: `integer`):

Hard cap across all sources and row types, for example 200. Duplicates count once.

## Actor input object example

```json
{
  "channelUrls": [
    "https://www.youtube.com/@mkbhd",
    "https://www.youtube.com/@veritasium"
  ],
  "maxVideos": 4,
  "maxItems": 10
}
```

# 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 = {
    "channelUrls": [
        "https://www.youtube.com/@mkbhd",
        "https://www.youtube.com/@veritasium"
    ],
    "maxVideos": 4,
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("automatic/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",
        "https://www.youtube.com/@veritasium",
    ],
    "maxVideos": 4,
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("automatic/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",
    "https://www.youtube.com/@veritasium"
  ],
  "maxVideos": 4,
  "maxItems": 10
}' |
apify call automatic/youtube-channel-scraper --silent --output-dataset

```

## MCP server setup

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