# YouTube Channel Scraper: Video Stats, Outliers & Comments (`the100/youtube-channel-video-intelligence`) Actor

Scrape any YouTube channel: subscribers, every video's views, likes, comments & engagement, plus OUTLIERS - videos beating the channel's normal (Shorts & long-form scored separately), what's rising now, and ad-boosted views. Official API, no blocking.

- **URL**: https://apify.com/the100/youtube-channel-video-intelligence.md
- **Developed by:** [Christopher Dorado](https://apify.com/the100) (community)
- **Categories:** Videos, Social media, For creators
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 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

### What does YouTube Channel Scraper do?

**YouTube Channel Scraper** pulls **channel stats, every video's views, likes, comments and engagement, and anonymized comments** from any YouTube channel. Then it does what other YouTube scrapers don't: it finds the **outliers**. These are videos that beat their own channel's normal performance, so you can see what's actually working in a niche right now.

It runs on the **official YouTube Data API**, so there's no blocking, no CAPTCHAs and nothing breaks when YouTube changes its website. A typical channel takes a few seconds.

👉 Try it now: paste a channel like `@mkbhd`, click **Start**, and get results in under 10 seconds.

### Why use it instead of a regular YouTube scraper?

| | Regular scrapers | **This Actor** |
|---|---|---|
| Views, likes, comments | ✅ | ✅ |
| Breakout videos vs the channel's own normal | ❌ | ✅ `outlierScore` |
| What's taking off right now (before total views show it) | ❌ | ✅ `velocityScore`, `isRisingNow` |
| Shorts and long-form scored separately | ❌ | ✅ |
| Flags views that were probably bought with ads | ❌ | ✅ `likelyPaidPromotion` |
| Breaks when YouTube changes its site | Often | Never (official API) |
| Commenter names / emails collected | Sometimes | **Never**, privacy-safe |

### What data can you get from YouTube?

**Channels:** subscribers, total views, total videos, uploads per week, median views (Shorts and long-form separately), Shorts share, average engagement, number of outliers, rising videos, likely paid promotions, top video, country, creation date.

**Videos:** title, URL, publish date, age, format (Short / long / live), duration, views, likes, comments, engagement rate, views per day, outlier score, velocity score, tags, category, language, description, thumbnail.

**Comments (optional):** text, likes, date, reply count. **No commenter names.**

### How to scrape a YouTube channel

1. Click **Try for free** and open the **Input** tab.
2. Add one or more channels in **Channels**: a URL (`https://www.youtube.com/@mkbhd`), a handle (`@mkbhd`) or a channel ID (`UC...`).
3. Optional: add single **Videos**, set **Videos per channel**, or tick **Include comments**.
4. Want only the winners? Tick **Only return outliers and rising videos**.
5. Click **Start**, then download your data as **JSON, CSV, Excel** or HTML, or pull it by **API**.

### Input example

```json
{
  "channels": ["@mkbhd", "https://www.youtube.com/@GoogleDevelopers"],
  "maxVideosPerChannel": 50,
  "onlyOutliers": true,
  "includeComments": true,
  "maxCommentsPerVideo": 20
}
```

### Output example

Real output from `@mkbhd` (shortened):

```json
{
  "type": "video",
  "title": "iPhone 18 Pro/Duo Impressions: Mogged",
  "url": "https://www.youtube.com/watch?v=Od6M0AXpcxQ",
  "format": "long",
  "durationSec": 1034,
  "views": 28302663,
  "likes": 366714,
  "comments": 24900,
  "engagementRatePct": 1.38,
  "viewsPerDay": 468322,
  "outlierScore": 3.35,
  "velocityScore": 2.51,
  "isOutlier": true,
  "isRisingNow": false,
  "likelyPaidPromotion": false,
  "channelMedianViewsSameFormat": 8438369,
  "channelSubscribers": 21400000
}
```

`outlierScore: 3.35` means this video got **3.35× the channel's normal views** for a long-form upload.

Channel rows (`"type": "channel"`) and comment rows (`"type": "comment"`) arrive in the same dataset, so you can filter by `type`.

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

**$2.00 per 1,000 results** (a channel, a video or a comment each count as one result), plus a tiny start fee per run. Apify platform usage is **included**: no hidden costs.

| Example run | Results | Cost |
|---|---|---|
| 1 channel, 50 latest videos | 51 | ~$0.10 |
| 10 competitor channels, outliers only | ~60 | ~$0.12 |
| 1 video + 1,000 comments | 1,001 | ~$2.00 |

The Apify free plan includes monthly credit, enough for thousands of results.

### Use cases

- 🎯 **Creators:** find the topics and titles breaking out in your niche this month, then make the next one.
- 📊 **Agencies and brands:** vet influencers by real, organic performance (ad-boosted views are flagged).
- 🔎 **Competitor research:** track rivals' upload pace, Shorts strategy and hit rate.
- 🤖 **AI and research pipelines:** clean comment text for sentiment analysis; pair with our transcript tool below for full transcripts.

### Integrations and API

Use it from the **Apify API**, **Python** or **JavaScript** clients, **Make**, **Zapier**, **n8n**, Google Sheets, or schedule it to run daily. It also works with **AI agents** through the Apify MCP server.

### FAQ

**Is it legal?** It uses the official YouTube Data API and only public data. It doesn't collect commenter names, and it removes emails and phone numbers from descriptions.

**Do I need a YouTube API key?** No, a key is included. For very large jobs you can add your own free key in the input.

**What does "likely paid promotion" mean?** A video with a huge view count but engagement far below the channel's normal is the signature of paid ads. It's flagged so you don't copy "what worked" when it was really ad budget.

**Why are Shorts scored separately?** A Short and a 20-minute video live on different view scales. Mixing them hides real breakouts.

**Something not working?** Open an issue in the **Issues** tab and we'll respond quickly.

### More tools from the same developer

| Tool | What it does |
|---|---|
| [YouTube Transcript Scraper & Podcast Transcriber](https://apify.com/the100/rights-safe-media-transcriber) | Transcripts with timestamps from YouTube videos, podcasts and audio files |
| [Podcast Scraper: RSS & Apple Podcasts](https://apify.com/the100/podcast-rss-episode-extractor) | Every episode from any podcast feed or Apple Podcasts ID |
| [Stock Sympathy Play Scanner](https://apify.com/the100/sympathy-play-finder) | Which stocks move when a leader moves, and which haven't caught up yet |

# Actor input Schema

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

Channel URLs, @handles or channel IDs (UC...). Every recent upload is analyzed.

## `videos` (type: `array`):

Video links (watch, youtu.be, shorts, live) or video IDs. Returns full stats for each.

## `maxVideosPerChannel` (type: `integer`):

Newest uploads to analyze per channel.

## `publishedAfter` (type: `string`):

Optional date (YYYY-MM-DD).

## `outlierMultiplier` (type: `integer`):

A video is an outlier when it gets this many times the channel's median views for the same format (Shorts vs long-form).

## `onlyOutliers` (type: `boolean`):

Skip normal videos (channel rows are always returned).

## `includeShorts` (type: `boolean`):

Include YouTube Shorts (scored separately from long-form).

## `includeComments` (type: `boolean`):

Top-level comments per video (text, likes, date, reply count). Commenter names are never included.

## `maxCommentsPerVideo` (type: `integer`):

Comments per video.

## `commentOrder` (type: `string`):

Which comments to fetch first.

## `youtubeApiKey` (type: `string`):

Only needed for very large runs. Free: Google Cloud -> enable YouTube Data API v3 -> Credentials -> API key.

## Actor input object example

```json
{
  "channels": [
    "@mkbhd",
    "https://www.youtube.com/@GoogleDevelopers"
  ],
  "maxVideosPerChannel": 50,
  "outlierMultiplier": 2,
  "onlyOutliers": false,
  "includeShorts": true,
  "includeComments": false,
  "maxCommentsPerVideo": 50,
  "commentOrder": "relevance"
}
```

# Actor output Schema

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

Rows with type channel / video / comment.

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

// Run the Actor and wait for it to finish
const run = await client.actor("the100/youtube-channel-video-intelligence").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/@GoogleDevelopers",
    ] }

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

```

## MCP server setup

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

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/sjg7UIrjnmlZWQjX9/builds/Z0MFDsRC5u0DFkVJY/openapi.json
