# YouTube New Video Monitor (`vizellie/youtube-new-video-monitor`) Actor

New public videos from YouTube's official channel feeds. One row per video, with the title, publish date and watch link. No comments and no view or like counts.

- **URL**: https://apify.com/vizellie/youtube-new-video-monitor.md
- **Developed by:** [Vi Zellie](https://apify.com/vizellie) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 saved 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 New Video Monitor

New public videos from YouTube's official channel feeds. One row per video.

This Actor reads YouTube's official Atom feed. It does not scrape watch pages, it does not call the YouTube Data API, and it does not need a Google API key. It does not return comments, commenter names, view counts, like counts or subscriber counts.

### Who it is for

Agencies and news desks that want a short list of what a public channel uploaded, on a schedule, without copying it off the watch page.

### What you get

- One row per video: channel id, channel name when the feed gives one, video id, title, published time, and the watch link `https://www.youtube.com/watch?v=VIDEO_ID`.
- Several channels in one run. A channel that fails does not drop the others.
- A cap. The form starts at 5 videos. If you leave **Max videos** out of an API or scheduled input, the cap is 15, which is also the most uploads one channel feed returns.
- Optional **New videos only**, off by default. Turn it on for a schedule. Seen video ids are kept in the key-value store `youtube-new-video-state`, so the next run can skip videos it already saved. The first run saves what is in the feed, up to the cap. Videos that did not fit stay unseen and can be saved next time.

### What you can paste

- A channel id that starts with `UC`.
- `https://www.youtube.com/channel/UC...`
- The official feed `https://www.youtube.com/feeds/videos.xml?channel_id=UC...`
- `youtube.com/@handle`, `/c/...` or `/user/...`, including the same paths on `m.youtube.com`.

A handle or custom link is fetched once. The run looks only for the page's official feed link (`link rel="alternate"` pointing at `feeds/videos.xml`). It does not read titles, descriptions or comments from that HTML. If the page has no feed link, that channel is skipped and the other channels continue. A channel id, a `/channel/UC...` link, or a `videos.xml` link does not need that page. A link to one video is not a channel. It is skipped, the page is not opened, and you are not charged for it.

### Try it

1. Leave **Channels** on NASA's public channel, `https://www.youtube.com/channel/UCLA_DiR1FfKNvjuUpBHmylQ`.
2. Leave **Max videos** at 5.
3. Leave **New videos only** off.
4. Run the Actor. The dataset has up to 5 videos. `OUTPUT` says how many were saved.

### Example input

```json
{
  "channels": ["https://www.youtube.com/channel/UCLA_DiR1FfKNvjuUpBHmylQ"],
  "maxResults": 5,
  "newVideosOnly": false
}
```

A run that omits `maxResults` saves up to 15 videos per run, not 5. The 5 is only the form's trial value. A task you save from the form keeps 5, because that value is stored on the task.

### Example output

```json
{
  "channelId": "UCLA_DiR1FfKNvjuUpBHmylQ",
  "channelName": "NASA",
  "videoId": "MRg4uIpJ3xE",
  "title": "NASA Moon Base: November 2026 Update (Nov. 7, 2026)",
  "publishedAt": "2026-11-07T23:39:59+00:00",
  "url": "https://www.youtube.com/watch?v=MRg4uIpJ3xE"
}
```

The feed changes. This row is one public NASA upload from the feed, so you can see the shape.

### Pricing

You pay a small fee when the run starts, then a fee for each video that is saved.

| What | Price |
|---|---|
| Run start | $0.00005 |
| Saved video | $0.002 |

A channel whose feed could not be fetched is not charged. Videos past the cap, duplicates, and videos skipped by **New videos only** are not charged.

**Examples**

- The form, NASA, up to 5 videos: 5 x $0.002 = **$0.01**, plus the $0.00005 start fee.
- The omitted cap of 15 videos, all saved: 15 x $0.002 = **$0.03**, plus the start fee.
- A run that saves nothing: **$0.00005**.

The pricing tab on the store is the price you are charged if it ever differs.

### Scheduling

Save a task with **New videos only** on, and schedule it. Keep the same channels. The seen list lives in `youtube-new-video-state`, which later runs can read. The store is opened only when that switch is on. If the token cannot open it, the run uses its own store, says so in `OUTPUT`, and still finishes. On that fallback the list does not carry to the next run.

### No personal data

This Actor does not collect personal data.

- It does not ask for comments or commenter names.
- It does not save view counts, like counts, subscriber counts or video descriptions.
- An email address or a phone number in a title or channel name is removed before the row is saved.
- Raw feeds and channel HTML are not stored.
- Logs do not include the address that was called.

### FAQ

**Why was a handle skipped?**
The channel page did not include an official `videos.xml` link. Paste the `UC` id or the feed URL instead.

**Why was a video link skipped?**
A link to one video is not a channel page. The run does not open it. Paste the channel id, the channel page, `@handle`, `/c/`, `/user/`, or the official feed.

**Why are there only 15 videos?**
That is what YouTube puts in the channel feed. This Actor does not call the Data API, so it cannot page further back.

**Where do the rows come from?**
YouTube's official channel feed. This Actor is not affiliated with YouTube or Google.

### Next additions

- A playlist feed, if you paste a playlist id.
- A note when a saved video's title changes.

### Feedback

Missing a field? Open an issue on the Actor's Issues tab.

# Actor input Schema

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

YouTube channels to read. Paste a channel id that starts with UC, a youtube.com/channel/UC link, the official videos.xml feed link, or a youtube.com/@handle, /c/ or /user/ link, including m.youtube.com. A link to one video is not a channel and is skipped. One per line.

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

Most videos saved in one run, from 1 to 15. A channel feed lists at most 15 uploads. The form starts at 5 so a trial stays small. When this field is omitted, the cap is 15.

## `newVideosOnly` (type: `boolean`):

Off by default. When on, videos already saved are skipped. Ids are kept in the key-value store youtube-new-video-state so a later scheduled run can save only uploads it has not saved before. The first run saves what is in the feed, up to Max videos.

## Actor input object example

```json
{
  "channels": [
    "https://www.youtube.com/channel/UCLA_DiR1FfKNvjuUpBHmylQ"
  ],
  "maxResults": 5,
  "newVideosOnly": false
}
```

# Actor output Schema

## `videos` (type: `string`):

One row per saved video: channel, title, publish date and watch link.

## `summary` (type: `string`):

The OUTPUT record in the default key-value store.

# 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/channel/UCLA_DiR1FfKNvjuUpBHmylQ"
    ],
    "maxResults": 5,
    "newVideosOnly": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("vizellie/youtube-new-video-monitor").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/channel/UCLA_DiR1FfKNvjuUpBHmylQ"],
    "maxResults": 5,
    "newVideosOnly": False,
}

# Run the Actor and wait for it to finish
run = client.actor("vizellie/youtube-new-video-monitor").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/channel/UCLA_DiR1FfKNvjuUpBHmylQ"
  ],
  "maxResults": 5,
  "newVideosOnly": false
}' |
apify call vizellie/youtube-new-video-monitor --silent --output-dataset

```

## MCP server setup

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

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/srdeUGCfgzNbYLAFr/builds/OSlMTPxKMBEZVRxGR/openapi.json
