# YouTube Channel Scraper + Free Channel Insights | $1.00/1K (`rasareka/youtube-channel`) Actor

Scrape all videos, Shorts and live streams of any YouTube channel: views, dates, duration, thumbnails, subscribers. Free channel insights report: upload frequency, median views, top videos, Shorts vs long-form, best video length, winning title words. No API key.

- **URL**: https://apify.com/rasareka/youtube-channel.md
- **Developed by:** [Rasa Reka](https://apify.com/rasareka) (community)
- **Categories:** 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.00 / 1,000 videos

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

## YouTube Channel Scraper + Free Channel Insights

Scrape **every video, Short and live stream of any YouTube channel**: titles, view counts, upload dates, durations, thumbnails and subscriber count. Each run also includes a **free channel analytics report**: upload frequency, median views, top videos, Shorts vs long-form, which video lengths get the most views and which title words the best videos use. Paste a @handle, a channel URL or any video link. You do not need an API key or a login.

![Real output: NASA channel insights, 150 latest videos, 5-15 minute videos get a median of 527K views vs 90K for 1-5 minute videos, titles with "moon" are 4x more common among the top 25% of videos](https://assets.rasareka.com/hero-youtube-channel.png)

*Real output from one cloud run on @NASA (150 latest long-form videos). Videos of 5–15 minutes had a median of **527K views**, against **90K** for 1–5 minute videos. "Moon" appears in **35%** of the top 25% of titles but in only **9%** of the rest. Most channel scrapers give you the rows and leave the analysis to you. This one adds the summary above at no extra cost.*

### What you get

- 🎬 One row per video: `type` (video / short / live), video id, URL, title
- 👀 View count as a number (parsed from "1.2M views") plus the original text
- 🗓️ Upload time ("3 weeks ago") plus an approximate ISO date, or the **exact publish date** with video details on
- ⏱️ Duration in seconds, thumbnail URL
- 📺 Channel name, @handle, channel id, channel URL, **subscriber count** on every row
- ❤️ Optional video details: exact publish date (day), exact views, **like count**, description, plus tags (keywords) and category when YouTube provides them
- 📊 **Free CHANNEL_INSIGHTS report** per channel, covering:

  - channel stats: subscribers, total videos, total views, joined date, country, public links
  - uploads per week, median and average views, views per subscriber
  - top 10 videos and views by month
  - Shorts vs long-form, and median views by video length (<1m, 1–5m, 5–15m, 15–30m, 30m+)
  - best upload weekday
  - title words that the top 25% of videos use more than the rest

  Every number comes from the videos fetched in your run, and `sampleSize` is shown.

### Why this Actor

| | Typical YouTube channel scraper | **This Actor** |
|---|---|---|
| Input | Channel URL | **@handle, channel URL, channel id or any video / Shorts link** |
| Videos, Shorts and live streams | Often videos only | **All three in one run**, each row labelled with `type` |
| Sort | Latest only | **Latest or Popular** (YouTube's own most-viewed sort) |
| View count | Text like "1.2M views" | **Number** plus the original text |
| Channel analytics | No, you build the spreadsheet yourself | **Included free**: upload frequency, median views, best length, winning title words, Shorts vs long |
| Exact dates, likes, descriptions | Sometimes | **Optional** (`enrichVideoDetails`) |
| API key, login, cookies | Often a YouTube Data API key | **Not needed** |
| Failed channels | Sometimes charged | **Never charged**, listed in a free FAILED record |

### Use cases

- **Competitor channel analysis:** see how often a competitor uploads, what their median video earns and which topics break out.
- **Influencer vetting:** check whether a creator's typical video (the median, not the one viral hit) reaches enough people for its subscriber count, and whether the channel is still active.
- **Content strategy:** learn which video lengths and title words win in your niche, and whether Shorts or long-form gets more views there.
- **Agencies:** monthly channel reports for clients or prospects, without copy-pasting from YouTube.
- **AI / LLM pipelines:** feed clean, structured video lists to RAG, trend detection or summarisation. The CHANNEL_INSIGHTS report is small enough to pass straight to an LLM.
- **Research and media monitoring:** track what large channels publish and how each upload performs over time with scheduled runs.

### How to use it

1. Add channels: `@NASA`, `https://www.youtube.com/@TED`, `UCLA_DiR1FfKNvjuUpBHmylQ`, or any video link such as `https://youtu.be/K8DG7LUTbaM`.
2. Set **Max videos per channel**. With Shorts or Live turned on, the limit is shared evenly between the tabs.
3. Optionally choose **Popular** sort, turn on **Live streams**, or turn on **Video details** for exact dates, likes and tags (slower).
4. Run the Actor. Videos are saved to the dataset, and the report is saved to **Storage → Key-value store → CHANNEL_INSIGHTS**.

#### Input example

```json
{
  "channels": ["@NASA", "https://www.youtube.com/@TED"],
  "maxVideosPerChannel": 200,
  "includeShorts": true,
  "includeLiveStreams": false,
  "sortBy": "latest",
  "includeInsights": true,
  "enrichVideoDetails": false
}
```

#### Output example (one video, real)

```json
{
  "type": "video",
  "videoId": "61S764A-TKo",
  "url": "https://www.youtube.com/watch?v=61S764A-TKo",
  "title": "Apply to Become A NASA Astronaut",
  "viewCount": 423000,
  "viewCountText": "423K views",
  "publishedTimeText": "10 days ago",
  "publishedAt": "2026-11-08T01:42:48.561Z",
  "publishedAtApprox": true,
  "durationSeconds": 65,
  "thumbnailUrl": "https://i.ytimg.com/vi/61S764A-TKo/hq720.jpg",
  "isLiveNow": false,
  "channelName": "NASA",
  "channelHandle": "@NASA",
  "channelId": "UCLA_DiR1FfKNvjuUpBHmylQ",
  "channelUrl": "https://www.youtube.com/@NASA",
  "subscriberCount": 15100000,
  "scrapedAt": "2026-11-18T01:42:48.563Z"
}
```

With `enrichVideoDetails: true`, each video also gets the following fields (real, shortened):

```json
{
  "viewCount": 38316,
  "publishedAt": "2026-11-17T00:00:00.000Z",
  "publishedAtApprox": false,
  "publishDate": "2026-11-17",
  "likeCount": 526,
  "description": "When life gets uncertain, do you grip a little tighter? Neuroscientist Heather Berlin explores...",
  "keywords": ["TEDTalk", "TEDTalks", "TED Talk", "TED Talks"],
  "category": "People & Blogs"
}
```

`publishDate` is the calendar day shown on the public watch page. `keywords` and `category` come only from YouTube's video player data. YouTube often withholds that data from cloud servers with a "confirm you're not a bot" check. When it does, those two fields are `null` and the report's `notes` says so. The Actor never works around the check. Dates, exact views, likes and descriptions come from the public page data and are not affected.

Shorts are saved with `type: "short"` and a `/shorts/` URL. The Shorts tab shows no date or length, so `publishedAt` and `durationSeconds` stay `null` unless video details are on. Streams that are live right now get `isLiveNow: true` and `liveViewersNow`, and their `viewCount` is `null`.

#### CHANNEL_INSIGHTS example (real, @NASA, 200 latest videos, shortened)

```json
{
  "channelName": "NASA",
  "handle": "@NASA",
  "subscriberCount": 15100000,
  "totalVideosReported": 6203,
  "totalViewsReported": 1136276317,
  "joinedDate": "2008-06-03",
  "sampleSize": 200,
  "uploadsPerWeek": 1.28,
  "medianViews": 81000,
  "averageViews": 235380,
  "viewsPerSubscriber": 0.0054,
  "topVideos": [
    { "title": "Artemis II to the Moon: Launch to Splashdown (NASA Mission Animation)", "viewCount": 2900000, "publishedTimeText": "1 year ago", "durationSeconds": 465 },
    { "title": "Cosmic Dawn (NASA+ Original Documentary)", "viewCount": 2700000, "publishedTimeText": "1 year ago", "durationSeconds": 5806 }
  ],
  "viewsByMonth": {
    "approximate": true,
    "months": [
      { "month": "2026-09", "videos": 9, "totalViews": 2124000, "medianViews": 157000 },
      { "month": "2026-10", "videos": 3, "totalViews": 1808000, "medianViews": 700000 }
    ]
  },
  "bestUploadWeekday": null,
  "bestUploadWeekdayNote": "Needs exact publish dates: run with enrichVideoDetails: true.",
  "durationBuckets": [
    { "bucket": "<1m", "videos": 19, "medianViews": 49000 },
    { "bucket": "1-5m", "videos": 152, "medianViews": 85500 },
    { "bucket": "5-15m", "videos": 10, "medianViews": 611500 },
    { "bucket": "15-30m", "videos": 9, "medianViews": 48000 },
    { "bucket": "30m+", "videos": 10, "medianViews": 85500 }
  ],
  "titleTopTerms": {
    "topQuartileSize": 50,
    "topQuartile": [
      { "term": "artemis", "shareTopQuartile": 0.36, "shareRest": 0.1, "lift": 3.6 },
      { "term": "moon", "shareTopQuartile": 0.34, "shareRest": 0.087, "lift": 3.92 },
      { "term": "moon base", "shareTopQuartile": 0.08, "shareRest": 0.013, "lift": 6 }
    ]
  }
}
```

With Shorts and video details on, the report also fills `shortsVsLong` and `bestUploadWeekday`. In a run on @TED (100 videos and 100 Shorts, 40 with details), Shorts had a median of 27.5K views against 94K for long videos, and Sunday uploads had the highest median (147K, from 7 videos).

Export to JSON, CSV or Excel, or connect to Google Sheets, Make, Zapier, n8n or your own code through the Apify API.

### Pricing

You pay per result, which here means per video saved to your dataset. The CHANNEL_INSIGHTS report is free, and failed channels are never charged; they are listed in the free FAILED record. Set a maximum cost per run in the run options and the Actor stops cleanly when it reaches it.

### Limits

- **YouTube may slow down or block heavy use.** The Actor paces its requests (about 0.3–0.6 s between pages) and retries rate limits with backoff. If YouTube still shows a sign-in, bot-check or consent page, the channel goes to FAILED with a clear message. The Actor never tries to get around it: no login, no cookies, no CAPTCHA solving, no proxy rotation. Try again later or scrape fewer videos per run.
- **Dates are approximate unless video details are on.** YouTube shows "3 months ago", so `publishedAt` can be off by days or weeks (`publishedAtApprox: true`), and `viewsByMonth` is labelled approximate. `bestUploadWeekday` needs exact dates, so it is `null` unless `enrichVideoDetails` is on and at least 7 videos have details.
- **Video details are slower:** about 1 second per video, because each public watch page is opened one by one. Use `maxEnrichedVideosPerChannel` to cap it.
- **View counts on channel pages are rounded** ("58K views" = 58,000). With video details on you get the exact number.
- **Popular sort** uses YouTube's own Popular sort on each tab. If a tab has no Popular sort, the Actor uses the latest order and says so in the report's `notes`. Upload frequency is only computed for latest order.
- **Insights describe your sample, not the whole channel.** A 100-video run describes those 100 videos (see `sampleSize`). Title-word analysis is keyword-based, so read the titles for nuance.
- Upcoming scheduled streams and premieres are skipped, since they have no views yet. Members-only and private videos are not visible.

### Privacy and terms

The Actor reads only public channel and video pages, the same as any logged-out visitor. It does **not** collect channel business emails, even when "View email address" is offered, and it does not enrich personal data. You are responsible for how you use the data, including YouTube's Terms of Service, copyright in titles and thumbnails, and privacy laws such as GDPR if a channel belongs to an individual.

### Also from Rasa Reka

- [Apple App Store Reviews Scraper + Insights](https://apify.com/rasareka/app-store-reviews): iOS reviews with a free complaints and praise report
- [Google Play Reviews Scraper + Insights](https://apify.com/rasareka/google-play-reviews): the same report for Android apps

### FAQ

**Do I need a YouTube account or a YouTube Data API key?** No. The Actor uses YouTube's public web pages. It has no API quota and does not need a Google Cloud project.

**Can I get all videos of a channel?** Yes. Set `maxVideosPerChannel` high, for example 5000. The Actor pages through the whole Videos tab, so large channels simply take longer.

**Can I scrape only Shorts?** Not on their own yet. Set `includeShorts: true` and filter the dataset by `type: "short"`.

**Can I use a video link instead of a channel?** Yes. Paste any watch, youtu.be or Shorts link, and the Actor scrapes that video's channel. If two inputs point to the same channel, it is scraped only once.

**Why is `bestUploadWeekday` null?** It needs exact publish dates. Turn on `enrichVideoDetails`.

**Is scraping YouTube legal?** The Actor reads only publicly available data, without logging in. You are responsible for how you use it (see Privacy and terms).

**Something broken or a feature missing?** Open an issue on the Issues tab. We usually reply within 24 hours.

# Actor input Schema

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

YouTube channels to scrape. Use a handle (@NASA), a channel URL (https://www.youtube.com/@NASA or /channel/UC...), a channel id (UC...), or any video or Shorts URL (the Actor finds its channel).

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

Maximum items saved per channel, in total. When Shorts or live streams are on, the limit is shared evenly between the tabs, and any share a tab does not use passes to the next tab (Videos, then Shorts, then Live).

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

Also scrape the channel's Shorts tab. Shorts are saved with type "short". The Shorts tab shows no upload date or duration; turn on video details to get them.

## `includeLiveStreams` (type: `boolean`):

Also scrape the channel's Live tab (past streams and streams live now), saved with type "live". Upcoming scheduled streams are skipped.

## `sortBy` (type: `string`):

"Latest" gets the newest uploads first. "Popular" uses YouTube's own Popular sort on each tab, so you get the most-viewed videos first. If a tab has no Popular sort, the latest order is used and noted in the insights.

## `includeInsights` (type: `boolean`):

Save a free CHANNEL_INSIGHTS report per channel to the key-value store: upload frequency, median and average views, views per subscriber, top 10 videos, views by month, Shorts vs long-form, views by video length and title words of the best videos. Computed only from the videos fetched in this run.

## `enrichVideoDetails` (type: `boolean`):

Open each video's public watch page to add the exact publish date (day), exact view count, like count and description, plus tags (keywords) and category when YouTube provides its player data (often withheld from cloud servers; then null). Slower: about 1 second per video. Also unlocks the best upload weekday in the insights.

## `maxEnrichedVideosPerChannel` (type: `integer`):

Only used when Video details is on. The first N videos of each channel get details, the rest are saved without them.

## Actor input object example

```json
{
  "channels": [
    "@NASA"
  ],
  "maxVideosPerChannel": 100,
  "includeShorts": true,
  "includeLiveStreams": false,
  "sortBy": "latest",
  "includeInsights": true,
  "enrichVideoDetails": false,
  "maxEnrichedVideosPerChannel": 50
}
```

# Actor output Schema

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

No description

## `insights` (type: `string`):

No description

## `failed` (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 = {
    "channels": [
        "@NASA"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rasareka/youtube-channel").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": ["@NASA"] }

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

```

## MCP server setup

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

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/g4UWzivKFjEFgpPEV/builds/RVwIpQuzqW7S1WyQ1/openapi.json
