# YouTube New Video Monitor — Channel Uploads with Exact Dates (`alex_fodo/youtube-new-video-monitor`) Actor

Track new uploads from many YouTube channels via official channel RSS feeds. Exact publish timestamps, views, likes, descriptions and Shorts flag. Optional only-new mode remembers what you already received.

- **URL**: https://apify.com/alex_fodo/youtube-new-video-monitor.md
- **Developed by:** [AGENT DOJO](https://apify.com/alex_fodo) (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.35 / 1,000 returned videos

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/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 — Channel Uploads with Exact Dates

Track new uploads from many YouTube channels and get **exact publish timestamps**, titles, descriptions, views, likes, thumbnails and a Shorts flag — read from YouTube's official channel RSS feeds. Turn on **only-new mode** and schedule the Actor to receive just the videos you have not received before.

No YouTube login, API key, browser or proxy is needed.

### What you can use it for

- **Competitor and creator monitoring:** a daily list of new uploads from the channels you follow.
- **Content curation and newsletters:** new videos from a topic list with exact dates.
- **Alerts and automations:** send new videos to Slack, Google Sheets, email or webhooks using Apify integrations.
- **Dashboards:** views and likes snapshots of recent uploads.

### Quick start

```json
{
  "channels": ["@mkbhd", "https://www.youtube.com/@veritasium", "UCLA_DiR1FfKNvjuUpBHmylQ"],
  "onlyNew": true,
  "monitorName": "my-tech-channels"
}
```

1. Add channels as `@handle`, channel URL (`youtube.com/@name`, `/channel/UC…`, `/c/name`, `/user/name`) or channel ID (`UC…`). Up to 500 per run.
2. For monitoring, enable **Only videos not returned before**, pick a **Monitor name** (`monitorName`) and create a **schedule** (for example daily).
3. Read the dataset (new videos) and the `OUTPUT` record (per-channel status).

The **first run** for a channel in only-new mode returns its current feed (about 15 latest uploads) and starts remembering them. Later runs return only videos that were not returned before for the same `monitorName`.

#### Why only-new mode uses video IDs, not dates

YouTube sometimes adds a video to the channel feed hours after its publish time. In our test, four videos published 3–20 hours earlier appeared in feeds between two runs a few minutes apart. A "published since last run" date filter would miss them; remembering video IDs does not.

### Output

One dataset item per video:

| Field | Meaning |
|---|---|
| `published_at` | Exact publish time from the feed (ISO 8601, e.g. `2026-11-11T18:43:56+00:00`) |
| `updated_at` | Last feed update time for the entry |
| `title`, `description` | Video title and description (description may be empty) |
| `url`, `video_id`, `is_short` | Video link; `is_short` is `true` when YouTube links it as `/shorts/` |
| `views`, `likes` | Counts reported in the feed at `observed_at` (snapshots) |
| `thumbnail_url` | Thumbnail image |
| `channel_id`, `channel_title`, `channel_url`, `channel_input` | Channel and the input value it came from |
| `is_new` | `true` when only-new mode was on |
| `observed_at`, `source` | Collection time; `youtube_rss` |

Example item:

```json
{
  "video_id": "hdMszZ2ah5Q",
  "url": "https://www.youtube.com/watch?v=hdMszZ2ah5Q",
  "is_short": false,
  "title": "…",
  "published_at": "2026-11-11T18:43:56+00:00",
  "views": 5022415,
  "likes": 67925,
  "channel_id": "UCBJycsmduvYEL83R_U4JriQ",
  "channel_title": "Marques Brownlee",
  "source": "youtube_rss"
}
```

The `OUTPUT` key-value record contains `status` (`SUCCEEDED`, `PARTIAL`, `FAILED`), counts, `stop_reason`, `remaining_channels` and a `channels` list with each channel's `status` (`ok`, `error`, `duplicate`), `error_code`, `videos_in_feed`, `videos_returned` and `first_seen`.

Error codes: `INVALID_CHANNEL` (not a channel URL/handle/ID — video, playlist and search URLs are rejected), `CHANNEL_NOT_FOUND`, `CHANNEL_ID_NOT_FOUND`, `CONSENT_REQUIRED`, `RATE_LIMITED`, `TIMEOUT`, `NETWORK_ERROR`, `SOURCE_HTTP_ERROR`, `INVALID_FEED`, `FEED_TOO_LARGE`, `UNEXPECTED_REDIRECT`. A rate-limit response stops the run and lists unprocessed channels in `remaining_channels`. If no channel can be read, the run fails after writing `OUTPUT`.

### Options

| Input | Default | Description |
|---|---|---|
| `onlyNew` | `false` | Return only videos not returned before for the same `monitorName` |
| `monitorName` | `default` | Separate memory per monitor (1–40 letters, digits, `-`, `_`) |
| `includeVideos` / `includeShorts` | `true` / `true` | Choose regular videos, Shorts or both |
| `publishedAfter` | — | Skip uploads published before this ISO date/time |
| `maxVideosPerChannel` | `15` | 1–15 newest uploads per channel |
| `maxRunSecs` | `600` | Stop starting new channels after this time |

### Limits — please read

- **Latest uploads only.** The official feed contains about **15 newest uploads per channel**. This Actor is for monitoring new videos, not for downloading a channel's full history.
- No video duration, comments, transcripts or subscriber counts. Views and likes are snapshots from the feed.
- Handles and custom URLs are resolved once by reading the beginning of the channel page (about 0.8 MB) and then cached in your account; channel IDs (`UC…`) skip this step.
- Memory for only-new mode and the handle cache are stored in a named key-value store `youtube-new-video-monitor-state` in **your** Apify account. Deleting it resets the monitor.
- Feeds can include videos later than their publish time and occasionally omit items temporarily. Availability of YouTube's feeds is not guaranteed.

### Measured performance (13 November 2026)

Local run, 99 inputs (90 existing channels, 6 non-existent handles, 2 duplicates, 1 video URL): all 90 existing channels read, 1,335 videos, 107 s on the first run; second only-new run 43 s (cached handles) returning 5 videos that were not in the earlier feeds. Cloud check from Apify without proxy: 6/6 channels resolved and read.

### Pricing

Pay per event, Apify platform usage included:

- **$0.50 per 1,000 returned videos** (Store discounts on paid Apify plans: Bronze $0.45, Silver $0.40, Gold $0.35).
- **$0.001 per run** — a flat monitoring fee, charged once per run after the first channel feed is read. Runs where every channel fails are free.
- Errors, duplicates and channels without new videos have no video fee.

Example: a daily schedule of 50 channels with 20 new videos per day costs about $0.011 per day ($0.001 + 20 × $0.0005). The Pricing tab always shows the current prices.

### Responsible use

The Actor reads public channel feeds published by YouTube for subscription readers. Respect YouTube's terms and the rights of creators when you reuse titles, descriptions or thumbnails.

# Actor input Schema

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

1–500 YouTube channels: @handle, channel URL (youtube.com/@name, /channel/UC…, /c/name, /user/name) or channel ID (UC…). Channel IDs are fastest; handles are resolved once and cached.

## `onlyNew` (type: `boolean`):

Remember returned videos (per monitor name) and return only uploads not seen in earlier runs. The first run for a channel returns its current feed and starts remembering. Use with a schedule for monitoring.

## `monitorName` (type: `string`):

Separate memory for separate monitors when only-new mode is on. Letters, digits, '-' and '\_' (1–40). Empty = 'default'.

## `includeVideos` (type: `boolean`):

Return regular (non-Shorts) uploads.

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

Return Shorts (detected by the /shorts/ link in the feed).

## `publishedAfter` (type: `string`):

Optional ISO date or time, e.g. 2026-11-01 or 2026-11-01T12:00:00Z. Older uploads are skipped.

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

The feed contains about 15 latest uploads per channel.

## `maxRunSecs` (type: `integer`):

Stop starting new channels after this time; unprocessed channels are listed in OUTPUT.

## Actor input object example

```json
{
  "channels": [
    "@mkbhd",
    "@veritasium",
    "@NASA"
  ],
  "onlyNew": false,
  "includeVideos": true,
  "includeShorts": true,
  "maxVideosPerChannel": 15,
  "maxRunSecs": 600
}
```

# Actor output Schema

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

No description

## `summary` (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",
        "@veritasium",
        "@NASA"
    ]
};

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

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

```

## MCP server setup

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