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

YouTube channel scraper for influencer lists. Paste URLs or @handles and get subscribers, video counts, descriptions, public emails from the About text, tags, avatars, banners and recent uploads. One row per channel. No API key. $2 per 1,000 channels.

- **URL**: https://apify.com/sonic_scraper/youtube-channel-scraper-api.md
- **Developed by:** [Group Oject](https://apify.com/sonic_scraper) (community)
- **Categories:** Videos, Lead generation, Marketing
- **Features:** Limited permissions
- **Stats:** 4 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 channel profiles

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 & Recent Videos

Turn a list of YouTube channels into a clean spreadsheet of creator profiles: name, handle, subscriber count, video count, description, **public emails listed in the channel description**, tags, avatar, banner, RSS feed and the latest uploads. Paste URLs, `@handles` or channel IDs. No YouTube API key, no login. **$2 per 1,000 channels.**

![YouTube Channel Scraper output in Apify: channel, handle, subscribers, videos, emails, channel url, avatar](https://api.apify.com/v2/key-value-stores/lwQu1lCMCLQIIhSMQ/records/youtube-channel-scraper-api-output.png)

*Real output from a default run of YouTube Channel Scraper in Apify Console.*

### What can YouTube Channel Scraper do?

- **Scrape channel profiles in bulk**: up to 5,000 channels per run from URLs, `@handles`, or `UC...` IDs. Paste a list one per line.
- **Get audience size**: subscriber count and video count as numbers, plus the text YouTube shows (for example `1.2M subscribers`).
- **Find contact emails in the channel description**: any email address written in the public "About" text is extracted into `emails`.
- **Collect channel metadata**: description, keywords, tags, avatar, banner, canonical and vanity URLs, family-safe flag.
- **Attach recent uploads**: up to 50 of the latest videos per channel from the public feed, with title, publish date, views and thumbnail.
- **One row per channel**, so the output drops straight into a CRM, Airtable or Google Sheets.

Built for influencer marketing lists, sponsorship and creator outreach research, competitor channel benchmarking, and enriching lists of YouTube handles you already have.

### What data can I extract from YouTube channels?

| Field | Description |
|---|---|
| `channelId`, `title`, `handle` | Channel ID, name and `@handle` |
| `channelUrl`, `vanityUrl`, `rssUrl` | Canonical URL, custom URL and RSS feed |
| `subscriberCount`, `subscriberCountText` | Subscribers as a number and as shown |
| `videoCount`, `videoCountText` | Number of videos as a number and as shown |
| `description` | Channel description ("About" text) |
| `emails` | Email addresses found in the description |
| `tags`, `keywords` | Channel tags and keywords |
| `avatarUrl`, `bannerUrl` | Highest-resolution avatar and banner images |
| `isFamilySafe`, `isUnlisted` | Channel flags |
| `recentVideos`, `recentVideoCount` | Latest uploads: `videoId`, `title`, `videoUrl`, `publishedAt`, `views`, `thumbnailUrl` |
| `input`, `scrapedAt` | The input you supplied and collection time |

### How much does it cost to scrape YouTube channels?

- **$2.00 per 1,000 channels** ($0.002 per channel profile, recent videos included)
- **$0.00005 per Actor start** (per GB of memory)

100 channels cost about $0.20. 5,000 channels cost about $10. Failed or unresolvable channels are not charged. See the Pricing tab for current rates.

### How to scrape YouTube channel data

1. Paste channel URLs, `@handles` or channel IDs into **Channel URLs**, or one per line into the text box.
2. Keep **Include recent videos** on and choose how many (`maxRecentVideos`, default 5), or turn it off for profiles only.
3. Set `maxChannels` as a safety cap.
4. Click **Start**. Download the results as CSV or Excel, or use the API.

#### Input example

```json
{
  "channelUrls": [
    "https://www.youtube.com/@mkbhd",
    "@veritasium",
    "UCX6OQ3DkcsbYNE6H8uQQuVA"
  ],
  "channelUrlsText": "https://www.youtube.com/@fireship\nhttps://www.youtube.com/@LinusTechTips",
  "maxChannels": 50,
  "includeRecentVideos": true,
  "maxRecentVideos": 5
}
```

#### Output example

```json
{
  "channelId": "UCBJycsmduvYEL83R_U4JriQ",
  "title": "Example Tech Channel",
  "handle": "@exampletech",
  "description": "Gadget reviews every week. Business inquiries: partnerships@example.com",
  "channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
  "vanityUrl": "http://www.youtube.com/@exampletech",
  "rssUrl": "https://www.youtube.com/feeds/videos.xml?channel_id=UCBJycsmduvYEL83R_U4JriQ",
  "subscriberCount": 1240000,
  "subscriberCountText": "1.24M subscribers",
  "videoCount": 812,
  "videoCountText": "812 videos",
  "emails": ["partnerships@example.com"],
  "tags": ["tech", "reviews", "smartphones"],
  "avatarUrl": "https://yt3.googleusercontent.com/example=s900-c-k",
  "bannerUrl": "https://yt3.googleusercontent.com/example-banner=w2560",
  "isFamilySafe": true,
  "recentVideoCount": 1,
  "recentVideos": [
    {
      "videoId": "dQw4w9WgXcQ",
      "title": "The best phone of 2026?",
      "videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
      "publishedAt": "2026-10-22T16:00:01+00:00",
      "views": 853120,
      "thumbnailUrl": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg"
    }
  ],
  "input": "@exampletech",
  "scrapedAt": "2026-10-25T12:58:47.330Z"
}
```

### Input reference

| Field | Default | Notes |
|---|---|---|
| `channelUrls` | \[] | Channel URLs, `@handles`, or `UC...` IDs |
| `channelUrlsText` | "" | Same, one per line or comma-separated |
| `maxChannels` | 50 | Up to 5,000 per run |
| `includeRecentVideos` | true | Add the latest uploads to each row |
| `maxRecentVideos` | 5 | 0 to 50 per channel (the public feed lists up to 15) |
| `language` / `country` | `en` / `US` | Locale for requests |

### Use cases: influencer lists, outreach and benchmarking

- **Influencer shortlists**: paste 500 candidate handles, sort by `subscriberCount`, check `recentVideos` to see who is active.
- **Creator outreach**: filter rows with a non-empty `emails` field to find creators who publish a business contact.
- **Competitor benchmarking**: schedule a weekly run on competitor channels and track subscriber and video counts over time.
- **Lead enrichment**: enrich YouTube handles from your CRM with audience size and channel description.

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("sonic_scraper/youtube-channel-scraper-api").call(run_input={
    "channelUrlsText": "@mkbhd\n@veritasium\n@fireship",
    "maxRecentVideos": 3,
})
for ch in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(ch["title"], ch["subscriberCount"], ch["emails"])
```

Works with Make, Zapier, n8n and Google Sheets through the Apify integration, and with AI agents through MCP: `https://mcp.apify.com?tools=sonic_scraper/youtube-channel-scraper-api`.

### FAQ

**Do I need a YouTube API key?** No. No API key, no quota, no login.

**Does it get the hidden "business email" behind YouTube's "View email address" button?** No. That email is only shown to signed-in users after a CAPTCHA. This Actor extracts emails that creators write publicly in their channel description, which many creators do.

**Why is `subscriberCount` null for some channels?** Some channels hide their subscriber count. In that case YouTube does not show it publicly.

**Can I search for channels by keyword?** Not in this Actor. Find channels first (for example with [YouTube Scraper API](https://apify.com/sonic_scraper/youtube-scraper-api) search results), then paste their channel URLs here.

**How many recent videos can I get?** Up to 15 from the public channel feed, even if `maxRecentVideos` is set higher.

**Is scraping YouTube channels legal?** The Actor collects public channel information only. Emails and names are personal data in many jurisdictions, so make sure your outreach complies with GDPR, CAN-SPAM and YouTube's terms.

### Related Actors

- [YouTube Channel Monitor](https://apify.com/sonic_scraper/youtube-channel-monitor) - scheduled alerts for new uploads
- [YouTube Comments Scraper API](https://apify.com/sonic_scraper/youtube-comments-scraper-api) - comments and engagement for any video
- [YouTube Scraper API](https://apify.com/sonic_scraper/youtube-scraper-api) - videos by keyword, playlist or URL
- [B2B Website Intelligence Scraper](https://apify.com/sonic_scraper/b2b-website-intelligence-scraper) - enrich creators' websites with contact and company data

# Actor input Schema

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

YouTube channel URLs, @handles, or UC channel IDs.

## `channelUrlsText` (type: `string`):

Paste one channel URL, @handle, or channel ID per line.

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

Maximum channels to process.

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

Include recent videos from the public channel RSS feed.

## `maxRecentVideos` (type: `integer`):

Maximum recent videos to include for each channel.

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

YouTube language code.

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

YouTube country code.

## `debugMode` (type: `boolean`):

Verbose logging.

## Actor input object example

```json
{
  "channelUrls": [
    "https://www.youtube.com/@OpenAI",
    "https://www.youtube.com/@GoogleDevelopers"
  ],
  "maxChannels": 50,
  "includeRecentVideos": true,
  "maxRecentVideos": 5,
  "language": "en",
  "country": "US",
  "debugMode": false
}
```

# Actor output Schema

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

One row per YouTube channel.

## `summary` (type: `string`):

Totals and failed inputs.

## `errors` (type: `string`):

Channels that failed.

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

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

# Run the Actor and wait for it to finish
run = client.actor("sonic_scraper/youtube-channel-scraper-api").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/@OpenAI",
    "https://www.youtube.com/@GoogleDevelopers"
  ]
}' |
apify call sonic_scraper/youtube-channel-scraper-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sonic_scraper/youtube-channel-scraper-api"
        }
    }
}
```

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/AYsKDsiRUcxfaj5mJ/builds/HLOFOCKOuZ0G5OuA0/openapi.json
