# Youtube Channel Scraper (`grow_media/youtube-channel-scraper`) Actor

Extract comprehensive data from YouTube channels including video stats, channel details, and engagement metrics. Support for multiple channels (up to 100), date filtering, and sorting options. Get video views, likes, comments, duration, tags plus channel subscribers, total views, and more.

- **URL**: https://apify.com/grow_media/youtube-channel-scraper.md
- **Developed by:** [Grow Media](https://apify.com/grow_media) (community)
- **Categories:** Social media, Videos
- **Stats:** 2,246 total users, 133 monthly users, 100.0% runs succeeded, 47 bookmarks
- **User rating**: 4.98 out of 5 stars

## Pricing

from $0.40 / 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.
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

A powerful data extraction tool designed to scrape comprehensive channel and video information from YouTube channels, going beyond the standard YouTube Data API limitations.

### What is YouTube Channel Scraper?

YouTube Channel Scraper is an advanced tool that extracts detailed information from YouTube channels. Simply provide one or more channel URLs, and get access to:

- Complete channel information (subscribers, views, description, etc.)
- Detailed video data (views, likes, comments, etc.)
- Advanced filtering options (date ranges, sorting)
- Support for both regular videos and channel statistics
- Bulk processing of up to 100 channels at once

### 📊 Which YouTube Data Can I Extract?

#### Channel Information

- 📁 Channel name and ID
- 👥 Subscriber count
- 👀 Total view count
- 📝 Channel description
- 🌍 Channel location
- 📅 Join date
- 🖼️ Channel avatar and banner URLs

#### Video Information

- 🎥 Video title and ID
- 📊 View count
- 👍 Like count
- 💬 Comment count
- ⏱️ Video duration
- 📅 Publication date
- 🏷️ Video tags
- 📝 Video description
- 🖼️ Thumbnail URLs

### 💰 Pricing

Our service uses a pay-per-result model with competitive pricing:

- **$0.50 per 1000 results**
- Free plan includes $5 monthly credits (10,000 results)
- Recommended plan: $49/month Starter plan (98,000 results)

### 🚀 How to Use YouTube Channel Scraper

1. Create an Apify account
2. Open YouTube Channel Scraper
3. Enter one or more YouTube channel URLs (up to 100)
4. Click "Start" and wait for extraction
5. Download data in JSON, CSV, Excel, or other formats

### ⚙️ Input Configuration

```json
{
    "channelUrls": [
        "https://www.youtube.com/@kurzgesagt",
        "https://www.youtube.com/channel/UCsXVk37bltHxD1rDPwtNM8Q"
    ],
    "maxVideos": 100
}
```

### 📋 Output Example

```json
{
    "id": "video_id",
    "title": "Video Title",
    "description": "Video description...",
    "tags": ["tag1", "tag2"],
    "categoryId": "28",
    "duration": "10:30",
    "channelName": "Channel Name",
    "channelUsername": "@channelhandle",
    "channelUrl": "https://www.youtube.com/channel/...",
    "date": "2 months ago",
    "url": "https://www.youtube.com/watch?v=...",
    "viewCount": 123456,
    "likeCount": 12345,
    "commentCount": 1234,
    "type": "video",
    "thumbnailUrl": "https://i.ytimg.com/vi/.../maxresdefault.jpg",
    "order": 0,
    "aboutChannelInfo": {
        "channelDescription": "Channel description...",
        "channelJoinedDate": "Sep 15, 2015",
        "channelLocation": "Germany",
        "channelUsername": "@channelhandle",
        "channelAvatarUrl": "https://yt3.googleusercontent.com/...",
        "channelBannerUrl": "https://yt3.googleusercontent.com/...",
        "channelTotalVideos": 150,
        "channelTotalViews": 50000000,
        "numberOfSubscribers": 1000000,
        "channelName": "Channel Name",
        "channelUrl": "https://www.youtube.com/channel/...",
        "channelId": "UCsXVk37bltHxD1rDPwtNM8Q",
        "inputChannelUrl": "https://www.youtube.com/@channelhandle"
    },
    "standardizedUrl": "https://www.youtube.com/channel/.../about",
    "channelDescription": "Channel description...",
    "channelJoinedDate": "Sep 15, 2015",
    "channelLocation": "Germany",
    "channelAvatarUrl": "https://yt3.googleusercontent.com/...",
    "channelBannerUrl": "https://yt3.googleusercontent.com/...",
    "channelTotalVideos": 150,
    "channelTotalViews": 50000000,
    "numberOfSubscribers": 1000000,
    "channelId": "UCsXVk37bltHxD1rDPwtNM8Q",
    "inputChannelUrl": "https://www.youtube.com/@channelhandle"
}
```

### 🔗 Related YouTube Scrapers

Check out our other YouTube data extraction tools:

#### [YouTube Search API](https://apify.com/grow_media/youtube-search-api)

- Extract search results from YouTube
- Get video details from search queries
- Filter by upload date, type, and more

#### [YouTube Comments Scraper](https://apify.com/grow_media/youtube-comments-scraper)

- Scrape comments from YouTube videos
- Get comment metadata (likes, channel details, etc.)
- Extract user information

### ❓ Frequently Asked Questions

#### Is scraping YouTube channels legal?

Our scraper only extracts publicly available data and follows YouTube's terms of service. We don't extract private user data or protected content. For specific use cases, consult your legal team.

#### Do I need proxies?

For optimal performance, we recommend using residential proxies (included in Apify's $49/month Starter plan). This ensures reliable data extraction and prevents rate limiting.

#### Can I integrate with other applications?

Yes! Our scraper supports integration with:

- LangChain
- Make (Integromat)
- Zapier
- Google Sheets
- Custom APIs
- And many more...

#### How to use the API?

Access our scraper programmatically using:

- Apify API
- Python SDK
- JavaScript/Node.js SDK
- REST API endpoints

#### What can I do with the scraped data?

- Track competitor channels
- Analyze video performance
- Research content trends
- Monitor engagement metrics
- Generate content insights
- Create custom analytics

### 📝 Feedback and Support

We're constantly improving our scrapers. If you:

- Found a bug
- Have a feature request
- Need technical support

Please create an issue on the Actor's Issues tab or contact our support team.

### 🔒 Data Usage and Privacy

- We only extract publicly available data
- No private information is collected
- Data is stored securely on Apify's platform
- Compliant with data protection regulations

# Actor input Schema

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

URLs of YouTube channels to scrape (e.g., https://www.youtube.com/channel/UC... or https://www.youtube.com/@username). Maximum 100 channels allowed.

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

Maximum number of videos to scrape per channel (default: 100)

## Actor input object example

```json
{
  "channelUrls": [
    "https://www.youtube.com/@kurzgesagt"
  ],
  "maxVideos": 100
}
```

# 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/@kurzgesagt"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("grow_media/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/@kurzgesagt"] }

# Run the Actor and wait for it to finish
run = client.actor("grow_media/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/@kurzgesagt"
  ]
}' |
apify call grow_media/youtube-channel-scraper --silent --output-dataset

```

## MCP server setup

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