# YouTube Channel Videos Feed & Upload Tracker (`ailu_studio/youtube-channel-videos`) Actor

Export recent YouTube channel uploads from public feeds. Return video metadata or newly observed uploads for channel-monitoring workflows.

- **URL**: https://apify.com/ailu_studio/youtube-channel-videos.md
- **Developed by:** [Ailu Studio](https://apify.com/ailu_studio) (community)
- **Categories:** Videos, Social media, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 video rows

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Feed & Upload Tracker

Export recent YouTube channel uploads from public feeds. Return video metadata or newly observed uploads for channel-monitoring workflows.

### Try a small sample

Paste this into the Input JSON editor, run the Actor, then inspect its dataset. Export JSON or CSV from the dataset, or use the API tab for authenticated integration examples.

```json
{
  "channels": [
    "UC_x5XG1OV2P6uZZ5FSM9Ttw"
  ],
  "outputMode": "all",
  "maxItems": 10
}
```

### Workflow example

Use the same channel list and history store for upload alerts. Public feeds expose recent uploads, not a complete channel archive.

```json
{
  "channels": [
    "UC_x5XG1OV2P6uZZ5FSM9Ttw"
  ],
  "outputMode": "new",
  "maxItems": 30
}
```

Examples show supported inputs, not guaranteed result counts. Public sources and filters can produce fewer rows or zero rows. Check the run log and any summary/error records before treating the output as complete.

For recurring use, save the input as an Apify Task and schedule sequential runs. Export results to your own spreadsheet, database, n8n or Make workflow. Scheduling does not add stateful tracking to Actors that only return snapshots. Keep API credentials in environment variables.

### Related workflow

[RSS & Atom Feed Reader: News & Podcasts](https://apify.com/ailu_studio/rss-feed-reader) can complement this Actor. It runs separately and has its own price and input requirements.

### Detailed reference

### YouTube Channel Videos Monitor: Latest Uploads of Many Channels via RSS

Monitor the latest uploads of any number of YouTube channels and playlists and get clean JSON rows: video ID, title, description, publish time, views, likes, thumbnail, Shorts flag and channel details. Paste channel IDs, channel URLs, `@handles` or playlist links; schedule it with `outputMode: "new"` and every run returns only videos you have not seen yet. This is the lightweight option: it reads YouTube's official RSS feeds, so it needs no API key, no browser and no proxy, finishes in seconds for a typical watchlist, has built-in "new videos only" memory and costs $0.80 per 1,000 rows with no start fee (the most used YouTube channel Actor in the Store charges $1.30).

### Use cases

- Alert a Slack channel, CRM or AI agent when a competitor, creator or news channel uploads.
- Track upload cadence and early views / likes of a watchlist of channels.
- Feed new videos of selected channels into a transcript, summary or clipping pipeline.
- Keep a spreadsheet of the latest videos of every channel in a niche.

### Input

| Field | Default | Meaning |
|---|---|---|
| `channels` | `["UC_x5XG1OV2P6uZZ5FSM9Ttw", "@mkbhd"]` | Channel IDs, channel URLs, `@handles`, `/c/` or `/user/` URLs, playlist IDs or playlist URLs. |
| `outputMode` | `all` | `all` = latest uploads of every channel; `new` = only videos not returned by earlier runs. |
| `stateStoreName` | `youtube-channel-videos-state` | Memory used by `new`. One name per watchlist. |
| `includeShorts` | `true` | Set `false` to leave out videos the feed links as Shorts. |
| `maxItems` | `200` | Cap on rows, newest first across all channels. |

Monitoring example (run every hour or day): `{ "channels": ["@mkbhd", "@veritasium", "UC_x5XG1OV2P6uZZ5FSM9Ttw"], "outputMode": "new" }`

### Output

| Field | Meaning |
|---|---|
| `id` | YouTube video ID. |
| `channelId`, `channelTitle`, `channelUrl` | Video owner. |
| `title`, `description` | Title and description (description cut to 2,000 characters). |
| `publishedAt`, `updatedAt` | Publish time and last feed update (ISO 8601 UTC). |
| `url`, `isShort` | Video link as given by the feed (`/watch?v=` or `/shorts/`) and a Shorts flag. |
| `thumbnailUrl` | 480x360 thumbnail. |
| `views`, `likes` | Counts reported in the feed. |
| `playlistId`, `input` | Playlist (for playlist inputs) and the input that returned the video. |
| `changeType`, `firstSeenAt`, `lastSeenAt` | Only in `new` mode. |
| `fetchedAt` | When the feed was read. |

Sample (description shortened):

```json
{
  "id": "rsOiZE19RVo",
  "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
  "channelTitle": "Google for Developers",
  "channelUrl": "https://www.youtube.com/channel/UC_x5XG1OV2P6uZZ5FSM9Ttw",
  "title": "Accelerate shipping to scale with Google Antigravity",
  "description": "Building software to move tens of millions of vehicles requires massive infrastructure. Using Google Antigravity, Move Cars delivers fully tested production fea...",
  "publishedAt": "2026-10-29T20:00:20.000Z",
  "updatedAt": "2026-11-02T00:41:18.000Z",
  "url": "https://www.youtube.com/watch?v=rsOiZE19RVo",
  "isShort": false,
  "thumbnailUrl": "https://i3.ytimg.com/vi/rsOiZE19RVo/hqdefault.jpg",
  "views": 12905,
  "likes": 101,
  "playlistId": null,
  "input": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
  "fetchedAt": "2026-11-04T12:00:00.000Z"
}
```

### How it works and limits

- Reads `https://www.youtube.com/feeds/videos.xml?channel_id=<UC...>` (or `?playlist_id=`) once per channel or playlist (up to 3 in parallel, request starts at least 0.3 s apart), with retries on 429/5xx.
- **Each feed contains only the 15 most recent uploads** of a channel (or 15 latest playlist items). This Actor is built for monitoring, not for downloading a full channel history. Schedule it often enough that a channel cannot upload more than 15 videos between runs.
- `@handles` and `/c/` / `/user/` URLs are resolved once per run by reading the channel page until its canonical channel ID appears. Channel IDs (UC...) skip this request and are the most robust input.
- Views and likes come from the feed and can lag behind the watch page. Comment counts, duration, tags, subscriber counts and transcripts are not in the feed and not returned.
- Shorts are detected from the feed's own link (`youtube.com/shorts/...`), without extra requests.
- `new` mode remembers videos for 45 days after they were last seen, so a video pushed out of the 15-item feed, or a channel that failed in one run, does not come back as new. `all` mode does not read or update the memory.

### Pricing

Pay per result: **$0.80 per 1,000 rows** (`result` event). Platform usage is billed separately by Apify. Removed/free rows are not charged.

### Legal

Not affiliated with YouTube or Google. Uses the public YouTube RSS feeds only. Data licence/terms: https://www.youtube.com/t/terms.

### FAQ

**Can I get more than 15 videos per channel?**
No, the RSS feed is limited to the 15 latest uploads. Run on a schedule with `outputMode: "new"` to build a complete history going forward.

**How do I find a channel ID?**
Paste the `@handle` or channel URL; the Actor resolves it. The ID (starting with UC) is also in each row as `channelId`, so you can switch to IDs later.

**How many channels can I monitor?**
Hundreds per run. Each channel is one small request and requests start about 3 per second, so 200 channels take roughly a minute.

**Why did a handle fail?**
The handle does not exist, or YouTube served a page without the channel ID (for example a cookie-consent page). Use the channel ID (UC...) instead.

# Actor input Schema

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

Channel IDs (UC...), channel URLs (youtube.com/channel/UC...), handles (@mkbhd or youtube.com/@mkbhd), legacy /c/ or /user/ URLs, playlist IDs (PL...) or playlist URLs. Handles are resolved to channel IDs with one page request each.

## `outputMode` (type: `string`):

"all" (default) returns the latest uploads of every channel. "new" returns only videos not returned before by runs with the same memory name, ideal for scheduled monitoring. The first "new" run returns everything as new.

## `stateStoreName` (type: `string`):

Name of the key-value store that remembers which videos were seen (used by "new"). Use one name per watchlist; a new name starts fresh.

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

When false, videos that the feed links as YouTube Shorts (youtube.com/shorts/...) are left out and not charged.

## `maxItems` (type: `integer`):

Upper limit on returned rows (default 200). Videos are sorted newest first across all channels before the limit is applied.

## Actor input object example

```json
{
  "channels": [
    "UC_x5XG1OV2P6uZZ5FSM9Ttw",
    "@mkbhd"
  ],
  "outputMode": "all",
  "stateStoreName": "youtube-channel-videos-state",
  "includeShorts": true,
  "maxItems": 200
}
```

# Actor output Schema

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

All rows in the default dataset.

# 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": [
        "UC_x5XG1OV2P6uZZ5FSM9Ttw",
        "@mkbhd"
    ]
};

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ailu_studio/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/zkY75Bmh3VMnKuil2/builds/gvBby3rdcUbUAhbFP/openapi.json
