# RSS, Atom & JSON Feed Reader: only new items (`kvnloo/rss-feed-reader`) Actor

Read any RSS, Atom, RDF or JSON Feed (or a website URL, autodiscovered) into clean items with dates, content, images and podcast enclosures. Only-new-items mode for scheduled monitoring skips unchanged feeds (304). No author data.

- **URL**: https://apify.com/kvnloo/rss-feed-reader.md
- **Developed by:** [Kevin Rajan](https://apify.com/kvnloo) (community)
- **Categories:** News, Automation
- **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 parseds

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 & JSON Feed Reader

Turn any list of RSS, Atom, RDF or JSON feeds into clean, structured items: title, link, publication date (normalized to UTC), summary, full content as HTML and plain text, featured image, categories, and podcast enclosures with duration. Paste a website or blog URL instead of a feed and the Actor finds the advertised feed for you.

Built for **scheduled monitoring**: turn on **Only new items** and each run returns just the items you haven't seen yet. Feeds whose server says nothing changed (HTTP 304) are skipped cheaply. Dead, slow or broken feeds never fail the run and are never charged.

### What you get

- **Every common format, auto-detected.** RSS 0.9x/2.0, RSS 1.0 (RDF), Atom 1.0 and JSON Feed 1.0/1.1, mixed freely in one run.
- **Feed autodiscovery.** Give `https://blog.python.org` and the Actor reads the `<link rel="alternate">` feed. `discoveredFrom` shows the page you supplied.
- **Only new items since the last run.** The Actor remembers the item IDs it has already returned for each feed, plus the server's ETag and Last-Modified, in your own key-value store. Run it hourly and you get only fresh entries.
- **Unchanged feeds are cheap.** When the server answers *304 Not Modified*, the feed is reported as `not_modified` with no items, and the Actor does no further work for it.
- **Clean output.** Dates are ISO 8601 UTC. Relative links are resolved. Items duplicated within a feed are emitted once. Stray control characters, a frequent cause of broken feeds, are repaired.
- **Podcast ready.** Enclosure URL, size and MIME type, plus `durationSeconds` from `itunes:duration`.
- **No personal data.** Author names, emails, `dc:creator`, `managingEditor` and avatar images are never output, so the dataset is safe to store and share.
- **One status row per feed**, always present: `ok`, `empty`, `not_modified`, `timeout`, `http_404`, `not_a_feed`, `parse_error`, `dns_not_found` and so on, with the item count and newest/oldest dates.

### How to use

1. Paste feed URLs (or website URLs) into **Feed or website URLs**.
2. Optionally set **Max items per feed**, **Only items published after**, or turn off **Include full content** for lighter output.
3. For monitoring, turn on **Only new items since the last run** and add a schedule (for example hourly). Use **Monitor name** to keep separate memories for different schedules.
4. Run. Items and per-feed status rows land in the dataset. Use the **Feed items** and **Feed status** views, or export to JSON, CSV or Excel, or read them through the API.

#### Input example

```json
{
  "feedUrls": [
    "https://www.nasa.gov/feed/",
    "https://www.w3.org/blog/feed/",
    "https://www.jsonfeed.org/feed.json"
  ],
  "maxItemsPerFeed": 5,
  "onlyNewItems": false
}
```

`feedUrls` also accepts `{"url": "..."}` objects, or one string with URLs separated by new lines or commas.

#### Output example

One `item` row per entry:

```json
{
  "type": "item",
  "feedUrl": "https://www.nasa.gov/feed/",
  "feedTitle": "NASA",
  "title": "Outbursts from a Massive Star",
  "link": "https://www.nasa.gov/image-article/outbursts-from-a-massive-star/",
  "guid": "https://www.nasa.gov/?post_type=image-article&p=1065123",
  "published": "2026-11-13T16:39:33Z",
  "summary": "Using NASA's Chandra X-ray Observatory, astronomers have discovered …",
  "content": "<div class=\"hds-media\">…</div>",
  "contentText": "Using NASA's Chandra X-ray Observatory, astronomers have discovered …",
  "categories": [],
  "image": "https://www.nasa.gov/wp-content/uploads/2026/11/at2016blu.jpg?w=2048",
  "enclosures": [],
  "durationSeconds": null
}
```

and one `feed` row per feed URL:

```json
{
  "type": "feed",
  "feedUrl": "https://www.nasa.gov/feed/",
  "status": "ok",
  "error": null,
  "feedTitle": "NASA",
  "feedType": "rss",
  "feedLanguage": "en-US",
  "itemCount": 5,
  "newItemCount": null,
  "latestItemDate": "2026-11-13T16:39:33Z",
  "oldestItemDate": "2026-11-12T20:10:02Z",
  "charged": true
}
```

### Feed outcomes

| `status` | Meaning | Charged |
|---|---|---|
| `ok` | Feed read, items returned | Once per feed per 100 items |
| `empty` | Valid feed with no items (or none after your filters) | Once per feed |
| `not_modified` | Only-new-items mode, and the server reports no change (304) | $0.0001 |
| `timeout` | No answer in time, also after one retry | No |
| `http_404`, `http_503`, … | Error status (429 and 5xx are retried once) | No |
| `not_a_feed` | Not a feed, or a web page that advertises no feed | No |
| `parse_error` | Damaged beyond repair | No |
| `dns_not_found`, `connection_error`, `invalid_url`, `feed_too_large` | Network or input problem for that feed | No |

A bad feed never fails the run. The run status message summarizes the result, for example `9 of 10 feeds read, 214 items, 1 failed (free, see the feed rows).`

### Pricing

Pay per event: you pay only for feeds that were read.

| Event | Price |
|---|---|
| Actor start | $0.00005 |
| Feed parsed (`ok` or `empty`), per started 100 items returned | $0.001 |
| Feed unchanged (304, only-new-items mode) | $0.0001 |
| Failed or unreachable feed | Free |

Reading 100 feeds of up to 100 items each costs $0.10. Set a maximum charge per run in the run options and the Actor stops cleanly at that limit.

### Comparison

| | This Actor | Typical feed reader on Apify Store |
|---|---|---|
| Price per feed | **$0.001** (per 100 items) | $0.0014 to $0.002 per feed, or $0.00028 to $0.001 per item |
| Start fee | **$0.00005** | $0.001 to $0.035 |
| Unchanged feeds (304) | **Detected, 90% cheaper ($0.0001)** | No conditional requests documented |
| Only new items across runs | **Built in** (state kept per feed) | Date filter, or deduplicate downstream yourself |
| Author names and emails | **Never output** | Included |
| Formats | RSS 0.9x/2.0, RDF, Atom, JSON Feed | Same, or no RDF |

### FAQ

**Can I monitor many feeds on a schedule?** Yes. Turn on *Only new items since the last run*, create a schedule, and connect a webhook or integration (Slack, Google Sheets, Make, Zapier) to act on new items.

**Where is the "seen items" memory stored?** In a key-value store named `rss-feed-reader-state` in your own Apify account. Each feed keeps the IDs of up to 5,000 recent items. Delete the store, or change *Monitor name*, to start fresh.

**I gave a website URL and got `not_a_feed`.** The page doesn't advertise a feed with `<link rel="alternate">`. Look for a `/feed`, `/rss` or `/atom.xml` link on the site and use it directly.

**Why are author fields missing?** They are personal data. Leaving them out keeps your dataset free of personal information. Everything else in the feed is kept.

**Is this legal?** Feeds are published so that software can read them. You choose which feeds to read; respect each site's terms of use.

**Something broke?** Open an issue on the Issues tab with the feed URL. Feed-specific fixes are usually shipped the same day.

# Actor input Schema

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

RSS 2.0, RSS 1.0 (RDF), Atom or JSON Feed URLs, up to 5,000. A website or blog page URL also works: its advertised feed is found automatically. feed:// links work.

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

Newest items kept per feed (feeds list newest first).

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

Include the full HTML body (content) and its plain text (contentText). Turn off when you only need titles, links and summaries.

## `filterByDate` (type: `string`):

ISO 8601 date such as 2026-01-01 or 2026-01-01T00:00:00Z. Items without a date are kept. Leave empty for all items.

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

For scheduled monitoring: remember the items already returned (per feed, in the named key-value store rss-feed-reader-state) and return only new ones. Feeds the server reports unchanged (ETag / Last-Modified) are not charged.

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

Separate 'seen items' memory per monitor when you run several schedules over the same feeds. Letters, digits, \_ and -.

## `fetchTimeoutSeconds` (type: `integer`):

HTTP timeout per attempt. Timeouts, 429 and 5xx answers are retried once.

## `concurrency` (type: `integer`):

Feeds fetched at the same time.

## Actor input object example

```json
{
  "feedUrls": [
    "https://www.nasa.gov/feed/",
    "https://www.w3.org/blog/feed/",
    "https://www.jsonfeed.org/feed.json"
  ],
  "maxItemsPerFeed": 100,
  "includeContent": true,
  "onlyNewItems": false,
  "stateKey": "default",
  "fetchTimeoutSeconds": 30,
  "concurrency": 10
}
```

# 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 = {
    "feedUrls": [
        "https://www.nasa.gov/feed/",
        "https://www.w3.org/blog/feed/",
        "https://www.jsonfeed.org/feed.json"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kvnloo/rss-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 = { "feedUrls": [
        "https://www.nasa.gov/feed/",
        "https://www.w3.org/blog/feed/",
        "https://www.jsonfeed.org/feed.json",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("kvnloo/rss-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 '{
  "feedUrls": [
    "https://www.nasa.gov/feed/",
    "https://www.w3.org/blog/feed/",
    "https://www.jsonfeed.org/feed.json"
  ]
}' |
apify call kvnloo/rss-feed-reader --silent --output-dataset

```

## MCP server setup

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