# Youtube Channel Scraper V2 \[FAST] | Subs, Stats & Contact (`apizy/youtube-channel-scraper-v2`) Actor

Scrape YouTube channel subscribers, views, engagement rate, email, and social links — 2x faster than previous version. Transparent pay-per-success pricing — $0.005 per channel, only when it succeeds. Never charged for failures. 100 channels = $0.50. No subscriptions, no hidden fees.

- **URL**: https://apify.com/apizy/youtube-channel-scraper-v2.md
- **Developed by:** [Apizy](https://apify.com/apizy) (community)
- **Categories:** Social media, Lead generation, Videos
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## YouTube Channel Scraper — V2 (Faster)

Scrape any YouTube channel and get complete data — subscribers, engagement stats, contact info, and social links. Ready for lead generation, influencer outreach, and marketing automation.

We believe in full transparency! You're charged only when a channel is successfully scraped. No hidden attempts, no surprise costs. Exactly what you pay for, nothing more.

> **2x faster** than browser-based scrapers with lower blocking risk. You only pay for channels that return real data — failed or invalid URLs are completely free.

### ⚡ Why This Version

- **2x faster** — lightweight requests, no heavy browser rendering for main data
- **Fair pricing** — you're charged only when a channel is successfully scraped
- **Multi-layer fallback** — handles all YouTube URL formats reliably

### ⚙️ How It Works

Each channel is processed through a **3-stage intelligent extraction pipeline**:

1. **Identity & Audience** — channel name, handle, ID, verification status, subscriber count
2. **Content Activity** — recent videos, upload patterns, last upload date
3. **Channel Intelligence** — description, country, join date, lifetime views, contact links

> Engineered for stability and accuracy — significantly more resilient than traditional
> HTML scrapers.

### 📋 Input

```json
{
  "startUrls": [
    "https://www.youtube.com/@mkbhd",
    "https://www.youtube.com/@LinusTechTips",
    "https://www.youtube.com/channel/UCIEv3lZ_tNXHzL3ox-_uUGQ"
  ],
  "extractContactInfo": true
}
````

#### Input Fields

| Field                | Type    | Default | Description                                                                                      |
| -------------------- | ------- | ------- | ------------------------------------------------------------------------------------------------ |
| `startUrls`          | array   | —       | YouTube channel URLs **(required)**. Supports `/@handle`, `/channel/ID`, `/c/name`, `/user/name` |
| `extractContactInfo` | boolean | `true`  | Extract email and social links from channel page                                                 |

### 📦 Output

Each channel is saved as one item in the **Dataset**. Full run summary is saved to **Key-Value Store** (`OUTPUT`).

**JSON**

```json
{
  "channelName": "Marques Brownlee",
  "handle": "@mkbhd",
  "channelUrl": "https://www.youtube.com/@mkbhd",
  "channelId": "UCBJycsmduvYEL83R_U4JriQ",
  "isVerified": true,
  "country": "United States",
  "joinedDate": "2008-03-21",
  "description": "MKBHD: Quality Tech Videos | YouTuber | Geek | Consumer Electronics | Tech Head | Internet Personality!\n\nbusiness@MKBHD.com\n\nNYC",
  "stats": {
    "subscribers": 20900000,
    "totalVideos": 1811,
    "totalViews": 5327446410,
    "avgViewsPerVideo": 2941715,
    "estimatedMonthlyViews": 24710406,
    "uploadFrequencyPerMonth": 8.4,
    "engagementRate": 14.08,
    "lastUploadDate": "2026-03-30"
  },
  "contactInfo": {
    "email": "business@MKBHD.com",
    "instagram": "https://instagram.com/MKBHD",
    "twitter": "https://twitter.com/MKBHD",
    "tiktok": null,
    "facebook": null,
    "linkedin": null
  },
  "scrapedAt": "2026-03-31T13:12:21.407Z"
}
```

#### Output Fields

**Channel Identity**

| Field         | Description                           |
| ------------- | ------------------------------------- |
| `channelName` | Display name of the channel           |
| `handle`      | YouTube handle (e.g. `@mkbhd`)        |
| `channelUrl`  | Canonical channel URL                 |
| `channelId`   | YouTube internal channel ID           |
| `isVerified`  | Whether channel has a verified badge  |
| `country`     | Country set by channel owner          |
| `joinedDate`  | Date channel was created (YYYY-MM-DD) |
| `description` | Full channel description text         |

**Stats**

| Field                     | Description                                              |
| ------------------------- | -------------------------------------------------------- |
| `subscribers`             | Total subscriber count (normalized integer)              |
| `totalVideos`             | Total published videos (exact count)                     |
| `totalViews`              | All-time total views                                     |
| `avgViewsPerVideo`        | `totalViews / totalVideos`                               |
| `estimatedMonthlyViews`   | Estimated average monthly views                          |
| `uploadFrequencyPerMonth` | Average uploads per month since channel creation         |
| `engagementRate`          | `(avgViewsPerVideo / subscribers) × 100`, capped at 100% |
| `lastUploadDate`          | Date of most recent video (YYYY-MM-DD)                   |

**Contact Info** *(when `extractContactInfo: true`)*

| Field       | Description                       |
| ----------- | --------------------------------- |
| `email`     | Email extracted from channel page |
| `instagram` | Instagram profile URL             |
| `twitter`   | Twitter/X profile URL             |
| `tiktok`    | TikTok profile URL                |
| `facebook`  | Facebook page URL                 |
| `linkedin`  | LinkedIn profile URL              |

### 🧪 Sample Inputs

**Minimal**

```json
{
  "startUrls": ["https://www.youtube.com/@mkbhd"]
}
```

**Batch scrape with contact info**

```json
{
  "startUrls": [
    "https://www.youtube.com/@mkbhd",
    "https://www.youtube.com/@LinusTechTips",
    "https://www.youtube.com/@gordonramsay"
  ],
  "extractContactInfo": true
}
```

**Large batch (100+ channels)**

```json
{
  "startUrls": [
    "https://www.youtube.com/@mkbhd",
    "https://www.youtube.com/@LinusTechTips",
    "https://www.youtube.com/@MrBeast",
    "https://www.youtube.com/@veritasium",
    "... up to 100+ channels"
  ],
  "extractContactInfo": true
}
```

> For runs this size, set **No timeout** in Run options.

### 💰 Pricing

This actor uses **pay-per-event** pricing — you are only charged when a channel is **successfully scraped and returned with real data**.

> 💚 **Failed URLs, invalid links, and empty results are completely free.**

| Channels        | Cost   | Est. Duration |
| --------------- | ------ | ------------- |
| 10 channels     | $0.05  | ~1 min        |
| 100 channels    | $0.50  | ~7 min        |
| 500 channels    | $2.50  | ~35 min       |
| 1,000 channels  | $5.00  | ~70 min       |
| 10,000 channels | $50.00 | ~12 hrs       |

> **$0.005 per successfully scraped channel.**
> For runs over 100 channels, set **No timeout** in Run options.

### 🐢 Want the cheaper option?

If speed is not your top priority, check out **[YouTube Channel Scraper](https://apify.com/apizy/youtube-channel-scraper)** — the original version with the same output structure and transparent pay-per-success pricing at **$0.003/channel**.

### 📝 Notes

- **Works with any YouTube channel format** — handles @handle, /channel/ID, /c/name,
  and /user/name URLs without any preprocessing.
- **Exact counts, not estimates** — subscriber and video counts are returned as real integers (`20900000`), not rounded strings like "20M". Ready to sort, filter, and calculate without any preprocessing.
- **Contact info extraction is email-first** — email addresses are extracted directly from the channel page, making this immediately useful for outreach campaigns without additional enrichment tools.
- **Plug-and-play with automation tools** — output is structured JSON, directly compatible with Make, n8n, Zapier, and Google Sheets without transformation steps.
- **Invalid URLs are skipped gracefully** — unrecognized channel formats are logged and skipped without interrupting the run.
- **Supports large batches in a single run** — up to 100+ channels can be scraped in one run. For runs over 100 channels, set **No timeout** in Run options.

### 🔗 More Actors You Might Like

> Built by the same team and backed by the same transparent pricing philosophy — no hidden attempts, no wasted credits, no charge for failed results.

| Actor                                                                      | Description                                                                                                                        |
| -------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| [YouTube Channel Scraper](https://apify.com/apizy/youtube-channel-scraper) | The original version. Same output structure, lower price at **$0.003/successful channel**. Best when cost matters more than speed. |

### 🤝 Get in Touch

Have questions, need custom scraping solutions, or want to integrate with your existing stack? We're here to help!

- **Email:** [apizy.studio@gmail.com](mailto:[apizy.studio@gmail.com])

We build custom scraping solutions tailored to your specific needs — fast, reliable, and transparent.

# Actor input Schema

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

List of YouTube channel URLs or handles to scrape. Supports /@handle, /channel/ID, /c/name formats.

## `extractContactInfo` (type: `boolean`):

Extract emails, social links, and website from channel description.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.youtube.com/@mkbhd",
    "https://www.youtube.com/@LinusTechTips"
  ],
  "extractContactInfo": true
}
```

# Actor output Schema

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

Dataset containing enriched data per scraped YouTube channel.

## `output` (type: `string`):

Complete run output including summary and all channel results.

# 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/@mkbhd",
        "https://www.youtube.com/@LinusTechTips"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apizy/youtube-channel-scraper-v2").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/@mkbhd",
        "https://www.youtube.com/@LinusTechTips",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("apizy/youtube-channel-scraper-v2").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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/@mkbhd",
    "https://www.youtube.com/@LinusTechTips"
  ]
}' |
apify call apizy/youtube-channel-scraper-v2 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=apizy/youtube-channel-scraper-v2",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Youtube Channel Scraper V2 [FAST] | Subs, Stats & Contact",
        "description": "Scrape YouTube channel subscribers, views, engagement rate, email, and social links — 2x faster than previous version. Transparent pay-per-success pricing — $0.005 per channel, only when it succeeds. Never charged for failures. 100 channels = $0.50. No subscriptions, no hidden fees.",
        "version": "0.0",
        "x-build-id": "0RaRiHnThevR9dD09"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/apizy~youtube-channel-scraper-v2/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-apizy-youtube-channel-scraper-v2",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/apizy~youtube-channel-scraper-v2/runs": {
            "post": {
                "operationId": "runs-sync-apizy-youtube-channel-scraper-v2",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/apizy~youtube-channel-scraper-v2/run-sync": {
            "post": {
                "operationId": "run-sync-apizy-youtube-channel-scraper-v2",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Channel URLs",
                        "type": "array",
                        "description": "List of YouTube channel URLs or handles to scrape. Supports /@handle, /channel/ID, /c/name formats.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "extractContactInfo": {
                        "title": "Extract Contact Info",
                        "type": "boolean",
                        "description": "Extract emails, social links, and website from channel description.",
                        "default": true
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
