# RSS Feed Reader & Monitor: Atom, JSON Feed, New Items Only (`nelyon/rss-feed-monitor`) Actor

- **URL**: https://apify.com/nelyon/rss-feed-monitor.md
- **Developed by:** [Faiz Agasa](https://apify.com/nelyon) (community)
- **Categories:** News, Automation, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 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.

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 Feed Reader & Monitor (RSS, Atom, JSON Feed, new items only)

Turn any **RSS, Atom or JSON Feed** into clean JSON rows, or paste a **website URL** and the Actor finds the site's feed for you. Put it on a schedule with **Only new items** switched on and every run returns just the items you have not seen yet. No login, no API key, no browser.

### What you get

| Field | Example |
|---|---|
| `feedUrl`, `feedTitle`, `feedSiteUrl`, `feedLanguage` | `https://feeds.bbci.co.uk/news/world/rss.xml`, `BBC News`, `https://www.bbc.co.uk/news/world`, `en-gb` |
| `title`, `url` | the item's headline and link |
| `publishedAt`, `updatedAt` | `2026-11-14T22:09:40Z` (always UTC ISO 8601; `updatedAt` only when it differs) |
| `author` | as the feed gives it; email addresses are removed |
| `summary`, `content` | plain text (HTML stripped, paragraphs and lists kept); `content` only when the feed has full text that differs from the summary |
| `categories` | `["Tech", "RSS"]` |
| `imageUrl` | from `media:thumbnail`, `media:content`, an image enclosure or `itunes:image` |
| `enclosures`, `duration` | podcast and media files `{url, type, length}`, `itunes:duration` |
| `itemId` | the feed's own `guid` / `id` (or the link) |
| `scrapedAt` | when the row was collected |

Supported formats: RSS 0.9x, 1.0 (RDF) and 2.0, Atom 0.3 and 1.0, JSON Feed 1.0 and 1.1, plus broken XML that feedparser can still recover.

### Use cases

- **News and topic monitoring**: follow publishers, blogs, release notes, status pages or podcasts on a schedule and send only new items to a sheet, database, Slack or an AI agent.
- **Keyword alerts**: `keywords` + `onlyNewItems` on an hourly schedule gives you a cheap alert feed.
- **Content pipelines for LLMs**: clean text summaries with dates and links, ready for summarising or RAG.
- **Podcast tracking**: new episodes with audio URLs, sizes and durations.

### Input

```json
{
  "feeds": ["https://feeds.bbci.co.uk/news/world/rss.xml", "https://news.ycombinator.com/rss", "github.blog"],
  "onlyNewItems": true,
  "stateKey": "my-news-schedule",
  "keywords": ["ai", "election"],
  "postedWithinDays": 7,
  "maxItemsPerFeed": 50,
  "maxItems": 1000
}
```

- `feeds`: feed URLs or website URLs, one per line (up to 500 per run; a missing `https://` is added). For a website, the first feed linked in its `<head>` (`<link rel="alternate" type="application/rss+xml">` and similar) is read.
- `onlyNewItems`: remember which items each feed already returned and skip them next time. The memory is a key-value store called `rss-feed-monitor-state` in **your own** Apify account, so nobody else sees it. The first run returns everything (up to the limits). Off by default.
- `stateKey`: a separate memory per schedule or task, e.g. `tech-news` and `competitors`. Two runs with the same key at the same moment can overwrite each other's memory, so give parallel schedules different keys.
- `keywords`: case-insensitive match on title, summary and content.
- `postedWithinDays`: items without a date are kept.
- `maxItemsPerFeed` (default 50, newest first) and `maxItems` (default 100 in total). With `onlyNewItems`, items cut off by these limits are not marked as seen, so the next run returns them.

### Output example

```json
{
  "feedUrl": "https://feeds.npr.org/510289/podcast.xml",
  "feedTitle": "Planet Money",
  "feedSiteUrl": "https://www.npr.org/podcasts/510289/planet-money",
  "feedLanguage": "en",
  "itemId": "1d0454cc-1590-4928-8613-39678c23a5d5",
  "title": "Are wildfires making the future uninsurable?",
  "url": "https://www.npr.org/2026/11/13/nx-s1-6040434/california-wildfires-home-insurance",
  "author": null,
  "publishedAt": "2026-11-13T23:49:12Z",
  "updatedAt": null,
  "summary": "Over the past decade, increasingly catastrophic wildfires have wrought unprecedented destruction and upended the basic math of the insurance industry. ...",
  "content": null,
  "categories": [],
  "imageUrl": "https://npr.brightspotcdn.com/dims3/default/strip/false/crop/3377x1900+0+0/resize/1280/quality/66/format/jpg/...",
  "enclosures": [{"url": "https://.../episodes/4bb23a81-.../audio/128/default.mp3", "type": "audio/mpeg", "length": 39525630}],
  "duration": "2470",
  "scrapedAt": "2026-11-14T22:14:26Z"
}
```

A run summary (feeds read, unchanged, failed with the reason, items, requests, bytes) is saved to the key-value store as `RUN_SUMMARY`.

### Pricing

**$0.001 per feed checked** ($1 per 1,000 checks), whatever the number of items in it. No start fee from this Actor.

- A check is one feed read successfully, including a feed with nothing new or one that answers "not modified".
- **Feeds that fail cost nothing**: not found, blocked, not a feed, too large, timed out.
- Example: 20 feeds every hour = 14,400 checks a month = $14.40.
- Cap your spend with `maxItems` or the run's maximum cost: the Actor never fetches more feeds than your remaining budget can pay for, and it stops cleanly at the limit.

### Speed

Feeds are read 8 at a time, with requests to the same site spaced one second apart. In testing, 2 feeds took about 1 second and 40 real news, tech and podcast feeds (706 items) took 24 seconds.

### Limits and notes

- **Public feeds only.** Feeds behind a login or a paywall cannot be read. Some publishers block automated readers (HTTP 403); those feeds are reported as `access_denied` and not charged. The Actor identifies itself honestly and does not try to get around blocks.
- Feeds larger than **15 MB** are skipped (`too_large`). This happens with a few huge podcast archives.
- No JavaScript: a website must link its feed in its HTML. If autodiscovery finds nothing, use the feed URL itself.
- Only `http(s)` URLs on public addresses are fetched; private and internal addresses are refused.
- `summary` is capped at 5,000 characters and `content` at 50,000, with a `[truncated]` marker.
- With **Only new items**, the Actor sends `If-None-Match` / `If-Modified-Since`, so an unchanged feed costs the publisher almost nothing.
- Privacy: email addresses in `author`, `summary` and `content` are replaced with `[email removed]`.

### Is this allowed?

RSS, Atom and JSON feeds are published so that readers and apps can fetch them, and this Actor only reads the feed URLs you give it. It makes one request per feed (plus one when it has to find the feed on a web page) and identifies itself with its own user agent. Respect each publisher's terms when you republish their content, and link back to the item `url`.

# Actor input Schema

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

One per line. A feed URL (RSS 0.9x/1.0/2.0, Atom, JSON Feed) or a website URL: when the page links to a feed, that feed is read. Up to 500 per run.

## `onlyNewItems` (type: `boolean`):

Skip items already returned by an earlier run with the same state key. The memory is a key-value store named 'rss-feed-monitor-state' in your own Apify account. The first run returns everything.

## `stateKey` (type: `string`):

Name of the 'only new items' memory. Use a different key for each schedule or task that watches different feeds. Default: default.

## `keywords` (type: `array`):

Keep items whose title, summary or content contains any of these words (case-insensitive). Leave empty for all items.

## `postedWithinDays` (type: `integer`):

Keep items published in the last N days. Items without a date are kept.

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

Newest items first, counted after filters.

## `maxItems` (type: `integer`):

Stop after this many items across all feeds. Default 100; raise it for bigger runs (your run's spending limit still applies).

## Actor input object example

```json
{
  "feeds": [
    "https://feeds.bbci.co.uk/news/world/rss.xml",
    "https://news.ycombinator.com/rss"
  ],
  "onlyNewItems": false,
  "maxItemsPerFeed": 50,
  "maxItems": 100
}
```

# Actor output Schema

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

All results of this run (the default dataset items).

# 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://feeds.bbci.co.uk/news/world/rss.xml",
        "https://news.ycombinator.com/rss"
    ],
    "maxItemsPerFeed": 50,
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("nelyon/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://feeds.bbci.co.uk/news/world/rss.xml",
        "https://news.ycombinator.com/rss",
    ],
    "maxItemsPerFeed": 50,
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("nelyon/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://feeds.bbci.co.uk/news/world/rss.xml",
    "https://news.ycombinator.com/rss"
  ],
  "maxItemsPerFeed": 50,
  "maxItems": 100
}' |
apify call nelyon/rss-feed-monitor --silent --output-dataset

```

## MCP server setup

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