# YouTube Channel Videos Scraper (`scrapemamba/youtube-channel-videos-scraper`) Actor

Scrape YouTube channel videos from the uploads tab into Dataset rows: IDs, titles, views, durations, thumbnails. List YouTube channel videos with true pagination — not Shorts.

- **URL**: https://apify.com/scrapemamba/youtube-channel-videos-scraper.md
- **Developed by:** [Scrape Mamba](https://apify.com/scrapemamba) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.39 / 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.

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 Videos Scraper — List Channel Uploads

Scrape a channel’s **Videos / uploads** tab into capped Dataset rows: video IDs, titles, views, durations, thumbnails, and watch URLs — ready for competitor tracking, calendars, and enrichment pipelines.

**[Run YouTube Channel Videos Scraper on Apify](https://apify.com/scrapemamba/youtube-channel-videos-scraper)** · Built by **ScrapeMamba** · Uploads tab only (use Shorts Scraper for verticals) · Not a downloader

***

### Why this Actor?

Listing a creator’s uploads is the backbone of competitor tracking, content calendars, and enrichment pipelines. This Actor lists the public uploads shelf, writes one row per video, and stops cleanly at your `maxResults` cap — so cost and run time stay predictable.

- Lists beyond a single page of uploads
- Accepts `@handles`, channel URLs, or `UC…` IDs
- Cap volume per channel with `maxResults`
- Pair with Video Scraper for deeper per-ID fields

***

### Key features

- **YouTube channel videos** from the uploads tab
- Explicit cost control via `maxResults`
- Isolated `error` rows when a channel fails
- Stable `videoId` + `channelId` for joins
- Export JSON / CSV / Excel or run via Apify API

***

### What you can scrape

| Group | Fields |
|---|---|
| Identity | `videoId`, `url`, `channelId`, `input`, `page` |
| Listing | `title`, `author`, `thumbnail`, `publishedTime` |
| Metrics | `views`, `length` (seconds) |
| Flags | `isShort` (when present on listing items) |
| Diagnostics | `type` (`video` / `error`), `raw`, `error` |

***

### Use cases

- **Competitor research** — Pull recent uploads across rival channels
- **Channel analysis** — Measure posting cadence and view labels over time
- **Content research** — Build topic lists from titles before full enrichment
- **Lead scoring** — Check activity with a low `maxResults` before outreach
- **Dataset building** — Create an uploads fact table keyed by `videoId`

***

### Example output

```json
{
  "type": "video",
  "channelId": "UCX6OQ3DkcsbYNE6H8uQQuVA",
  "input": "https://www.youtube.com/@IShowSpeed",
  "page": 1,
  "videoId": "abc123xyz01",
  "title": "Example upload title",
  "author": "IShowSpeed",
  "views": 1200000,
  "length": 842,
  "publishedTime": "2 days ago",
  "thumbnail": "https://i.ytimg.com/vi/abc123xyz01/hqdefault.jpg",
  "url": "https://www.youtube.com/watch?v=abc123xyz01",
  "isShort": false
}
```

***

### How to use

1. Open **[YouTube Channel Videos Scraper](https://apify.com/scrapemamba/youtube-channel-videos-scraper)**
2. Add `channels` and set `maxResults` (default `60`)
3. Run → export Dataset or pull via API

#### Input example

```json
{
  "channels": ["https://www.youtube.com/@IShowSpeed"],
  "maxResults": "30"
}
```

#### API (Node.js)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('scrapemamba/youtube-channel-videos-scraper').call({
  channels: ['@GoogleDevelopers'],
  maxResults: '60',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

#### Local run

```bash
cd youtube-channel-videos-scraper-js
cp .env.example .env
npm install
node src/main.js
```

***

### Input parameters

| Parameter | Required | Default | Description |
|---|---|---|---|
| `channels` | Yes | — | Channel IDs, `@handles`, or URLs |
| `maxResults` | No | `"60"` | Max videos **per channel**. Free users are capped at **200**; paying users are uncapped. |

***

### Output

Successful rows use `type: "video"` with listing fields plus `raw`. A failed channel pushes `type: "error"` with the original `input` and does not abort siblings.

`maxResults` is an upper bound — channels with fewer uploads return fewer rows.

***

### Why choose this Actor

- **Deep catalogs** — Keeps listing until your `maxResults` cap or the channel ends
- **Cost-aware** — Cap per channel so discovery stays cheaper than full enrichment
- **Separation of concerns** — List here, enrich with Video Scraper, caption with Subtitles
- **Shorts stay separate** — Use Channel Shorts Scraper when you need the Shorts shelf

***

### Pricing

**$0.39 per 1,000 results** on Apify. Free users: `maxResults` capped at **200** per channel. Details on the [Store page](https://apify.com/scrapemamba/youtube-channel-videos-scraper).

***

### FAQ

#### How do I scrape YouTube channel videos?

Pass channels, choose `maxResults`, start the Actor, and export the Dataset.

#### Does it include Shorts?

This Actor targets the **uploads / Videos** tab. For Shorts catalogs use [YouTube Channel Shorts Scraper](https://apify.com/scrapemamba/youtube-channel-shorts-scraper).

#### What is the default `maxResults`?

`"60"`. Free users are capped at **200** per channel; paying users have no hard upper bound.

#### Why did I get fewer rows than `maxResults`?

The channel may have fewer public uploads than your cap. The cap is a maximum, not a guarantee.

#### Can I get full descriptions and likes?

Listing rows are shelf metadata. Enrich IDs with [YouTube Video Scraper](https://apify.com/scrapemamba/youtube-video-scraper) for richer details.

***

### Related Actors

| Actor | Use it for |
|---|---|
| [YouTube Channel Scraper](https://apify.com/scrapemamba/youtube-channel-scraper) | Profile stats |
| [YouTube Channel Shorts Scraper](https://apify.com/scrapemamba/youtube-channel-shorts-scraper) | Shorts shelf |
| [YouTube Video Scraper](https://apify.com/scrapemamba/youtube-video-scraper) | Per-video details |
| [YouTube Subtitles Scraper](https://apify.com/scrapemamba/youtube-subtitles-scraper) | Captions for selected IDs |

Use only on **public** channel data per YouTube’s terms and applicable law.

# Actor input Schema

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

Channel IDs, @handles, or URLs.

## `maxResults` (type: `string`):

Maximum videos per channel. Free users are capped at 200.

## Actor input object example

```json
{
  "channels": [
    "https://www.youtube.com/@IShowSpeed"
  ],
  "maxResults": "60"
}
```

# Actor output Schema

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

Default dataset items produced by this Actor.

# 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": [
        "https://www.youtube.com/@IShowSpeed"
    ],
    "maxResults": "60"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapemamba/youtube-channel-videos-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": ["https://www.youtube.com/@IShowSpeed"],
    "maxResults": "60",
}

# Run the Actor and wait for it to finish
run = client.actor("scrapemamba/youtube-channel-videos-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 '{
  "channels": [
    "https://www.youtube.com/@IShowSpeed"
  ],
  "maxResults": "60"
}' |
apify call scrapemamba/youtube-channel-videos-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapemamba/youtube-channel-videos-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/FrJMXXfKZVQja7bhn/builds/sHwlqLsajsHTtc1tu/openapi.json
