# RSS Feed Reader – RSS, Atom, RDF & JSON Feed, Only New Items (`oldjard/rss-atom-feed-reader`) Actor

RSS reader and RSS to JSON: read RSS, Atom, RSS 1.0 (RDF) and JSON feeds, or paste a website and it finds the feed. One row per item: title, link, date, author, content, image and podcast enclosures. Only-new mode remembers earlier runs and returns just new items. $1 per 1,000 feeds read.

- **URL**: https://apify.com/oldjard/rss-atom-feed-reader.md
- **Developed by:** [Joshua White](https://apify.com/oldjard) (community)
- **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 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

## RSS Feed Reader – RSS, Atom, RDF & JSON Feed, Only New Items

Read **RSS**, **Atom**, **RSS 1.0 (RDF)** and **JSON Feed** feeds and get one row per item: title, link, date,
author, categories, summary, full content, image and podcast enclosures. Paste a feed URL or just a website: the actor
finds the feed the site links to. Turn on **Only new items** and each run returns only the items earlier runs haven't
returned, which is what you want on a schedule.

**Try it:** the input is prefilled with BBC News, the Hacker News front page and a blog given as a website URL. Click
Start and the results show in a few seconds.

### How to read RSS feeds

1. Paste feed URLs or website URLs, one per line.
2. Optional: set **Max items per feed**, **Published after** (a date or "7 days") or **Keywords**.
3. Click **Start**, then download the items as JSON, CSV or Excel, or read them through the API.

### How to monitor feeds for new items

1. Turn on **Only new items**. Give the memory a name in **Memory name** if you run more than one schedule.
2. Run it once: you get the current items.
3. Add a schedule (for example every hour). From then on each run returns only new items, or none.

The memory is a key-value store named `rss-feed-reader-state` in your own Apify account. Runs with the same memory
name share it; delete a record there to start a feed over. An item counts as seen by its guid (or Atom id), else its
link. In our test, a re-run 35 minutes after reading 11,028 items from 107 feeds returned 41 new items and none that
had been returned before.

### What you get for each item

| Field | What it is |
|---|---|
| `type` | `item` for feed items, `feed` for a feed that could not be read (or for every feed with **Add one row per feed**). |
| `feedTitle`, `feedUrl`, `feedFormat` | The feed's title, the URL it was read from, and `rss2`, `rss1`, `atom` or `json`. |
| `title`, `link` | The item's title (plain text) and link (absolute URL). |
| `published`, `updated` | Dates in ISO 8601, UTC. Time-zone names like CEST and PST are converted. |
| `author`, `categories` | Author name(s) and the item's categories or tags. |
| `summary`, `content` | The item's description and its full HTML content, as the feed gives them. |
| `contentText` | The content (or summary) as plain text, HTML removed. |
| `image` | From `media:content`, `media:thumbnail`, an image enclosure, `itunes:image` or the first image in the content. |
| `enclosures` | Attached files: `url`, `type`, `length`. Podcast episodes are here. |
| `durationSeconds`, `season`, `episode`, `episodeType`, `explicit` | Podcast fields from iTunes and Podcasting 2.0 tags. |
| `id`, `guid` | The key used for **Only new items**, and the feed's own guid or id. |
| `isNew` | `true` on every item when **Only new items** is on. |
| `input`, `discoveredFrom` | The URL you gave, and the page the feed was found on when you gave a website. |

Items come newest first when the feed dates its items. The same item twice in one feed is returned once.

### Feeds that can't be read

A feed that can't be read gets one free row with `type: "feed"`, a `status` and the reason in `error`. The run still
succeeds and the other feeds are read.

| `status` | Meaning |
|---|---|
| `blocked` | The site refused the request (HTTP 401, 403, 429 or 451). Some sites block cloud servers or feed readers. |
| `robots-disallowed` | The site's robots.txt asks readers like this one not to fetch the URL, so it isn't fetched. GitHub release feeds (`*.atom`) and reddit are examples. |
| `http-error` | The URL answered with another error, such as 404 (no feed there). |
| `not-a-feed` | The URL answered, but not with a feed. |
| `no-feed-found` | A website with no feed link and nothing at /feed, /rss, /rss.xml, /atom.xml or /index.xml. |
| `network-error` | Timeout, DNS failure or a dropped connection, after 3 tries. |
| `invalid-url` | Not an http(s) URL. |

Broken feeds are read as far as they go: cut-off downloads (the incomplete last item is dropped), unescaped `&` and
`<`, HTML entities, junk before the XML, control characters, a wrong declared encoding, and unclosed tags. Feeds of
any size work: a 20 MB podcast feed with 3,045 episodes reads in under 2 seconds.

### How accurate is it?

We read 119 public feeds (news, blogs, release notes, RDF feeds from Nature and Slashdot, podcasts, JSON Feed,
Japanese, Chinese and Russian feeds, redirects, feeds behind Cloudflare, and 15 website URLs) and compared every item
with feedparser, the long-standing Python feed parser, on the same data. 11,030 items: item counts matched on every
feed; titles 99.97%, links 99.96%, dates, authors, content and enclosures 100%. Every feed a plain client could read
was read. The ones that weren't were refused by the site (robots.txt or HTTP 403).

### How much does it cost?

- **$1 per 1,000 feed reads.** One feed read returns up to 50 items; a feed that returns more counts one more read
  for each further 50 items.
- A check that finds nothing new still counts as a read. Feeds that can't be read are free.

Examples: 10 feeds checked every hour for a month is 7,200 reads, $7.20 (plus Apify's $0.00005 start fee per run).
Reading 500 news feeds once is $0.50. Apify's $5 monthly free credit covers about 5,000 feed reads. The run's maximum
cost is respected: when the budget can't cover the next feed, the run stops and says how many feeds weren't returned.

### Input example

```json
{
    "feeds": [
        "https://feeds.bbci.co.uk/news/rss.xml",
        "https://hnrss.org/frontpage",
        "https://simonwillison.net"
    ],
    "onlyNew": true,
    "stateKey": "news-hourly",
    "maxItemsPerFeed": 50,
    "publishedAfter": "7 days",
    "keywords": ["climate", "energy"],
    "includeContent": true
}
```

### Output example

A real row from Planet Money (long values shortened):

```json
{
    "type": "item",
    "feedUrl": "https://feeds.npr.org/510289/podcast.xml",
    "feedTitle": "Planet Money",
    "title": "You Can Seize Everything (The U.S. is reviving pirate law)",
    "link": "https://www.npr.org/2026/11/20/nx-s1-6049085/iran-oil-tanker-prize-law-court",
    "published": "2026-11-20T22:00:00.000Z",
    "updated": null,
    "author": null,
    "categories": [],
    "summary": null,
    "content": "The U.S. is working on bringing back the ancient maritime practice of prize law — which allowed for privateers, or mo...",
    "contentText": "The U.S. is working on bringing back the ancient maritime practice of prize law — which allowed for privateers, or mo...",
    "image": "https://npr.brightspotcdn.com/dims3/default/strip/false/crop/3377x1900+0+0/resize/1280/...",
    "enclosures": [{ "url": "https://tracking.swap.fm/track/.../default.mp3?...", "type": "audio/mpeg", "length": 23613527 }],
    "commentsUrl": null,
    "durationSeconds": 1475,
    "episode": null,
    "season": null,
    "episodeType": "full",
    "explicit": false,
    "id": "1fc9b921-fb6f-4af6-88fa-a8bc420fd5fc",
    "guid": "1fc9b921-fb6f-4af6-88fa-a8bc420fd5fc",
    "input": "https://feeds.npr.org/510289/podcast.xml",
    "discoveredFrom": null,
    "feedFormat": "rss2",
    "fetchedAt": "2026-11-23T02:33:13.461Z"
}
```

### Good to know

- Only public feeds. Feeds that need a login, a cookie or a paid subscription can't be read.
- The actor fetches with its own name as the User-Agent, follows robots.txt and keeps to 2 requests at a time per
  site, so very large lists of feeds on one site are read at a steady pace.
- Website URLs: the feed the page links in its `<link rel="alternate">` tags is used (comment feeds are skipped).
  Give the feed URL itself if a site has several and you want a specific one.
- The run summary (counts by status, items returned, reads charged) is in the key-value store record `OUTPUT`.

# Actor input Schema

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

RSS, Atom, RSS 1.0 (RDF) or JSON Feed URLs, one per line. You can also enter a website, e.g. https://techcrunch.com: the actor reads the feed the page links to, or tries the usual feed addresses (/feed, /rss.xml, /atom.xml).

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

Remember which items earlier runs returned and return only items not seen before. The first run returns the current items. Use it with a schedule to monitor feeds. The memory is kept in a key-value store named rss-feed-reader-state in your account.

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

Runs with the same name share one memory. Use a different name for each schedule or task that should keep its own list of seen items. Letters, digits and dashes.

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

Newest items first. 0 returns every item in the feed. One feed read covers up to 50 items returned; a feed that returns more counts one more read for each further 50.

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

Optional. Only items published after this date or period: 2026-11-01, 2026-11-01T08:00:00Z, "24 hours" or "7 days". Items with no date are kept.

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

Optional. Only items whose title, text or categories contain at least one of these words (not case-sensitive).

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

Include the item's full HTML content and its plain-text version. Turn off to get smaller rows with title, link, date and summary.

## `feedSummaries` (type: `boolean`):

Also return a row for each feed that was read (type "feed"): title, format, language, item count. Feeds that could not be read always get such a row with the reason, and are free.

## `maxFeeds` (type: `integer`):

Safety cap. Feeds past it are not read and not charged.

## Actor input object example

```json
{
  "feeds": [
    "https://feeds.bbci.co.uk/news/rss.xml",
    "https://hnrss.org/frontpage",
    "https://simonwillison.net"
  ],
  "onlyNew": false,
  "stateKey": "default",
  "maxItemsPerFeed": 50,
  "includeContent": true,
  "feedSummaries": false,
  "maxFeeds": 5000
}
```

# Actor output Schema

## `items` (type: `string`):

Dataset: one row per item (type "item"), plus one row per feed that could not be read (type "feed", with the reason).

## `summary` (type: `string`):

Feeds read, counts by status, items returned, feed reads charged, and whether the run stopped early.

# 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/rss.xml",
        "https://hnrss.org/frontpage",
        "https://simonwillison.net"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("oldjard/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 = { "feeds": [
        "https://feeds.bbci.co.uk/news/rss.xml",
        "https://hnrss.org/frontpage",
        "https://simonwillison.net",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("oldjard/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 '{
  "feeds": [
    "https://feeds.bbci.co.uk/news/rss.xml",
    "https://hnrss.org/frontpage",
    "https://simonwillison.net"
  ]
}' |
apify call oldjard/rss-atom-feed-reader --silent --output-dataset

```

## MCP server setup

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