# YouTube Channel Scraper (`logiover/youtube-channel-scraper`) Actor

Scrape every video from any YouTube channel with full stats: title, views, duration, publish date, thumbnail and video URL, plus channel subscriber count and metadata. Works by @handle, URL or channel ID. No login, no API key. Export to JSON/CSV/Excel.

- **URL**: https://apify.com/logiover/youtube-channel-scraper.md
- **Developed by:** [Logiover](https://apify.com/logiover) (community)
- **Categories:** Social media, Videos, Marketing
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## YouTube Channel Scraper 📺 — All Videos, Views & Channel Stats (No Login, No API Key)

**Scrape every video from any YouTube channel** with full metadata — **title, view count, duration, publish date, thumbnail and video URL** — plus the channel's **subscriber count, total video count, description and ID**. This **YouTube channel scraper** works by **@handle, channel URL, or channel ID** and exports to **JSON, CSV or Excel**.

No YouTube login, no cookies, no Google API key, no quota. Pull a channel's **entire back catalog** — hundreds or thousands of videos — in a single run.

> ✅ No login · No API key · @handle / URL / ID supported · Videos, Shorts & Live · Whole catalog

---

### Why use this YouTube channel scraper?

- **The whole catalog, not page one.** Auto-paginates to the very end of the channel's Videos tab.
- **Videos, Shorts or Live.** Pick exactly which channel tab to scrape.
- **Rich per-video data.** View count (as a real integer), duration, publish date, thumbnail and watch URL.
- **Channel stats on every row.** Subscriber count, total videos, description, handle and ID.
- **Bulk channels.** Pass a list of channels and scrape them all at once.
- **No API quota.** The official YouTube Data API burns quota and caps results — this has neither limit.

---

### How to scrape a YouTube channel (step by step)

No coding required. Here's how to **extract all videos from a YouTube channel**:

1. **Open the actor** on Apify and click **Try for free**.
2. **Add the channel(s)** to the `channels` field — `@handle` (e.g. `@MrBeast`), a channel URL, or a `UC…` channel ID.
3. *(Optional)* Choose `contentType` (`videos`, `shorts`, `live`) and set `maxVideos` (use `0` for the entire channel).
4. Click **Start**.
5. **Export** the videos to CSV, Excel or JSON — or pull them through the Apify API.

**Automating it?** Trigger a run via the Apify API and schedule it daily to track a channel's new uploads automatically.

---

### What data can you extract from a YouTube channel?

| Data point | Field | Example |
|------------|-------|---------|
| Channel name | `channelTitle` | `"MrBeast"` |
| Subscribers | `channelSubscriberCount` | `489000000` |
| Total videos | `channelVideoCount` | `870` |
| Video title | `title` | `"Survive 30 Days On An Island…"` |
| Views | `viewCount` | `62000000` |
| Duration | `duration` / `durationSeconds` | `"39:09"` / `2349` |
| Published | `publishedTime` | `"5 days ago"` |
| Is a Short | `isShort` | `false` |
| Thumbnail | `thumbnail` | `https://i.ytimg.com/…` |
| Watch URL | `url` | `https://youtube.com/watch?v=…` |

---

### Use cases

- **Competitor analysis** — pull a rival channel's full upload history with views and dates to benchmark output and performance.
- **Influencer vetting** — assess a creator's catalog size, average views and posting cadence before a partnership.
- **Content & video SEO research** — analyze titles, durations and view distributions across a niche.
- **Trend tracking** — schedule it to monitor a set of channels' new uploads.
- **Dataset building** — assemble channel video catalogs for analytics, recommendation or AI pipelines.
- **Feed downstream tools** — collect `videoId`s here, then enrich with the Comments or Video Details scrapers.

---

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `channels` | `string[]` | — | `@handle`, channel URL, or `UC…` ID. |
| `contentType` | `string` | `videos` | `videos`, `shorts`, or `live`. |
| `maxVideos` | `integer` | `100` | Cap per channel. `0` = entire catalog. |
| `maxResults` | `integer` | `0` | Global cap across all channels. |

#### Example input

```json
{
  "channels": ["@MrBeast", "https://www.youtube.com/@mkbhd", "UCBJycsmduvYEL83R_U4JriQ"],
  "contentType": "videos",
  "maxVideos": 0
}
````

#### Example output

```json
{
  "channelTitle": "MrBeast",
  "channelSubscriberCount": 489000000,
  "videoId": "AaMdXZMvT3w",
  "title": "Survive 30 Days On An Island With Your Ex, Win $250,000",
  "url": "https://www.youtube.com/watch?v=AaMdXZMvT3w",
  "viewCount": 62000000,
  "duration": "39:09",
  "publishedTime": "5 days ago",
  "scrapedAt": "2026-05-22T07:30:00Z"
}
```

***

### How it works

This **YouTube channel video scraper** resolves any `@handle`, custom URL or `/channel/UC…` to the channel's browse ID, reads the channel's internal data (the same the website renders), and paginates the video grid to the end. It parses YouTube's current `lockupViewModel` video format — resilient to the layout migration that broke many older scrapers — and fetches a fresh access key per run with retries.

***

### Frequently asked questions

**Do I need a YouTube API key to scrape a channel?**
No — no key, no login, and none of the YouTube Data API's quota limits.

**Can it scrape a channel's entire video history?**
Yes. Set `maxVideos: 0` for the whole back catalog.

**How do I find a channel ID?**
You don't need to — just paste the `@handle` or channel URL and the actor resolves it.

**Can I scrape YouTube Shorts or live streams?**
Yes — set `contentType` to `shorts` or `live`.

**Can I scrape multiple channels at once?**
Yes — add as many channels as you like to the `channels` list.

**Can I scrape a channel without coding?**
Yes — paste the channel, click Start, download CSV/Excel/JSON. No code.

**Is scraping a YouTube channel legal?**
The actor collects only **public** channel and video data. Use it in line with YouTube's Terms and applicable laws.

**Why are views shown as `62M` somewhere and a number here?**
YouTube abbreviates views in listings; the actor parses them to an integer in `viewCount` and keeps the original text in `viewCountText`.

***

### Limits & notes

- Publish dates are **relative** (`"5 days ago"`); views are abbreviated by YouTube and parsed to integers.
- Shorts expose views but usually no duration.
- For exact upload timestamps or per-video like counts, pair with the **YouTube Video Details Scraper**.

***

### The complete YouTube scraping toolkit

- **[YouTube Comments Scraper](https://apify.com/logiover/youtube-comments-scraper)** — all comments for these videos
- **[YouTube Video Details Scraper](https://apify.com/logiover/youtube-video-details-scraper)** — exact views, likes & tags
- **[YouTube Search Scraper](https://apify.com/logiover/youtube-search-scraper)** — find channels & videos by keyword
- **[YouTube Influencer Discovery](https://apify.com/logiover/youtube-influencer-discovery-scraper)** — creators, engagement & emails

***

### 💰 Pricing

Pay-per-result — you only pay for the videos you actually get. No proxy or YouTube API costs.

### 🆘 Support

Need exact upload timestamps, per-video like counts, or the channel's playlists too? Open an issue on the actor's page.

# Actor input Schema

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

YouTube channels to scrape. Accepts @handles (e.g. '@MrBeast'), channel URLs (https://www.youtube.com/@MrBeast or /channel/UC...), or bare UC… channel IDs.

## `contentType` (type: `string`):

Which channel tab to scrape: long-form 'videos', vertical 'shorts', or past 'live' streams.

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

Hard cap on videos saved per channel. Set 0 for unlimited (the channel's entire back catalog).

## `maxResults` (type: `integer`):

Global cap across all channels in the run. 0 = unlimited.

## Actor input object example

```json
{
  "channels": [
    "@MrBeast"
  ],
  "contentType": "videos",
  "maxVideos": 100,
  "maxResults": 0
}
```

# Actor output Schema

## `channelTitle` (type: `string`):

Channel name

## `title` (type: `string`):

Video title

## `viewCount` (type: `string`):

View count

## `publishedTime` (type: `string`):

Relative publish

## `duration` (type: `string`):

Video duration

## `videoId` (type: `string`):

Video ID

## `url` (type: `string`):

Video URL

## `thumbnail` (type: `string`):

Thumbnail URL

## `scrapedAt` (type: `string`):

Scrape timestamp

# 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": [
        "@MrBeast"
    ],
    "contentType": "videos"
};

// Run the Actor and wait for it to finish
const run = await client.actor("logiover/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": ["@MrBeast"],
    "contentType": "videos",
}

# Run the Actor and wait for it to finish
run = client.actor("logiover/youtube-channel-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "@MrBeast"
  ],
  "contentType": "videos"
}' |
apify call logiover/youtube-channel-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=logiover/youtube-channel-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "YouTube Channel Scraper",
        "description": "Scrape every video from any YouTube channel with full stats: title, views, duration, publish date, thumbnail and video URL, plus channel subscriber count and metadata. Works by @handle, URL or channel ID. No login, no API key. Export to JSON/CSV/Excel.",
        "version": "1.0",
        "x-build-id": "X8vxtT5ycPRE9MESb"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/logiover~youtube-channel-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-logiover-youtube-channel-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/logiover~youtube-channel-scraper/runs": {
            "post": {
                "operationId": "runs-sync-logiover-youtube-channel-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/logiover~youtube-channel-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-logiover-youtube-channel-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "channels"
                ],
                "properties": {
                    "channels": {
                        "title": "Channels",
                        "type": "array",
                        "description": "YouTube channels to scrape. Accepts @handles (e.g. '@MrBeast'), channel URLs (https://www.youtube.com/@MrBeast or /channel/UC...), or bare UC… channel IDs.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "contentType": {
                        "title": "Content type",
                        "enum": [
                            "videos",
                            "shorts",
                            "live"
                        ],
                        "type": "string",
                        "description": "Which channel tab to scrape: long-form 'videos', vertical 'shorts', or past 'live' streams.",
                        "default": "videos"
                    },
                    "maxVideos": {
                        "title": "Max videos per channel",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Hard cap on videos saved per channel. Set 0 for unlimited (the channel's entire back catalog).",
                        "default": 100
                    },
                    "maxResults": {
                        "title": "Max results (all channels)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Global cap across all channels in the run. 0 = unlimited.",
                        "default": 0
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
