# YouTube Channel Scraper (subscribers, emails, links, stats) (`tamnt67/youtube-channel-scraper`) Actor

YouTube channel scraper: subscribers, total views, video count, joined date, country, emails in the description, social links and latest videos. Takes YouTube channel URLs, @handles, channel IDs or keywords, no API key. Use it to find YouTube influencers and their contact emails.

- **URL**: https://apify.com/tamnt67/youtube-channel-scraper.md
- **Developed by:** [Tam Ng.](https://apify.com/tamnt67) (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 $1.25 / 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.
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 (subscribers, emails, links, stats)

Get complete YouTube channel profiles by URL, @handle, channel ID or keyword search with no login and no API key, for $2.50 per 1,000 channels on the Free plan, down to $1.25 on higher plans.

Each record has subscribers, total views, video count, joined date, country, description, emails written in the description, social links, avatar, banner, keywords, verified flag and, optionally, the latest videos with their average views. There is no YouTube Data API quota.

### What you can do with it

- **Discover influencers in a niche.** Search channels by keyword and get subscribers, average recent views and contact links in one run.
- **Vet creators before a sponsorship.** Compare `subscriberCount` with `recentVideosAvgViews` to see whether a channel's audience still watches.
- **Build creator outreach lists.** Collect `emails`, `links` and `hasBusinessEmail` for channels in your market.
- **Benchmark competitors.** Track subscribers, views and video count of rival channels.
- **Monitor activity.** Use `latestVideoPublished` and `recentVideos` to see how each upload performs.
- **Feed your own tools.** Send channel data to Google Sheets, a CRM or an AI agent.

### Output fields

Example values come from a real run on `@mkbhd`.

| Field | Example |
|-------|---------|
| `channelId` / `handle` / `url` / `canonicalUrl` | UCBJycsmduvYEL83R_U4JriQ / @mkbhd / https://www.youtube.com/@mkbhd (both) |
| `title` | Marques Brownlee |
| `description` | full About text |
| `emails` | \["business@MKBHD.com"] (emails written in the description) |
| `hasBusinessEmail` | true when the channel offers a business email behind sign-in |
| `links` | \[{ "title": "Twitter", "url": "http://twitter.com/MKBHD" }, ...] |
| `subscriberCount` / `subscriberCountText` | 21400000 / "21.4M subscribers" |
| `viewCount` / `viewCountText` | 5870810642 / "5,870,810,642 views" |
| `videoCount` / `videoCountText` | 1864 / "1,864 videos" |
| `joinedDate` / `joinedDateText` | 2008-03-21 / "Mar 21, 2008" |
| `country` | United States |
| `isVerified` / `isArtist` / `isFamilySafe` | true / false / true |
| `keywords` | "MKBHD MarquesBrownlee Marques Brownlee" |
| `avatar` / `banner` / `rssUrl` / `availableCountryCodesCount` | image URLs / RSS feed URL / 249 |
| `recentVideos` | latest N videos: `videoId`, `url`, `title`, `viewCount`, `publishedTimeText`, `duration`, `thumbnail` |
| `recentVideosAvgViews` / `latestVideoPublished` | 11120000 / "1 day ago" |
| `latestVideoPublishedAtApprox` | 2026-11-22T09:00:00.000Z (from "1 day ago", approximate) |
| `recentShorts` | only with **Recent Shorts per channel**: `videoId`, `url`, `title`, `viewCount`, `thumbnail` |
| `recentStreams` | only with **Recent live streams per channel**: same fields as `recentVideos` |
| `query` / `scrapedAt` | @mkbhd (the input or search keyword that produced the record) / ISO timestamp |

Download results as JSON, CSV, Excel or XML, or through the API.

### Example output

One real record from a run on `@mkbhd` with recent videos on (image URLs, links and the video list are shortened):

```json
{
  "channelId": "UCBJycsmduvYEL83R_U4JriQ",
  "title": "Marques Brownlee",
  "handle": "@mkbhd",
  "url": "https://www.youtube.com/@mkbhd",
  "subscriberCount": 21400000,
  "subscriberCountText": "21.4M subscribers",
  "videoCount": 1864,
  "videoCountText": "1,864 videos",
  "description": "MKBHD: Quality Tech Videos | YouTuber | Geek | Consumer Electronics | Tech Head | Internet Personality!\n\nbusiness@MKBHD.com\n\nNYC",
  "keywords": "MKBHD MarquesBrownlee Marques Brownlee",
  "isFamilySafe": true,
  "isVerified": true,
  "isArtist": false,
  "avatar": "https://yt3.googleusercontent.com/qu4TmIaYUlS41-dJ9gZ7DUR3nilvmB5_11i6OKSdvNnBNiyOusZP1bMN6ICnuxtjFBb6ioKgRQ=s900-c-k-c0x00ffffff-no-rj",
  "banner": "https://yt3.googleusercontent.com/zi_48HwHU4s0Hnb6tZuvRzTfCPHrLEnrtIMDLzMauDEyDmURh9JZ4wrNd3lKr7m9uVnT4YjYKw=w2560-...",
  "rssUrl": "https://www.youtube.com/feeds/videos.xml?channel_id=UCBJycsmduvYEL83R_U4JriQ",
  "availableCountryCodesCount": 249,
  "country": "United States",
  "viewCount": 5870810642,
  "viewCountText": "5,870,810,642 views",
  "joinedDate": "2008-03-21",
  "joinedDateText": "Mar 21, 2008",
  "links": [
    { "title": "Twitter", "url": "http://twitter.com/MKBHD" },
    { "title": "Instagram", "url": "http://instagram.com/MKBHD" },
    "..."
  ],
  "emails": ["business@MKBHD.com"],
  "hasBusinessEmail": true,
  "canonicalUrl": "https://www.youtube.com/@mkbhd",
  "recentVideos": [
    {
      "videoId": "g6Die8gVFn0",
      "url": "https://www.youtube.com/watch?v=g6Die8gVFn0",
      "title": "OLED iPad Mini is The Most Apple Product They've Ever Appled",
      "viewCount": 8600000,
      "publishedTimeText": "1 day ago",
      "duration": "13:00",
      "thumbnail": "https://i.ytimg.com/vi/g6Die8gVFn0/hq720.jpg?..."
    },
    "..."
  ],
  "recentVideosAvgViews": 11120000,
  "latestVideoPublished": "1 day ago",
  "query": "@mkbhd",
  "scrapedAt": "2026-11-05T13:35:34.822Z"
}
```

### How to use

1. Paste channels into **Channels** in any form: `https://www.youtube.com/@mkbhd`, `@mkbhd`, `mkbhd`, `https://www.youtube.com/channel/UC...`, `/c/...` or `/user/...` URLs, or a bare channel ID. Or type keywords into **Find channels by keyword** and set **Max channels per keyword** to discover channels in a niche. You can use both.
2. Set **Recent videos per channel** (for example 10) to get the latest uploads and their average views. Optionally set the **interface language** and the **country** used for keyword search results.
3. Optionally narrow the list with the filters: minimum/maximum subscribers, minimum/maximum videos, verified only, business-email button only, channel countries, joined date range, uploaded within N days, excluded channels and a total limit (**Max channels in total**). Channels that do not pass are not saved and not charged.
4. Click **Start**. Channels appear in the dataset in batches.

#### Example input

```json
{
  "channels": ["@mkbhd", "https://www.youtube.com/@veritasium"],
  "searchQueries": ["home workout", "tech reviews"],
  "maxChannelsPerQuery": 50,
  "recentVideosCount": 10,
  "recentVideosSort": "newest",
  "recentShortsCount": 0,
  "recentStreamsCount": 0,
  "searchSortBy": "relevance",
  "findChannelsVia": "channelSearch",
  "minSubscribers": 10000,
  "maxSubscribers": 500000,
  "channelCountries": ["US", "GB"],
  "activeWithinDays": 30,
  "language": "en",
  "country": "US",
  "proxyConfiguration": { "useApifyProxy": true }
}
```

Tips:

- Total views and video counts are exact; subscriber counts are rounded as YouTube shows them (21.4M).
- Only the sources you send are scraped. If you call the Actor through the API with only search keywords, no extra channel is added. A run with no channel and no search keyword at all scrapes the example channel `@mkbhd` and says so in the log.
- **Find channels via: Video results** collects the channels behind the videos YouTube finds for the keyword. It finds smaller creators that channel search misses.
- The default Apify datacenter proxy works for YouTube. Switch to residential only if runs start failing.

### Pricing and cost examples

You pay per channel saved to the dataset ("Channel" event). Platform usage and proxy traffic are already included in the per-channel price. Recent videos are part of the channel record and are not charged separately.

| Apify plan | Price per 1,000 channels |
|------------|--------------------------|
| Free (default price) | $2.50 |
| Bronze | $1.875 |
| Silver | $1.563 |
| Gold, Platinum, Diamond | $1.25 |

Cost examples on the Free plan:

- 100 channels ≈ $0.25
- 1,000 channels ≈ $2.50
- 10,000 channels ≈ $25.00 (≈ $12.50 on Gold and higher plans)

The Apify Free plan includes $5 of platform credit every month. If you spend it only on this Actor, that covers about 2,000 channels per month.

You are charged only for channels saved to the dataset. A channel that cannot be found, is terminated or private, or whose request fails after 4 attempts saves nothing. If loading the recent videos fails, the channel is still saved and charged, with an empty `recentVideos` list and null `recentVideosAvgViews` and `latestVideoPublished`. If only the About panel fails, the channel is still saved and charged, without About fields such as country, total views, joined date and links. The same channel is saved only once per run, even if it appears in several inputs or search results. To set a hard cap, enter a maximum total charge per run in the run options. The Actor stops as soon as that limit is reached.

### Use it via API, on a schedule, or from an AI agent

**JavaScript** (`npm install apify-client`):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('tamnt67/youtube-channel-scraper').call({
    channels: ['@mkbhd', '@veritasium'],
    searchQueries: ['tech reviews'],
    maxChannelsPerQuery: 20,
    recentVideosCount: 10,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("tamnt67/youtube-channel-scraper").call(run_input={
    "channels": ["@mkbhd", "@veritasium"],
    "searchQueries": ["tech reviews"],
    "maxChannelsPerQuery": 20,
    "recentVideosCount": 10,
})

items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)
```

**cURL** (runs the Actor and returns the channels in one call):

```bash
curl -X POST "https://api.apify.com/v2/acts/tamnt67~youtube-channel-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"channels": ["@mkbhd"], "recentVideosCount": 5}'
```

The sync endpoint waits for the run to finish, so use it for small runs and the client libraries for large ones.

**Schedules:** create an Apify Schedule for this Actor or a saved task to refresh the same channels weekly and track subscriber and view growth.

**AI agents:** the Apify MCP server at https://mcp.apify.com lets AI assistants such as Claude or Cursor run this Actor and read its results.

### FAQ

#### How much does YouTube Channel Scraper cost?

YouTube Channel Scraper costs $2.50 per 1,000 channels on the Free plan and $1.875, $1.563 or $1.25 per 1,000 on higher Apify plans. 100 channels cost about $0.25 on the Free plan, with or without recent videos. The Free plan's $5 monthly credit covers about 2,000 channels.

#### How many channels do I get?

YouTube Channel Scraper returns one record for every channel you list, plus up to `maxChannelsPerQuery` channels (1 to 1,000, default 20) for each search keyword. Each record can include up to 100 recent videos through `recentVideosCount` (default 0, the Console form is prefilled with 10).

#### How can I get more channels?

Add more search keywords, raise `maxChannelsPerQuery` (up to 1,000), or paste more channels. YouTube Channel Scraper reads up to 50 pages of search results per keyword and stops earlier when YouTube has no more. Try related keywords or other `country` values.

#### Can I run it on a schedule or through the API?

Yes. YouTube Channel Scraper works with Apify Schedules for daily or weekly runs, and with the Apify API through the JavaScript and Python clients or a single cURL call.

#### How fresh is the data?

YouTube Channel Scraper reads YouTube live at the time of each run. Nothing is cached. Subscriber, view and video counts are what YouTube shows at that moment, and every record has a `scrapedAt` timestamp.

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

YouTube Channel Scraper collects only publicly visible channel information, without logging in. Emails and names can still be personal data, especially for small creators. You are responsible for how you use the data, including complying with YouTube's terms of service, anti-spam rules and data protection laws such as GDPR. This is not legal advice.

### Limitations

- Terminated or private channels return an error line in the log and no record.
- Channel search returns the channels YouTube ranks for the keyword in the chosen country and language.
- Emails come only from the channel description. Emails hidden behind "View email address" are not returned; `hasBusinessEmail` only tells you one exists.
- Subscriber counts and recent video view counts are the rounded numbers YouTube shows (for example 8.6M becomes 8600000).
- Recent videos come from the channel's Videos tab, and at most 100 per channel. `publishedTimeText` is relative text such as "1 day ago".
- Filters run after a channel is scraped, so a strict filter can return fewer channels than **Max channels per keyword**. The subscriber and verified filters are also checked on channel search results, so they count toward that limit; the others do not. A channel whose value is unknown (hidden subscriber count, no country, no date) does not pass a filter that is set.
- **Uploaded within days** and `latestVideoPublishedAtApprox` read YouTube's "3 days ago" text (a month counts as 30 days), so they are approximate and need interface language `en`. `latestVideoPublished` is filled when recent videos are newest first or this filter is on.
- Some channels have no Popular or Oldest order on YouTube; `recentVideos` is then empty for that order.
- Keyword searches run before any channel is scraped. If a search request still fails after 4 attempts, that keyword is logged as failed and keeps only the channels found before the failure; the run goes on with the other keywords and channels.
- `joinedDate` is parsed from English text, so it can be null with other interface languages.
- Some fields can be empty when YouTube does not show them, for example `country` or `keywords`.
- YouTube can change its site at any time. If the Actor stops returning data, report an issue and it will be fixed quickly.

### Changelog

- 1.0 update (2026-11-23): new filters (subscribers, videos, verified, business email button, countries, joined date, uploaded within N days, excluded channels, max channels in total), keyword search order and a "find channels via video results" mode, recent videos order (newest, popular, oldest), optional recent Shorts and live streams, and the new field `latestVideoPublishedAtApprox`. Existing inputs and fields work as before.
- 1.0 (2026-11-19): API calls with only search keywords no longer also scrape the default channel; a failed keyword search no longer stops the whole run; a channel whose recent videos fail to load is still saved, without them.

### Integrations

Works with every Apify integration: API, webhooks, Zapier, Make, Google Sheets, Slack, n8n, LangChain and the Apify MCP server.

### Support

Found a problem or missing field? Report it in the Issues tab of this Actor.

# Actor input Schema

## `channels` (type: `array`):

Channel URLs, @handles or channel IDs, one per line: https://www.youtube.com/@mkbhd, @mkbhd, mkbhd or UCBJycsmduvYEL83R_U4JriQ.

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

Optional. Search YouTube for channels matching each keyword and scrape the channels found (for example "tech reviews" or "yoga").

## `maxChannelsPerQuery` (type: `integer`):

Only used with keyword search.

## `searchSortBy` (type: `string`):

Order of YouTube search results when finding channels by keyword. Relevance is what YouTube shows by default.

## `findChannelsVia` (type: `string`):

"Channel results": YouTube channel search (the channel name or description matches the keyword). "Video results": the channels that uploaded videos matching the keyword, which finds smaller creators who talk about the topic.

## `recentVideosCount` (type: `integer`):

Also return this many latest videos (title, views, published, duration) and the average views across them. 0 to skip.

## `recentVideosSort` (type: `string`):

Which videos fill recentVideos: newest uploads (default), most popular or oldest.

## `recentShortsCount` (type: `integer`):

Add up to this many Shorts from the channel's Shorts tab as recentShorts (title, views, URL). 0 = off.

## `recentStreamsCount` (type: `integer`):

Add up to this many live streams from the channel's Live tab as recentStreams. 0 = off.

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

Two-letter language code for localized texts (en, de, fr, es, pt, ja, vi...).

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

Two-letter country code used for keyword search results (US, GB, DE, IN, BR...).

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

Optional. Save only channels with at least this many subscribers. Channels that hide their subscriber count are skipped while this is set.

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

Optional. Save only channels with at most this many subscribers (for example to find micro-influencers).

## `minVideos` (type: `integer`):

Optional. Save only channels with at least this many videos.

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

Optional. Save only channels with at most this many videos.

## `verifiedOnly` (type: `boolean`):

Save only channels with the verified badge.

## `businessEmailOnly` (type: `boolean`):

Save only channels whose About panel has the "View email address" button (hasBusinessEmail: true). The email itself is behind a sign-in and captcha and is not scraped.

## `channelCountries` (type: `array`):

Optional. Save only channels whose About panel country is one of these. Two-letter codes (US, GB, VN) or English country names. Channels without a country are skipped while this is set.

## `joinedAfter` (type: `string`):

Optional. Date such as 2020-01-31. Save only channels created on or after this date.

## `joinedBefore` (type: `string`):

Optional. Date such as 2023-12-31. Save only channels created on or before this date.

## `activeWithinDays` (type: `integer`):

Optional. Save only channels whose latest video was uploaded within this many days (from YouTube's "3 days ago" text, so approximate; needs interface language en). Costs one extra request per channel when recent videos are off.

## `excludeChannels` (type: `array`):

Optional. Channel IDs, @handles or URLs to leave out, for example channels you already have.

## `maxChannels` (type: `integer`):

Optional. Stop after saving this many channels in the whole run. Empty = no limit.

## `proxyConfiguration` (type: `object`):

Apify datacenter proxy works for YouTube. Switch to residential only if runs start failing.

## Actor input object example

```json
{
  "channels": [
    "@mkbhd",
    "https://www.youtube.com/@veritasium"
  ],
  "searchQueries": [],
  "maxChannelsPerQuery": 20,
  "searchSortBy": "relevance",
  "findChannelsVia": "channelSearch",
  "recentVideosCount": 10,
  "recentVideosSort": "newest",
  "recentShortsCount": 0,
  "recentStreamsCount": 0,
  "language": "en",
  "country": "US",
  "verifiedOnly": false,
  "businessEmailOnly": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `channels` (type: `string`):

Dataset with one record per channel: id, handle, title, description, emails, links, subscribers, total views, video count, joined date, country, avatar, banner, keywords, verified flag and recent videos.

## `channelsCsv` (type: `string`):

The same dataset exported as CSV.

# 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 = {
    "channels": [
        "@mkbhd",
        "https://www.youtube.com/@veritasium"
    ],
    "maxChannelsPerQuery": 20,
    "recentVideosCount": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tamnt67/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 = {
    "channels": [
        "@mkbhd",
        "https://www.youtube.com/@veritasium",
    ],
    "maxChannelsPerQuery": 20,
    "recentVideosCount": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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