# RSS & Atom Feed Monitor – New Items Only, Keyword Filters (`lone_cupola/rss-feed-monitor`) Actor

RSS to JSON feed monitor: watch RSS, Atom and JSON feeds on a schedule and get only the items that are new since your last run, filtered by keywords. Returns titles, links, dates, authors and short summaries. $0.0015 per feed checked; failed feeds are free.

- **URL**: https://apify.com/lone_cupola/rss-feed-monitor.md
- **Developed by:** [Jakob Villadsen](https://apify.com/lone_cupola) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.30 / 1,000 feed checkeds

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

## RSS & Atom Feed Monitor – new items only

Give it a list of feeds (or just website addresses) and run it on a schedule. Each run returns **only the items that are new since the last run**, so your sheet, Slack alert or AI pipeline does not see the same post twice: items are matched by their guid, id or link, and up to 2,000 per feed are remembered.

- **New items only**: the monitor remembers which items it has already seen, in a key-value store in your own Apify account. The first run returns the current items as your starting point; every later run returns only new ones.
- **Keyword filters**: keep items that mention any of your keywords and drop those that mention words you exclude. Each item shows which keywords matched.
- **RSS 2.0, Atom, RSS 1.0 (RDF) and JSON Feed**, including podcast feeds (episode audio URL, type and size).
- **Paste a website**: the monitor finds the feed the page links to.
- **Polite and cheap**: it asks the server "changed since last time?" before downloading again, and it respects robots.txt.
- **One dataset row per checked feed**, with its new items inside it, and a status report for every feed in the run's OUTPUT record, so you can see which feeds were checked, which were unchanged and which failed, and why.

**What you get per item:** title, link, publication and update dates, author, categories, image, podcast enclosure, and a short plain-text summary (300 characters by default, adjustable from 0 to 500). It is built for monitoring and alerts. It does not copy full articles: follow the link to read the item on the publisher's site. Feed content belongs to its publishers; check their terms before you republish anything.

**Pricing:** $0.0015 per feed checked ($0.0013 on Apify Gold plans and above), including feeds with nothing new, because the check is what you pay for. There is also a start fee of $0.00005 per run. Feeds that fail (not found, timeout, blocked by robots.txt, not a feed) are free, and you pay nothing per item. Example on the Free plan: 20 feeds checked once a day for 30 days = 600 checks + 30 starts = $0.9015.

### Input

| Field | Default | What it does |
|---|---|---|
| `feeds` | required | Feed URLs, or website and blog page URLs. Strings or `{"url": "..."}` objects. `https://` is added when the scheme is missing, and `feed://` becomes `https://`. At most 1,000 per run; duplicates are removed. |
| `onlyNew` | `true` | Return only items not seen in earlier runs with the same `monitorId`. |
| `monitorId` | `"default"` | a-z, 0-9 and dashes, at most 40 characters. It names the key-value store `lone-cupola-rss-<monitorId>`, so one account can keep separate watch lists. |
| `includeKeywords` | `[]` | Keep an item if ANY keyword matches its title, summary or categories. Case-insensitive, whole words only ("rust" does not match "trust"); a keyword with spaces is a phrase. Empty = keep all. |
| `excludeKeywords` | `[]` | Drop an item if ANY keyword matches (same rules). Exclude wins over include. |
| `publishedAfter` | none | Drop items dated earlier. ISO 8601 with a timezone (`2026-11-01T00:00:00Z`), or a date (`2026-11-01`, read as UTC midnight). Items with no date or a date that cannot be read are kept, with `publishedAt: null`. |
| `maxItemsPerFeed` | `50` | 1 to 500. Applied after the new-only and keyword filters, newest first. |
| `summaryMaxChars` | `300` | 0 to 500. The summary is cut at a word boundary, with "…" added. 0 = no summary. |
| `requestTimeoutSecs` | `20` | 5 to 60, per request. |

A bad `monitorId` or `publishedAfter`, or more than 1,000 feeds, stops the run with a message that says what to fix. A run with no valid feed URL ends normally with a message, and nothing is charged.

#### Example input

```json
{
  "feeds": [
    "https://github.blog/feed/",
    "https://feeds.bbci.co.uk/news/rss.xml",
    "https://blog.rust-lang.org/feed.xml",
    "https://feeds.npr.org/510289/podcast.xml",
    "https://nodejs.org/en/feed/releases.xml"
  ],
  "onlyNew": true,
  "maxItemsPerFeed": 20,
  "includeKeywords": ["release", "security"]
}
```

### Output

**One dataset result per feed checked**, with that feed's new items in `items`. This is also the unit you pay for: feeds that fail are not in the dataset. An example (the addresses are placeholders):

```json
{
  "inputUrl": "https://blog.example.com/",
  "feedUrl": "https://blog.example.com/feed.xml",
  "discoveredFrom": "https://blog.example.com/",
  "feedTitle": "Example Blog",
  "feedFormat": "rss",
  "siteUrl": "https://blog.example.com/",
  "status": "ok",
  "httpStatus": 200,
  "error": null,
  "notModified": false,
  "itemsInFeed": 20,
  "newItems": 1,
  "itemsReturned": 1,
  "latestItemAt": "2026-11-18T09:00:00.000Z",
  "checkedAt": "2026-11-18T10:00:02.000Z",
  "items": [
    {
      "feedUrl": "https://blog.example.com/feed.xml",
      "feedTitle": "Example Blog",
      "itemId": "https://blog.example.com/?p=123",
      "title": "Version 2.0 release notes",
      "link": "https://blog.example.com/2026/11/version-2-0",
      "publishedAt": "2026-11-18T09:00:00.000Z",
      "updatedAt": null,
      "author": "Jane Doe",
      "summary": "We are happy to announce version 2.0. This release brings…",
      "categories": ["Releases"],
      "imageUrl": "https://blog.example.com/images/v2.jpg",
      "enclosureUrl": null,
      "enclosureType": null,
      "enclosureLength": null,
      "matchedKeywords": ["release"],
      "isNew": true
    }
  ]
}
```

- `status` is `ok`, or `not_modified` when the server answered 304 to the "changed since last time?" question (then `notModified` is true and `items` is empty).
- `error` holds a note on an `ok` feed that was cut at the size cap (`truncated at 15 MB`).
- `itemId` is the item's guid (RSS) or id (Atom, JSON Feed); else its link; else a hash of its title and date.
- `imageUrl` comes from `media:thumbnail`, then `media:content` of an image type, then an image enclosure, then `itunes:image`.
- `matchedKeywords` is `[]` when no include keywords are set. `isNew` is always true with `onlyNew` on; with it off, it tells you whether the item was seen before.
- Summaries are plain text: HTML removed, entities decoded. Full article bodies (`content:encoded`, Atom `<content>`) are used only to make a summary when an item has no description, and are never returned.

The dataset has two views: **Feeds checked** (one row per feed) and **New items**.

The key-value store's **OUTPUT** record holds the run totals (feeds given, checked, unchanged, failed by status, items seen, new items, items returned) and **the status of every feed you gave**, failed ones included, with the reason. The run's status message reads, for example: "3 of 21 feeds checked, 3 new items (8 invalid_url, 4 robots_disallowed, 2 not_a_feed, 1 connection_error, 1 http_404, 1 http_500, 1 parse_error). Failed feeds are not charged."

#### Feed statuses

| Status | Meaning | Charged |
|---|---|---|
| `ok` | read and parsed (also when nothing is new) | yes |
| `not_modified` | HTTP 304: unchanged since the last check | yes |
| `no_feed_found` | a web page with no feed link, and none of `/feed`, `/rss.xml`, `/feed.xml`, `/atom.xml`, `/index.xml`, `/rss` is a feed | no |
| `not_a_feed` | the answer is not RSS, Atom, RDF or JSON Feed | no |
| `parse_error` | the feed could not be read | no |
| `robots_disallowed` | robots.txt asks this tool not to fetch it, or the site's robots.txt could not be read | no |
| `http_<code>` | the server answered with an error, such as `http_404` | no |
| `timeout`, `dns_not_found`, `connection_error` | no answer, no such domain, or a broken connection | no |
| `too_large` | a JSON Feed over 15 MB | no |
| `invalid_url` | not a valid address, a private or local network address, or a store data file, cart or account page | no |
| `not_checked` | your spending limit or the run's time limit was reached first | no |

### How "new items only" works

- The seen item IDs live in the key-value store `lone-cupola-rss-<monitorId>` in your own Apify account, one record per feed, up to 2,000 IDs per feed.
- **The first run for a feed returns its current items** (after your filters, up to `maxItemsPerFeed`) as the starting point. Every later run returns only items it has not seen.
- Items are remembered **whatever your keyword filters say**, so changing the filters later does not replay old items.
- A feed with nothing new is still a check: it gets a result with an empty `items` list, and it is charged.
- The state is saved feed by feed, right after each feed is saved to the dataset. A feed that fails, or that is not saved because the spending limit was reached, keeps its old state, so its new items come back on the next run.
- **To start over**, delete that key-value store in Apify Console, or use a new `monitorId`.
- With `onlyNew` on, the monitor sends the ETag and Last-Modified it saved last time; a 304 answer means nothing changed, and nothing is downloaded. With `onlyNew` off, every feed is downloaded in full and all its items are returned.

### How it reads feeds

- Over plain HTTP, without a browser or proxy. It identifies itself as `ApeRssFeedMonitor/0.1 (automated feed reader; +https://apify.com/lone_cupola/rss-feed-monitor)`.
- It reads the feeds, and for a website address the one page plus at most six common feed paths (at most 7 requests per address). It never opens the items' links.
- **robots.txt** is read once per host per run, and the group for `ApeRssFeedMonitor` (else `*`) is followed, with `*` and `$` wildcards. Each redirect is checked against the robots.txt of the host it leads to. A robots.txt that answers 404 (or another 4xx except 429) allows everything. One that answers 429 or 5xx, or does not answer (after one retry), means nothing on that host is fetched (RFC 9309).
- **Polite:** at most 2 requests at a time and at least 1 second between requests to one host.
- One retry, 2 seconds later, after a timeout, a broken connection or a 5xx answer; after a 429 it waits for the server's Retry-After (at most 30 seconds). A second failure is final, and free.
- Redirects are followed (at most 5); the result shows the feed actually read.
- Responses are read up to 15 MB. A larger XML feed is read up to its last complete item; a larger JSON Feed is `too_large`. Large podcast feeds (over 750 KB, more than 1,000 episodes) are read in full.
- The character set comes from the server's header or the feed's XML declaration (ISO-8859-1 feeds work); control characters are removed, and a damaged feed that still yields items counts as `ok`.
- It refuses private and local network addresses (localhost, 10.x, 192.168.x and the like), also when a redirect points there. It never reads store data files (such as Shopify's `/products.json`), carts, checkouts or account pages.

### Price

- **$0.0015 per feed checked** (status `ok` or `not_modified`) on the Free, Bronze and Silver plans, **$0.0013 on Gold, Platinum and Diamond**. A start fee of $0.00005 per run. No platform usage on top.
- **Not charged:** feeds that fail (every other status), items (any number per feed), robots.txt and discovery requests, and a run in which no feed could be checked.
- **Set a maximum cost** for a run: it checks only as many feeds as that allows; the rest are `not_checked` in OUTPUT, with their state left as it was.

### What it does not do

- It sends no alerts itself: connect the dataset to Slack, email, Google Sheets or a webhook with Apify integrations, or read it from the API.
- No login, cookies, API keys, proxies, browser or CAPTCHA handling: feeds behind a login or a bot wall cannot be read.
- No full-text extraction: it returns metadata and a short summary, not the articles.

### Questions and problems

Open an issue on the **Issues** tab. Give the feed address and what you expected, and it will be looked at.

### Related tools from this developer

- [Store Price & Stock Tracker](https://apify.com/lone_cupola/store-price-stock-tracker): run it on a schedule and each run reports price drops and increases, sell-outs and restocks per variant, and new and removed products, from the public product pages and sitemap of Shopify and other stores that publish Product structured data.
- [Store SEO Audit](https://apify.com/lone_cupola/store-seo-audit): reads a store's sitemap and checks home, collection and product pages for Product structured data, titles, meta descriptions, canonicals and noindex.
- [Store Link Checker](https://apify.com/lone_cupola/store-link-checker): finds broken links and 404s, redirect chains and broken images, and on Shopify links to removed and sold-out products, with the page each one is on.
- [Store Speed Audit](https://apify.com/lone_cupola/store-speed-audit): runs Google Lighthouse on a store's home, collection, product, cart and search pages, with Core Web Vitals and the store apps and scripts that slow them down.
- [Website Accessibility Scanner (WCAG 2.2 AA)](https://apify.com/lone_cupola/website-accessibility-scanner): checks each page against WCAG 2.2 AA with axe-core in Chrome and lists every failing element with the WCAG criterion it breaks, its severity and its fix.

# Actor input Schema

## `feeds` (type: `array`):

Feed URLs (RSS, Atom, RDF or JSON Feed), or website and blog page URLs: the monitor finds the feed the page links to. https:// is added when missing, and feed:// becomes https://. At most 1,000 per run; duplicates are removed.

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

Return only items not seen in earlier runs with the same monitor ID. The first run returns the current items as your starting point.

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

Names the key-value store lone-cupola-rss-<monitorId> in your account where seen items are remembered. Use a different ID for each separate watch list. a-z, 0-9 and dashes, at most 40 characters.

## `includeKeywords` (type: `array`):

Keep an item if ANY of these matches its title, summary or categories. Case-insensitive, whole words; a keyword with spaces is a phrase. Empty = keep all.

## `excludeKeywords` (type: `array`):

Drop an item if ANY of these matches (same rules). Exclude wins over include.

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

Drop items dated earlier. ISO 8601 with a timezone, for example 2026-11-01T00:00:00Z, or a date such as 2026-11-01 (UTC midnight). Items with no date are kept.

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

The most items returned per feed, newest first, after the new-only and keyword filters. It does not change the price: you pay per feed checked, not per item.

## `summaryMaxChars` (type: `integer`):

The plain-text summary is cut at a word boundary, with … added. 0 = no summary.

## `requestTimeoutSecs` (type: `integer`):

A feed that does not answer within this time is tried once more; if it fails again it is not charged.

## Actor input object example

```json
{
  "feeds": [
    "https://github.blog/feed/",
    "https://feeds.bbci.co.uk/news/rss.xml",
    "https://blog.rust-lang.org/feed.xml",
    "https://feeds.npr.org/510289/podcast.xml",
    "https://nodejs.org/en/feed/releases.xml"
  ],
  "onlyNew": true,
  "monitorId": "default",
  "includeKeywords": [],
  "excludeKeywords": [],
  "maxItemsPerFeed": 50,
  "summaryMaxChars": 300,
  "requestTimeoutSecs": 20
}
```

# Actor output Schema

## `results` (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 = {
    "feeds": [
        "https://github.blog/feed/",
        "https://feeds.bbci.co.uk/news/rss.xml",
        "https://blog.rust-lang.org/feed.xml",
        "https://feeds.npr.org/510289/podcast.xml",
        "https://nodejs.org/en/feed/releases.xml"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lone_cupola/rss-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 = { "feeds": [
        "https://github.blog/feed/",
        "https://feeds.bbci.co.uk/news/rss.xml",
        "https://blog.rust-lang.org/feed.xml",
        "https://feeds.npr.org/510289/podcast.xml",
        "https://nodejs.org/en/feed/releases.xml",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("lone_cupola/rss-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 '{
  "feeds": [
    "https://github.blog/feed/",
    "https://feeds.bbci.co.uk/news/rss.xml",
    "https://blog.rust-lang.org/feed.xml",
    "https://feeds.npr.org/510289/podcast.xml",
    "https://nodejs.org/en/feed/releases.xml"
  ]
}' |
apify call lone_cupola/rss-feed-monitor --silent --output-dataset

```

## MCP server setup

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