# RSS, Atom, JSON Feed Reader, New Items Only \[USD 1.2/1K feeds] (`usefulapi/rss-feed-reader`) Actor

Read RSS, Atom and JSON feeds in bulk or find the feed of any website, with new items only between runs, filters, podcasts and YouTube, and no author names or emails. USD 1.20 per 1,000 feeds (first 25 items of each included), USD 0.10 per 1,000 extra items.

- **URL**: https://apify.com/usefulapi/rss-feed-reader.md
- **Developed by:** [Useful API](https://apify.com/usefulapi) (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 $1.20 / 1,000 feed read (25 items included)s

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 and JSON Feed Reader: new items only, feed discovery, no author names

Read RSS (0.9x, 1.0, 2.0), Atom and JSON Feed in bulk, or give a website and let the Actor find its feed. One clean row per item: title, link, dates, summary, categories, enclosure (podcast audio, video, files), image. Run it again later with **New items only** and get just what appeared since the last run. A bad feed is a row with a status, never a failed run.

**Privacy by design:** author names are never output (`author`, `dc:creator`, `itunes:author`, JSON Feed `authors`), and neither are the owner and editor fields that hold emails (`managingEditor`, `webMaster`, `itunes:owner`). Anything shaped like an email address is removed from every text field. Titles, summaries and content are the publisher's own text and can still mention people.

### What you can do

- Feed addresses (any mix of formats) or website addresses: the feed is found from the page's feed links, then from common feed paths (`/feed`, `/rss`, `/atom.xml`, `/feed.json`, ...).
- **New items only**: the Actor keeps what it has seen in a key-value store in your account (named from your `stateKey`, 5,000 items per feed) and sends `If-None-Match` / `If-Modified-Since`; a feed with nothing new is one USD 0.0002 check.
- Filters: newest N per feed, items since a date (`2026-11-01` or `7 days`), keywords (any of), excluded keywords.
- Full content as plain text or HTML (capped), podcast enclosures with type and size, duration, images (including YouTube thumbnails).
- Works with podcast feeds, YouTube channel feeds, GitHub release and commit Atom feeds, WordPress, Substack, Medium, Blogger.

### Input example

```json
{
  "urls": ["https://hnrss.org/frontpage", "https://www.nasa.gov/", "https://feeds.npr.org/510289/podcast.xml"],
  "maxItemsPerFeed": 25,
  "newItemsOnly": true,
  "stateKey": "my-news-watch",
  "keywords": ["ai", "open source"]
}
```

Run it on a schedule with the same `stateKey`; each run returns only new items. Use a different `stateKey` for a different watch list; `resetState` starts over.

### Output

An item row (trimmed):

```json
{
  "rowType": "item",
  "status": "ok",
  "input": "https://feeds.npr.org/510289/podcast.xml",
  "feedUrl": "https://feeds.npr.org/510289/podcast.xml",
  "feedTitle": "Planet Money",
  "feedLink": "https://www.npr.org/podcasts/510289/planet-money",
  "feedFormat": "rss",
  "id": "74bdb425-023b-4ef5-b70d-e3405c832b87",
  "link": "https://www.npr.org/2026/11/18/nx-s1-6044772/data-center-debt-deals-investment",
  "title": "Two ways big bets on data centers might affect you (Two Indicators)",
  "date": "2026-11-18T08:00:00.000Z",
  "published": "2026-11-18T08:00:00.000Z",
  "updated": null,
  "summary": "Your money might be fueling the AI boom ...",
  "categories": [],
  "enclosure": {
    "url": "https://tracking.swap.fm/...mp3",
    "type": "audio/mpeg",
    "length": null
  },
  "image": "https://npr.brightspotcdn.com/dims3/...",
  "duration": "1108",
  "feedLanguage": "en",
  "foundVia": "direct",
  "scrapedAt": "2026-11-19T10:35:36.059Z"
}
```

A feed with nothing new gets one row instead (billed as a cheap check). Here the server answered "not modified" to the saved ETag, so the feed was not downloaded again and its title and item count are not known in this run:

```json
{
  "rowType": "feed",
  "status": "no_new_items",
  "input": "https://github.blog/feed/",
  "feedUrl": "https://github.blog/feed/",
  "feedTitle": null,
  "feedFormat": null,
  "foundVia": "direct",
  "itemsInFeed": null,
  "newItems": 0,
  "notModified": true,
  "error": null,
  "checkedAt": "2026-11-19T12:35:08.622Z",
  "billedAs": "feed-checked"
}
```

When the feed was downloaded and nothing in it was new, `feedTitle`, `feedFormat` and `itemsInFeed` are filled (for example Planet Money: `"itemsInFeed": 355, "notModified": false`).
Statuses: `ok` (item rows), `no_new_items`, `no_items`, `not_found`, `blocked` (the server refused: HTTP 401, 403, 429), `blocked_by_robots`, `no_feed_found`, `not_a_feed`, `too_large`, `private_address`, `tls_error` (the site's certificate could not be verified), `timeout`, `error`, `invalid_input` (free). `foundVia` tells whether the feed was `direct`, found through a `link-tag`, a `common-path`, or `saved` from an earlier run. Run totals are in the key-value store record `OUTPUT`.

### Pricing (pay per event)

| Event | Price |
|---|---|
| Run start | USD 0.002 |
| Feed read: a feed that gave items, first 25 items included | USD 0.0012 (USD 1.20 per 1,000 feeds) |
| Extra item beyond the first 25 of a feed | USD 0.0001 (USD 0.10 per 1,000) |
| Feed checked, no items: nothing new, nothing matching, empty, or unreadable | USD 0.0002 |

Worked example: 100 feeds with 10 items each is USD 0.002 + 100 x 0.0012 = **USD 0.122**. Watching the same 100 feeds every hour with New items only, when 3 feeds have news, is USD 0.002 + 3 x 0.0012 + 97 x 0.0002 = **USD 0.025** per run. Set a maximum cost per run in the run options: the Actor stops cleanly before it passes it, keeps every saved row, and says so in the run message. Invalid entries are free.

### Limits (honest)

- An address that looks like a feed (its path ends in `.xml`, `.rss`, `.atom`, `.rdf` or `.json`, contains `/feed`, `/rss` or `/atom`, or has a query such as `?format=rss`) is read as given, like a file link. Any other address is treated as a website: it, the feed links found in it and the common-path guesses are read only where `robots.txt` allows (bot name `UsefulApiBot`), and so is a feed-looking address that turns out to be a web page. Example: YouTube's `robots.txt` closes `/feeds/videos.xml`, so give the channel feed address (`https://www.youtube.com/feeds/videos.xml?channel_id=...`) directly instead of the channel page.
- One feed is read up to 5 MB (a larger feed is cut after its last whole item and the rows say `feedTruncated`), one address up to 12 MB in total, 30 seconds. Up to 1,000 items per feed.
- HTTPS certificates are checked. A site whose certificate is expired, self-signed, for another name or sent without its intermediate certificate gives `tls_error` and is not read (an unverified connection could carry items that are not the publisher's).
- The Actor identifies itself as `UsefulApiBot` and does not imitate a browser. Servers that refuse bots (for example the Guardian's feed answered HTTP 403 in our tests) come back as `blocked`.
- Sites that publish no feed and need JavaScript to show content give `no_feed_found`.
- An item whose text is edited later (same id) is not sent again. Dates are read as published; a date the Actor cannot read is `null`. Atom feeds that only carry `updated` have `published` null; `date` is published, else updated.
- Items cut by `maxItemsPerFeed` on the very first New-items run are treated as already seen (the first run is the baseline); on later runs they are delivered in the next run. Items that do not match your filters are treated as seen too.
- Do not start two runs with the same `stateKey` at the same time: both would see the same items as new and both would bill them.
- HTML content is the markup as published, not sanitised.

### FAQ

**Does it find the feed of a website?** Yes: give the website address. `maxFeedsPerSite` (1 to 5) reads more than the first feed; comment feeds come last.
**Where is the memory of seen items?** A key-value store named `rss-state-<your state key>` in your account, one record per address. Delete it to reset.
**Why are some rows free of authors?** On purpose, see Privacy above.
**What happens when a feed is down?** One row with a status (for example `not_found`) billed as a cheap check; the run does not fail.

# Actor input Schema

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

One per line. An address that looks like a feed (ending in .xml, .rss, .atom or .json, or with /feed, /rss or /atom in its path) is read as given. Any other address is treated as a website and searched for its feed (the feed links in the page, then common feed paths), with robots.txt respected for every page we look through. Duplicates are dropped.

## `newItemsOnly` (type: `boolean`):

Return only items not seen in an earlier run with the same state key. The first run returns the newest items and remembers the whole feed. The memory is a key-value store in your account (named from the state key).

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

Name of your watch list. Runs with the same key share what has been seen; use a different key for a different list. Used only when New items only is on.

## `resetState` (type: `boolean`):

Treat every feed as new in this run and overwrite the saved state. Used only when New items only is on.

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

The newest items of each feed, 1 to 1000. Every item returned is billed.

## `sinceDate` (type: `string`):

A date such as 2026-11-01, or a time back from now such as 7 days, 36 hours or 2 weeks. Items without a date are kept.

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

Keep an item only when its title, summary or categories contain one of these words (not case sensitive). Leave empty for all items.

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

Drop an item when its title, summary or categories contain one of these words.

## `includeContent` (type: `string`):

Add the item's full content when the feed carries it. Text = plain text, HTML = the markup as published (not sanitised).

## `maxContentChars` (type: `integer`):

Characters kept of the full content (100 to 200000).

## `maxFeedsPerSite` (type: `integer`):

When you give a website address, how many of the feeds it lists to read (1 to 5). Comment feeds come last.

## `maxInputs` (type: `integer`):

Stop after this many addresses (the rest of the list is ignored). Leave empty for all.

## Actor input object example

```json
{
  "urls": [
    "https://hnrss.org/frontpage",
    "https://github.blog/feed/",
    "https://www.nasa.gov/"
  ],
  "newItemsOnly": false,
  "stateKey": "default",
  "resetState": false,
  "maxItemsPerFeed": 25,
  "includeContent": "none",
  "maxContentChars": 20000,
  "maxFeedsPerSite": 1
}
```

# Actor output Schema

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

No description

## `feeds` (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 = {
    "urls": [
        "https://hnrss.org/frontpage",
        "https://github.blog/feed/",
        "https://www.nasa.gov/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("usefulapi/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 = { "urls": [
        "https://hnrss.org/frontpage",
        "https://github.blog/feed/",
        "https://www.nasa.gov/",
    ] }

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

```

## MCP server setup

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