# YouTube Channel Change Monitor (`woolly_kingcrab/youtube-channel-change-monitor`) Actor

Monitor public YouTube channel feeds and detect new uploads, video metadata changes, activity shifts, and recent view growth between runs.

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

## Pricing

from $20.00 / 1,000 channel checkeds

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 Change Monitor

**Monitor YouTube channels and detect new videos and channel changes between runs.**

> Unofficial tool. Not affiliated with or endorsed by YouTube or Google. Reads public YouTube channel RSS feeds only.

***

### What it does

On every run the Actor fetches each channel's **public** YouTube feed, compares it against the snapshot it saved last time, and returns **only what changed**:

- **NEW_VIDEO** — a video that was not in the feed before
- **TITLE_CHANGED** — a tracked video's title was edited (only when YouTube's `updated` timestamp also advanced — brief CDN title variance is ignored)
- **DESCRIPTION_CHANGED** — a tracked video's description changed
- **VIDEO_UPDATED** — YouTube bumped the video's `updated` timestamp with no visible title/description change
- **CHANNEL_METADATA_CHANGED** — the channel name changed
- **UNCHANGED** — nothing changed (only shown in `ALL_CHECKS` mode)

The first run for a channel records a **baseline** and reports `BASELINE`, not a wave of "new" videos.

All detection is deterministic code — HTTP fetch, XML parse, hashing, set comparison. **No YouTube Data API, no API key, no scraper, no proxy, no AI/LLM.**

#### About removed videos

YouTube's RSS feed is a rolling window of the ~15 most recent uploads. A video dropping out of that window is **not** proof it was deleted, so the Actor **never reports "removed video"** — that would be a false signal.

### Who it is for

- **Competitor / creator monitoring** — know within your schedule interval when a channel posts
- **Content research** — track upload cadence and topic shifts across many channels
- **Sales & marketing intelligence** — a prospect's product channel going active is a signal
- **New-video alerts** — pipe `NEW_VIDEO` rows into Slack / email / a sheet via a webhook or the API

### How monitoring works

1. Provide a list of channel IDs (or ID-based `/channel/` URLs) and a stable **Monitor ID**.
2. The Actor fetches each channel's `feeds/videos.xml`, extracts a snapshot, and diffs it against the snapshot stored under `your account + monitorId + channelId`.
3. It writes one flat row per change and saves the new snapshot.

#### First run vs. next run

| | Output |
|---|---|
| **First run** for a channel | `SUMMARY` row with `signal: BASELINE`. Baseline stored. |
| **Every later run** (same Monitor ID) | One row per `NEW_VIDEO` / `TITLE_CHANGED` / `DESCRIPTION_CHANGED` / `VIDEO_UPDATED` / `CHANNEL_METADATA_CHANGED`, plus a `SUMMARY` row. Unchanged channels produce only a `SUMMARY`. |

### Output

One flat dataset. CSV / JSON / API friendly.

| Field | Description |
|---|---|
| `channel_id` | YouTube channel ID |
| `channel_name` | Channel title from the feed |
| `monitor_id` | Your monitor ID |
| `change_type` | `BASELINE`, `NEW_VIDEO`, `TITLE_CHANGED`, `DESCRIPTION_CHANGED`, `VIDEO_UPDATED`, `CHANNEL_METADATA_CHANGED`, `UNCHANGED`, `SUMMARY`, `FAILED` |
| `changed_field` | `title`, `description`, `updated_at`, `channel_name` |
| `video_id` / `video_title` / `video_url` | The video the row is about (blank for channel-level / summary rows) |
| `previous_value` / `current_value` | Before / after (or a small JSON blob for `SUMMARY`) |
| `published_at` | Video publish time |
| `detected_at` | When this run observed the change |
| `first_seen_at` / `last_seen_at` | When the video was first / most recently seen in the feed |
| `error_type` / `error_message` | Set on `FAILED` rows: `invalid_channel`, `channel_not_found`, `feed_not_found`, `timeout`, `fetch_failed`, `parse_failed`, `internal_error` |

#### Output example

```json
{ "channel_id": "UC…01", "channel_name": "DemoCreator", "monitor_id": "creators",
  "change_type": "NEW_VIDEO", "video_id": "vid-102", "video_title": "Big announcement",
  "video_url": "https://www.youtube.com/watch?v=vid-102",
  "published_at": "2026-08-23T10:00:00+00:00", "detected_at": "2026-08-23T12:00:00+00:00",
  "first_seen_at": "2026-08-23T12:00:00+00:00", "last_seen_at": "2026-08-23T12:00:00+00:00" }
```

### Input

| Field | Required | Description |
|---|---|---|
| `channels` | ✅ | Up to 50 channel IDs (start with `UC`), ID-based `/channel/` URLs, or `feeds/videos.xml` URLs. Handle / custom URLs are not resolved. |
| `monitorId` | | Stable name for this watch list. **Reuse it on every scheduled run.** Default `"default"`. |
| `outputMode` | | `CHANGES_ONLY` (default) or `ALL_CHECKS` (also emit a row for unchanged channels). |
| `emitBaseline` | | Deprecated, ignored. Kept so older scheduled tasks keep validating. Use `outputMode`. |

### Scheduling

Works correctly hourly, 6-hourly, daily or weekly. Use the same `monitorId` each time to preserve comparison state. A change is reported once, then folded into the baseline.

Example: Apify Console → Schedules → cron `0 */6 * * *`, input = your `channels` + `monitorId: "creators"`.

### API example

```bash
curl -X POST "https://api.apify.com/v2/acts/woolly_kingcrab~youtube-channel-change-monitor/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"channels":["UCXuqSBlHAE6Xw-yeJA0Tunw"],"monitorId":"tech-creators"}'

curl "https://api.apify.com/v2/acts/woolly_kingcrab~youtube-channel-change-monitor/runs/last/dataset/items?token=$APIFY_TOKEN&format=csv"
```

### Pricing

**Pay per event.** $0.02 per channel successfully checked + $0.00005 per run start. Failed channels (invalid, 404, timeout, parse error) are **not** charged. Example: 20 channels daily ≈ `20 × $0.02` ≈ **$0.40/day (~$12/month)**.

### Limitations

- **Public data only** — YouTube RSS. No private/unlisted data, no analytics, no subscriber counts.
- The feed holds only the ~15 most recent uploads, so history before you started monitoring is not available, and video removals are never reported.
- Handle / custom channel URLs (`youtube.com/@name`, `youtube.com/c/name`) are not resolved — use the channel's `UC…` ID or `/channel/UC…` URL.
- View counts in the feed are approximate and update slowly; treated as a soft signal only.
- Not affiliated with YouTube or Google.

### FAQ

**Do I need a Google/YouTube API key?** No.

**How do I find a channel's ID?** Open the channel, View Source, search for `"channelId"` or `externalId` (`UC…`), or use the channel's `/channel/UC…` URL.

**Will I get the same "new video" twice?** No — reported changes are folded into the baseline.

**Why didn't a title edit show up?** The Actor only reports a title change when YouTube also advanced the video's `updated` timestamp, which filters out transient CDN cache variance.

***

*Unofficial tool. Not affiliated with or endorsed by YouTube or Google. Reads public YouTube channel RSS feeds only.*

# Changelog

This Actor's version history is a separate document: https://apify.com/woolly_kingcrab/youtube-channel-change-monitor/changelog.md

# Actor input Schema

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

Up to 50 YouTube channel IDs (starting with UC), ID-based /channel/ URLs, or feeds/videos.xml URLs. Handle / custom URLs are not resolved.

## `monitorId` (type: `string`):

Stable name for this monitoring configuration. Reuse the SAME value on every scheduled run so channels are compared against their previous baseline.

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

CHANGES_ONLY returns changed channels plus per-channel summaries. ALL_CHECKS also returns a row for channels that did not change.

## `emitBaseline` (type: `boolean`):

Deprecated compatibility field. v0.2 uses outputMode. This value is accepted for older tasks but does not control v0.2 output.

## Actor input object example

```json
{
  "channels": [
    "UCXuqSBlHAE6Xw-yeJA0Tunw"
  ],
  "monitorId": "default",
  "outputMode": "CHANGES_ONLY",
  "emitBaseline": false
}
```

# Actor output Schema

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

Dataset of change rows (NEW_VIDEO, TITLE_CHANGED, DESCRIPTION_CHANGED, VIDEO_UPDATED, CHANNEL_METADATA_CHANGED), SUMMARY rows and FAILED rows.

## `runSummary` (type: `string`):

Compact run summary from 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": [
        "UCXuqSBlHAE6Xw-yeJA0Tunw"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("woolly_kingcrab/youtube-channel-change-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": ["UCXuqSBlHAE6Xw-yeJA0Tunw"] }

# Run the Actor and wait for it to finish
run = client.actor("woolly_kingcrab/youtube-channel-change-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": [
    "UCXuqSBlHAE6Xw-yeJA0Tunw"
  ]
}' |
apify call woolly_kingcrab/youtube-channel-change-monitor --silent --output-dataset

```

## MCP server setup

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