# YouTube Channel Videos Scraper (bulk, lightweight) (`steadydata/youtube-channel-videos`) Actor

List every video of a YouTube channel: title, video id, duration, view count, publish date and thumbnail, plus channel name, handle and subscriber count. Paste channel URLs, @handles or channel ids. Only delivered videos are charged.

- **URL**: https://apify.com/steadydata/youtube-channel-videos.md
- **Developed by:** [Steadydata Team](https://apify.com/steadydata) (community)
- **Categories:** Videos, AI, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.35 / 1,000 video listeds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 Videos Scraper (bulk, lightweight)

Get the full video list of any YouTube channel: **title, video id, duration, view
count, publish date and thumbnail**, with the channel's name, handle and subscriber
count on every row. Paste channel URLs, `@handles` or channel ids, up to 100 channels
per run. **You only pay for videos that are actually delivered.**

### Why this scraper

- **Built on a lightweight route.** Loading a channel page costs about 1.5 MB for the
  first 30 videos. This actor asks YouTube's own internal API instead and needs about
  2.3 KB per video, which is where the low price comes from.
- **Only delivered videos are charged.** A channel that does not exist, has no public
  videos, or is temporarily blocked comes back as a clear error record at no cost.
- **A hard cost ceiling you control.** `maxVideosPerChannel` is the cap: one delivered
  video is one charged event, so you always know the maximum before you press start.
- **Agent-ready output.** One flat row per video with a stable schema and explicit
  error codes, so it drops straight into a pipeline or an LLM tool.
- **Every input format works.** `@mkbhd`, `https://www.youtube.com/@mkbhd`,
  `/channel/UC...`, `/c/Name`, `/user/Name` or a bare channel id.

### Who this is for

Content researchers mapping what a channel publishes, competitor and market analysts
tracking output and view counts, and teams that need a channel's back catalogue as
input for further processing, for example to fetch transcripts afterwards.

### Who this is not for

If you want one channel's latest video once, the YouTube website is faster and free.
This actor earns its place from the tenth channel onwards, or when you need the whole
back catalogue in one table.

It returns public video and channel metadata only. It does not collect comments,
commenter names, subscriber lists or any other personal data.

### Input example

```json
{
    "channels": [
        "@mkbhd",
        "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
        "UCBJycsmduvYEL83R_U4JriQ"
    ],
    "maxVideosPerChannel": 100,
    "language": "en",
    "country": "US"
}
```

### Output example

```json
{
    "channelId": "UCBJycsmduvYEL83R_U4JriQ",
    "channelName": "Marques Brownlee",
    "channelHandle": "@mkbhd",
    "channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
    "channelSubscribers": 21200000,
    "channelVideoCount": 1800,
    "videoId": "Od6M0AXpcxQ",
    "url": "https://www.youtube.com/watch?v=Od6M0AXpcxQ",
    "title": "iPhone 18 Pro/Duo Impressions: Mogged",
    "duration": "17:14",
    "durationSeconds": 1034,
    "viewCount": 14290382,
    "publishedText": "1 day ago",
    "thumbnailUrl": "https://i.ytimg.com/vi/Od6M0AXpcxQ/maxresdefault.jpg",
    "status": "ok"
}
```

A channel that cannot be delivered produces an error record instead, and is **not**
charged:

```json
{
    "input": "@thischanneldoesnotexist12345",
    "status": "error",
    "errorCode": "CHANNEL_NOT_FOUND",
    "error": "YouTube does not know this channel"
}
```

Error codes: `INVALID_CHANNEL`, `CHANNEL_NOT_FOUND`, `NO_VIDEOS`, `BLOCKED`.

### Pricing

Pay per event: one `video-listed` event per delivered video. No charge for channels
that fail, no charge for channels without public videos, no separate platform-usage
surcharge.

### FAQ

**How far back does it go?**
As far as you ask. Set `maxVideosPerChannel` and the actor pages through the channel,
newest first, until it reaches your limit or runs out of videos.

**Why is the publish date a text like "1 day ago"?**
That is what YouTube returns on this route. It is kept exactly as given rather than
converted into a date that would be a guess. Set `language` if you want that text in
another language.

**Does it include Shorts and live streams?**
Not in this version. It returns the channel's Videos tab, which is the regular
uploads. Shorts and past live streams sit behind separate tabs and are a candidate
for a later version.

**Is personal data collected?**
No. Public video and channel metadata only. No comments, no commenter names, no
subscriber lists.

**What happens when YouTube changes something?**
Internal routes shift from time to time; that is the nature of this work. The
difference here is the response: the actor is monitored daily and fixed fast, and
while it is broken you are not charged, because only delivered videos cost anything.

**Can I combine this with transcripts?**
Yes, and that is a common pattern: run this actor to get a channel's video ids, then
feed those ids into the YouTube Transcript Scraper from the same publisher.

# Actor input Schema

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

Channel URLs, @handles or channel ids. All of these work: https://www.youtube.com/@mkbhd, @mkbhd, https://www.youtube.com/channel/UCBJycsmduvYEL83R\_U4JriQ, UCBJycsmduvYEL83R\_U4JriQ.

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

Stop after this many videos per channel, newest first. This is your cost ceiling: one delivered video is one charged event.

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

Interface language for the texts YouTube returns, e.g. en, nl, de. Affects wording such as the publish date.

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

ISO country code used for the request, e.g. US, NL, DE.

## Actor input object example

```json
{
  "channels": [
    "@mkbhd"
  ],
  "maxVideosPerChannel": 100,
  "language": "en",
  "country": "US"
}
```

# Actor output Schema

## `results` (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": [
        "@mkbhd"
    ]
};

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

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

```

## MCP server setup

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

```

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/I46Go5vcxK6giyIAc/builds/glMk1CtzMcxsp21hb/openapi.json
