# RSS & Atom Feed Scraper and Change Monitor (`felixgoldwin/rss-atom-feed-monitor`) Actor

Export RSS and Atom entry metadata from public HTTPS feeds. Deduplicate entries and flag new items against an optional baseline.

- **URL**: https://apify.com/felixgoldwin/rss-atom-feed-monitor.md
- **Developed by:** [Felix GoldWin](https://apify.com/felixgoldwin) (community)
- **Categories:** News, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 feed entries

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

## RSS & Atom Feed Scraper and Change Monitor

Collect entry metadata from RSS 2.0, RSS 1.0 (RDF), and Atom 1.0 feeds. Export feed titles, item titles, links, publisher IDs, and timestamps as JSON or CSV. Compare each run against a baseline to spot new entries in release notes, company blogs, documentation feeds, or publishers you have permission to monitor.

### Quick start

1. Supply 1–10 direct, authorized public HTTPS feed URLs.
2. Set **I am authorized to fetch these feeds**.
3. Run once and download the dataset in JSON or CSV. To establish a baseline, copy the `observedKeys` array in the `SUMMARY` key-value record.
4. Paste those keys into `seenIds` next time. Turn on `onlyNew` if you only want unmatched entries in the dataset.

```json
{
  "feedUrls": ["https://your-public-site.com/updates.xml"],
  "confirmAuthorized": true,
  "maxItemsPerFeed": 50,
  "onlyNew": false
}
```

| Input | Behavior |
| --- | --- |
| `feedUrls` | Required. One to ten fully qualified HTTPS feed endpoints. No passwords, private-network destinations, alternate ports, IP literals or redirects. |
| `confirmAuthorized` | Required. Must be `true`. Only use feeds you can access and monitor under sender terms or authorization. |
| `seenIds` | Up to 2,000 publisher IDs or feed-scoped `entryKey` values from past runs. Scoped keys avoid ambiguity between publishers that reuse a raw ID. |
| `seenUrls` | Up to 2,000 absolute HTTP(S) entry URLs. They're compared by normalized URL and are never fetched. |
| `maxItemsPerFeed` | Defaults to 50. Up to 200 distinct entries per feed before filtering, in the order the publisher provides. |
| `onlyNew` | Defaults to false. If enabled, suppresses existing entries in the dataset, not the run summary. |

### Output and comparison

Dataset rows contain `feedUrl`, `feedTitle`, `entryKey`, `entryId`, `title`, `sourceTitle`, `url`, `publishedAt`, `updatedAt`, `status` and `isNew`. Dates are ISO 8601 UTC where valid; unavailable values are null. `sourceTitle` is the entry's declared source title, or the feed title when unavailable.

`entryKey` uses the feed URL plus the best stable identifier: publisher ID first, then normalized entry URL, then title with a valid date. Entries lacking all those identifiers are skipped. Duplicate keys or normalized entry URLs appear once, using the first supplied feed's row if feeds repeat the same URL. Without a baseline, matched entries are all classified as new; **new** means absent from your baseline, not necessarily recently published. A changed title/body with the same stable ID is not a new entry. Fragment identifiers are removed for URL comparison; query strings are not rewritten.

`SUMMARY` contains per-feed reports, failures, skipped items, and a bounded list of `observedKeys`. Pass a previous or merged key list as `seenIds` for repeat runs. The Actor doesn't persist or merge state across runs. The summary marks `observedKeysTruncated` if more than 2,000 distinct keys appeared. Keep older keys only where useful and within the 2,000-key input limit. On a partial failure, retain your last good keys for affected feeds instead of replacing those with an empty result. If every feed fails, the run fails and writes `SUMMARY` first.

### Limits and responsible use

- UTF-8 XML only, up to 1 MiB transferred and 2 MiB decompressed; 12-second total timeout per feed. No DTDs, external entities, enclosures, or article/body fetches.
- URLs must connect directly over port 443 to vetted public DNS results. A redirect results in `REDIRECT_BLOCKED`; use the publisher's final authorized direct feed URL instead.
- Stops collecting after the first 1,000 entry elements per feed; run summary marks limited scans. The output is metadata, not a complete archive of the publisher's content.
- Feed contents and links are untrusted third-party data; import CSV columns as plain text when opening them in a spreadsheet. Recognizable credentials and signature parameters are refused in feed URLs and omitted from entry URLs. This is not a substitute for checking that URLs are genuinely public and contain no secrets. Review publisher policies before reusing or redistributing their metadata.

### Local development

Node.js 22+ and Apify CLI. Run `npm ci` and `npm test`. Set `storage/key_value_stores/default/INPUT.json` to your authorized test JSON, then run `apify run --user-agent apify-codex-plugin/apify-actor-development`. This writes to local storage only.

# Actor input Schema

## `feedUrls` (type: `array`):

1–10 direct feed URLs. Redirects, credentials, non-HTTPS URLs and IP literals are not accepted.

## `confirmAuthorized` (type: `boolean`):

Required. Use only public feeds you have permission to monitor and follow publisher terms.

## `seenIds` (type: `array`):

Optional. Copy SUMMARY.observedKeys from a previous successful run for feed-scoped comparisons. Publisher-provided raw IDs also work.

## `seenUrls` (type: `array`):

Optional absolute HTTP(S) entry URLs; matched as strings, never contacted.

## `maxItemsPerFeed` (type: `integer`):

Maximum distinct entries to compare per feed, in publisher feed order, before optional new-only filtering.

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

Existing items are still counted in the run summary.

## Actor input object example

```json
{
  "maxItemsPerFeed": 50,
  "onlyNew": false
}
```

# Actor output Schema

## `entries` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("felixgoldwin/rss-atom-feed-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("felixgoldwin/rss-atom-feed-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 '{}' |
apify call felixgoldwin/rss-atom-feed-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,felixgoldwin/rss-atom-feed-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/h3yonnMvaEsbz7HuZ/builds/5qcYug9RX3WTbLW6Q/openapi.json
