# RSS and Atom Feed Reader: New Items Only (`cyrus_1/rss-atom-feed-reader`) Actor

Give it feed links and get one clean row per item: title, link, UTC date, author, summary, full text, categories and enclosures. Reads RSS, Atom and JSON Feed. In new-items mode, a scheduled run returns only what is new. A dead feed is a free error row.

- **URL**: https://apify.com/cyrus_1/rss-atom-feed-reader.md
- **Developed by:** [Mohamed Ayman](https://apify.com/cyrus_1) (community)
- **Categories:** News, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 feed reads

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

Read RSS, Atom, RSS 1.0 and JSON Feed links into clean rows, with a new-items-only mode so a scheduled run returns just what appeared since the last one, for developers and analysts who monitor news, blogs and podcasts. It costs $2 per 1,000 feeds read and $0.50 per 1,000 feeds checked with nothing new; broken, empty and oversized feeds are free.

A dead or blocked feed is a free error row. It never fails the whole run, so one bad URL in a list of 200 does not stop the other 199. No login, no API key, no proxy.

### RSS and Atom Feed Reader: New Items Only

- **One row per item:** title, link, date (UTC), author, a plain-text summary, full text and HTML when the feed has them, categories, enclosures (podcast audio, attachments) and an image.
- **Formats:** RSS 0.9x and 2.0, RSS 1.0 (RDF), Atom 1.0 and JSON Feed. A normal web page also works: the actor reads the first feed the page advertises.
- **New items only:** the actor remembers what it delivered, so each scheduled run returns just the new items.

### Quick start

Paste this input as it is. An empty input reads the same feed.

```json
{
  "urls": ["https://www.nasa.gov/feed/"],
  "onlyNewItems": false,
  "maxItemsPerFeed": 50,
  "includeContent": true
}
```

### Example output

One item row from a real run on that feed (text and HTML shortened):

```json
{
  "rowType": "item",
  "status": "ok",
  "feedUrl": "https://www.nasa.gov/feed/",
  "feedFinalUrl": "https://www.nasa.gov/feed/",
  "feedTitle": "NASA",
  "feedLink": null,
  "feedDescription": "Official National Aeronautics and Space Administration Website",
  "feedLanguage": "en-US",
  "feedFormat": "rss",
  "itemId": "https://science.nasa.gov/image-article/apod-2026-november-19-the-horsehead-and-flame-nebulas/",
  "title": "APOD: 2026 November 19 – The Horsehead and Flame Nebulas",
  "link": "https://science.nasa.gov/image-article/apod-2026-november-19-the-horsehead-and-flame-nebulas/",
  "published": "2026-11-19T05:05:00Z",
  "updated": null,
  "author": null,
  "summary": "APOD Science APOD APOD: 2026 November 19 – The… Today’s APOD Archive Submissions Index …",
  "content": "APOD\n\nScience\n\nAPOD\n\nAPOD: 2026 November 19 – The…\n\nToday’s APOD\n\n…",
  "contentHtml": "<div id=\"\" class=\"hds-module hds-module-full alignfull …",
  "categories": ["APOD"],
  "enclosures": [],
  "imageUrl": null,
  "isNew": null,
  "newItems": 10,
  "feedItemCount": 10,
  "charges": { "feed-read": 1 },
  "error": null,
  "errorCode": null,
  "note": null,
  "fetchedAt": "2026-11-19T11:01:19Z"
}
```

Row types (`rowType`): `item`, `feed-status` (new-items-only mode, nothing new) and `error`. `charges` shows what a row cost: `{"feed-read": 1}` on the first item of a feed, `{}` on the others and on errors. Error codes: `http_error`, `not_a_feed`, `not_supported_file`, `invalid_feed`, `unsafe_xml`, `too_large`, `blocked_address`, `dns_error`, `timeout`, `network_error`, `bad_url`.

### Use cases

- Monitor news sites, blogs and changelogs and collect only new posts on a schedule.
- Build a news digest or alert pipeline from a list of RSS feeds.
- Track podcast episodes, with the audio link in `enclosures`.
- Pull the latest posts from a competitor's blog or release feed.
- Collect press releases and announcements from many sources into one dataset.
- Convert a list of feeds into JSON or CSV for a spreadsheet or database.

### Input

| Field | Default | What it does |
|---|---|---|
| `urls` | NASA's news feed | Feed links. A web page that advertises a feed also works |
| `onlyNewItems` | false | Return only items not delivered before |
| `maxItemsPerFeed` | 50 | Newest items first (up to 1,000) |
| `includeContent` | true | Add `content` and `contentHtml`. The short `summary` is always there |
| `discoverFeeds` | true | Follow a web page to the feed it advertises |
| `maxFeedSizeMb` | 10 | Bigger feeds give a free error row |
| `cursorStoreName` | `rss-cursors` | Name of the key-value store that remembers what was delivered |

### New items since the last run

1. Turn on `onlyNewItems` and run it once. The first run returns the newest items (up to `maxItemsPerFeed`) and sets the starting point.
2. Schedule it, for example hourly. Each run returns only new items. A feed with nothing new returns a `feed-status` row.
3. The memory lives in a named key-value store in your account (`cursorStoreName`). It keeps fingerprints of the last 2,000 items of each feed, so reordered or edited items are not repeated. Use a different store name to keep separate watch lists apart, or delete the store to start over.
4. If a run stops at your maximum cost, the feeds it did not reach are not marked as seen and come back next time.
5. If `maxItemsPerFeed` is lower than the number of new items, the extra new items are skipped and are not returned later either.

### How much does it cost?

- **$2 per 1,000 feeds read** (`feed-read`): one feed that delivered at least one item. All of its items in that run are included.
- **$0.50 per 1,000 unchanged checks** (`feed-unchanged`): one feed checked in new-items-only mode with nothing new.
- Free: a feed that fails, is empty, is not a feed or is too large.
- Apify adds a very small run-start charge, shown on the Pricing tab.

**Worked example with the free $5 monthly credit.** Apify's free plan includes $5 of credit each month. That covers about 2,500 feed reads. Reading 50 feeds once a day, with new items in each, costs $0.10 a day, about $3 for 30 days. Checking the same 50 feeds every hour costs about $0.60 a day if nothing changes, and up to $2.40 a day if every check finds something new, so a daily or few-times-a-day schedule fits the free credit best.

To cap spending, set a maximum cost per run in the run options. The actor stops cleanly when it is reached.

### Limits

- **You are responsible for the feeds you read.** Feeds are published for syndication, but each site's terms and the copyright of its content stay with the site. Check them before you republish items.
- Public feeds only: no login, no cookies, no paywalled or private feeds, no proxies. A site that blocks datacentre addresses gives an error row.
- Items without a date cannot be ordered by time and come last. Items without a guid are recognised by their link.
- A feed that changes its guids or links gives its old items again as new.
- Every run downloads each feed in full. Conditional requests (ETag) are not used.
- The XML parser refuses documents that declare entities, as a safety rule. A few old feeds that do so give `unsafe_xml`.
- Broken XML (stray `&`, control characters, HTML entities) is repaired where possible. Severely broken feeds give `invalid_feed`.
- Downloads use http and https only; private and internal addresses are refused. 10 MB and 30 seconds by default.
- Nothing is stored after the run except the output dataset and the cursor store.

### FAQ

**How does new-items-only mode work?**
Switch on onlyNewItems and run once; that run returns the newest items and sets the starting point. Schedule it, and each later run returns only new items, or a small feed-status row when nothing changed. Memory is a named key-value store in your account holding fingerprints of the last 2,000 items per feed.

**What happens when a feed is broken?**
A dead, blocked or broken feed gives a free error row with an errorCode such as http_error, not_a_feed, invalid_feed or timeout. It never fails the whole run, so one bad URL in a list of 200 does not stop the other 199. Feeds that fail, are empty or are too large are not charged.

**Can I give it a website address instead of a feed link?**
Yes. A normal web page works when it advertises its feed in a link rel=alternate tag; the actor reads the first feed the page advertises. This is on by default through discoverFeeds and costs nothing extra. If a page advertises no feed, you get a free error row, so use the feed link directly.

**Which feed formats does it read?**
RSS 0.9x and 2.0, RSS 1.0 (RDF), Atom 1.0 and JSON Feed. Each item becomes one row with title, link, date in UTC, author, a plain-text summary, full text and HTML when the feed has them, categories, enclosures such as podcast audio, and an image.

**What does it cost to check feeds every hour?**
Each feed that delivers items costs $0.002. A feed checked in new-only mode with nothing new costs $0.0005. So 50 feeds checked hourly cost about $0.60 a day if nothing changes, and $2.40 if every check finds something new. Checking every few hours or daily keeps cost low.

**Can I republish what I read?**
You are responsible for the feeds you read. Feeds are published for syndication, but each site's terms and the copyright of its content stay with the site. Check them before you republish items. The actor reads public feeds only: no login, no cookies, no paywalled or private feeds.

**Can I call it from n8n, Make or an AI agent?**
Yes. Call it through the Apify API with the input shown above, or schedule it in Apify Schedules. n8n, Make and Zapier have Apify integrations, and AI agents can run it through Apify's MCP server. Use the same cursorStoreName in every scheduled run, so each run continues from the last. Rows land in the default dataset.

### Use from code or an AI agent

The actor runs under limited permissions. Python example:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("cyrus_1/rss-atom-feed-reader").call(
    run_input={"urls": ["https://www.nasa.gov/feed/"], "onlyNewItems": True}
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    if row["rowType"] == "item":
        print(row["published"], row["title"], row["link"])
```

The same input works with the JavaScript client, the REST API, n8n, Make and Zapier. AI agents can find and run the actor through Apify's MCP server (the `search-actors`, `fetch-actor-details` and `call-actor` tools).

### Licences

No third-party parsing code: feeds are read with the Python standard library. HTTP uses httpx2 (BSD) and the Apify SDK (Apache 2.0).

### More from this publisher

- [Substack Posts and Comments Scraper](https://apify.com/cyrus_1/substack-posts-and-comments) reads public newsletters, including free post text.
- [Bluesky Posts and Profiles Scraper](https://apify.com/cyrus_1/bluesky-posts-profiles) reads public Bluesky accounts, feeds and profiles.

# Actor input Schema

## `urls` (type: `array`):

Public http or https links to RSS, Atom or JSON feeds. A normal web page also works when it advertises its feed in a link tag. The default is NASA's news feed.

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

Return only items you have not received before. The actor remembers what it delivered in a named storage (see below), so schedule it and each run returns just the new items. The first run returns the newest items and sets the starting point.

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

Newest items first. In new-only mode, new items beyond this number are skipped and not returned in later runs either.

## `includeContent` (type: `boolean`):

Add the full item text and HTML (content and contentHtml) when the feed carries it. Turn off for smaller rows; the short summary is always included.

## `discoverFeeds` (type: `boolean`):

When a URL is a web page, read the first feed it advertises. Costs nothing extra.

## `maxFeedSizeMb` (type: `integer`):

Larger feeds give an error row and are not charged.

## `cursorStoreName` (type: `string`):

Name of the key-value store that remembers what was delivered (new-only mode). Use the same name in every scheduled run; use a different name to keep separate watch lists apart.

## Actor input object example

```json
{
  "urls": [
    "https://www.nasa.gov/feed/"
  ],
  "onlyNewItems": false,
  "maxItemsPerFeed": 50,
  "includeContent": true,
  "discoverFeeds": true,
  "maxFeedSizeMb": 10,
  "cursorStoreName": "rss-cursors"
}
```

# Actor output Schema

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

One row per feed item (title, link, date, author, summary, full text, categories, enclosures), plus status and error rows for feeds with nothing new or that failed.

# 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 = {
    "urls": [
        "https://www.nasa.gov/feed/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("cyrus_1/rss-atom-feed-reader").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 = { "urls": ["https://www.nasa.gov/feed/"] }

# Run the Actor and wait for it to finish
run = client.actor("cyrus_1/rss-atom-feed-reader").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 '{
  "urls": [
    "https://www.nasa.gov/feed/"
  ]
}' |
apify call cyrus_1/rss-atom-feed-reader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cyrus_1/rss-atom-feed-reader"
        }
    }
}
```

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/gCS6ga2vGYuemu5tM/builds/5n26cbW4I5XFA3FPJ/openapi.json
