# YouTube Channel Scraper - Subscribers, Emails, Links & Stats (`cancap/youtube-channel-scraper`) Actor

Get any YouTube channel's subscribers, total views, videos, country, join date, public emails, website and social links, plus real reach from recent uploads. Find influencers by keyword and filter by subscribers. No API key. Pay per channel.

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

## Pricing

from $3.00 / 1,000 channels

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

### What does YouTube Channel Scraper do?

**YouTube Channel Scraper** gets the full profile of any YouTube channel, or finds channels about any topic, and gives you one clean row per channel:

- 📊 **Audience**: subscribers, total views, number of videos, join date, country, verified badge.
- 📧 **Contacts**: public emails from the channel description and links, website, Instagram, TikTok, X/Twitter, Facebook, LinkedIn, Twitch, Discord and Patreon links.
- 📈 **Real reach**: average and median views of the latest videos, uploads per month and the date of the last upload, so you can spot inactive channels or inflated subscriber counts.
- 🔎 **Influencer discovery**: type a keyword like "home workout" or "crypto news" and get the matching channels with all details.
- ⚡ No YouTube API key, no quota, no browser. Fast and cheap.

### Who uses it?

- **Influencer marketing and agencies**: build creator lists with contacts and real view numbers.
- **Brands and sponsors**: check a creator's reach and activity before paying for a sponsorship.
- **Sales and lead generation**: find creators and businesses in a niche with their website and socials.
- **Researchers**: track channel growth over time by scheduling the scraper.

### How to use it

1. Paste channel links or @handles into **Channels**, and/or add keywords in **Find channels by keyword**.
2. Optional: set **Min / Max subscribers** (for example 10,000 to 200,000 for micro-influencers) or **Only channels with a public email**.
3. Click **Start** and export to CSV, Excel, JSON or Google Sheets, or use the API.

### Input example

```json
{
  "searchQueries": ["home workout", "vegan recipes"],
  "maxChannelsPerSearch": 50,
  "minSubscribers": 10000,
  "maxSubscribers": 500000,
  "onlyWithEmail": true
}
```

### Output example

```json
{
  "channelName": "Marques Brownlee",
  "handle": "@mkbhd",
  "channelUrl": "https://www.youtube.com/@mkbhd",
  "channelId": "UCBJycsmduvYEL83R_U4JriQ",
  "subscribers": 21400000,
  "totalViews": 4950000000,
  "videoCount": 1800,
  "joinedDate": "Mar 21, 2008",
  "country": "United States",
  "verified": true,
  "emails": ["business@mkbhd.com"],
  "website": "https://mkbhd.com",
  "instagram": "https://instagram.com/mkbhd",
  "twitter": "https://twitter.com/mkbhd",
  "recentAvgViews": 3100000,
  "recentMedianViews": 2700000,
  "uploadsPerMonth": 6.5,
  "lastUploadTitle": "Can You Trust MKBHD?",
  "lastUploadText": "4 days ago",
  "recentVideos": [{ "title": "Can You Trust MKBHD?", "views": 3700000, "publishedText": "4 days ago" }]
}
```

### How much does it cost?

**$3 per 1,000 channels** (0.3 cents per channel), plus a tiny platform start fee. Channels removed by your filters are free. The free Apify plan's $5 monthly credit covers about 1,600 channels.

### FAQ

**Does it get the hidden business email?** No. YouTube only shows the "View email address" button to signed-in users with a captcha. The scraper returns emails that the creator publishes in the description or links, and tells you in `hasBusinessEmail` whether a hidden one exists.

**Are views and dates exact?** Subscriber and view counts are what YouTube shows (rounded for big channels, like 21.4M). Upload dates of recent videos are converted from "3 days ago" style text.

**Need videos or comments too?** Use [YouTube Scraper](https://apify.com/cancap/youtube-scraper) for all videos of a channel or a search, and [YouTube Comments Scraper](https://apify.com/cancap/youtube-comments-scraper) for comments.

**Is it legal?** The scraper only reads public channel pages. When you process personal data such as emails, follow privacy laws like GDPR and YouTube's terms.

Questions or ideas? Open an issue in the **Issues** tab.

# Actor input Schema

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

Channel links, @handles or channel IDs, for example https://www.youtube.com/@mkbhd, @mkbhd or UCBJycsmduvYEL83R_U4JriQ.

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

Discover channels about a topic, for example 'fitness coach' or 'crypto news'. Each found channel gets full details.

## `maxChannelsPerSearch` (type: `integer`):

How many channels to take from each keyword search.

## `includeRecentVideos` (type: `boolean`):

Average and median views of the latest videos, upload frequency and last upload date. Great for judging real reach.

## `minSubscribers` (type: `integer`):

Skip smaller channels. Skipped channels are free. 0 = no limit.

## `maxSubscribers` (type: `integer`):

Skip bigger channels, useful to find micro-influencers. 0 = no limit.

## `onlyWithEmail` (type: `boolean`):

Keep only channels that publish an email address in their description or links.

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

Interface language code, for example en.

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

Two-letter country code for search results, for example US, GB, IN.

## `proxy` (type: `object`):

Used only if YouTube blocks a request.

## Actor input object example

```json
{
  "channelUrls": [
    "@mkbhd"
  ],
  "maxChannelsPerSearch": 20,
  "includeRecentVideos": true,
  "minSubscribers": 0,
  "maxSubscribers": 0,
  "onlyWithEmail": false,
  "language": "en",
  "country": "US",
  "proxy": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `channels` (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": [
        "@mkbhd"
    ],
    "proxy": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("cancap/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": ["@mkbhd"],
    "proxy": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("cancap/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": [
    "@mkbhd"
  ],
  "proxy": {
    "useApifyProxy": true
  }
}' |
apify call cancap/youtube-channel-scraper --silent --output-dataset

```

## MCP server setup

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