# RSS Feed Reader & Parser: RSS, Atom & JSON Feed to JSON (`devdarfy/rss-feed-reader`) Actor

RSS feed reader and parser: RSS 2.0, Atom, RDF and JSON Feed URLs to clean JSON with UTC dates. New-items-only mode for scheduled feed monitoring. Handles broken XML and odd encodings. $1 per 1,000 items.

- **URL**: https://apify.com/devdarfy/rss-feed-reader.md
- **Developed by:** [Volkan](https://apify.com/devdarfy) (community)
- **Categories:** News, Developer tools, 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 items

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

An **RSS feed reader and parser** that turns RSS 2.0, Atom, RDF and JSON Feed addresses into one clean JSON schema, with UTC dates, absolute links, author names, images and podcast enclosures. Schedule it with new-items-only mode and each run returns just the items published since the previous run.

- **What you get:** one row per feed item with feed title and format, item ID, title, link, published and updated dates, author, categories, a plain-text summary, image, enclosures and, if you want it, the full content.
- **What it costs:** $0.001 per item returned, so **1,000 items = $1**. Failed feeds, "not modified" answers and items already delivered are free. The only other charge is the standard Apify start fee of $0.00005 per run (per GB of memory). Apify platform usage is included in the price.
- **What you need:** feed URLs, or just website addresses (the Actor finds the feed the site advertises).

It is built for feeds as they exist in the wild: broken XML, wrong or missing character encodings, a dozen date formats, HTML escaped once or twice, relative links and redirects. A feed that fails is reported separately and never ends up in your dataset.

### Example output

Two rows from a run with the default input (16 November 2026):

```json
[
  {
    "feedUrl": "https://github.com/apify/crawlee/releases.atom",
    "feedTitle": "Release notes from crawlee",
    "feedFormat": "atom",
    "id": "tag:github.com,2008:Repository/66670819/v4.0.0-rc.2",
    "title": "v4.0.0-rc.2",
    "link": "https://github.com/apify/crawlee/releases/tag/v4.0.0-rc.2",
    "publishedAt": "2026-11-10T15:19:56.000Z",
    "updatedAt": "2026-11-10T15:19:56.000Z",
    "author": "nikitachapovskii-dev",
    "categories": [],
    "summary": "fix: close the page of a timed-out adaptive browser attempt right awa…",
    "imageUrl": "https://avatars.githubusercontent.com/u/253061974?s=60&v=4",
    "enclosures": [],
    "language": "en-US",
    "isNew": null,
    "fetchedAt": "2026-11-16T07:22:01.647Z"
  },
  {
    "feedUrl": "https://www.nasa.gov/news-release/feed/",
    "feedTitle": "NASA",
    "feedFormat": "rss",
    "id": "https://science.nasa.gov/image-article/apod-2026-november-16-ngc-7129-star-formation-with-jets-from-webb/",
    "title": "APOD: 2026 November 16 – NGC 7129: Star Formation with Jets from Webb",
    "link": "https://science.nasa.gov/image-article/apod-2026-november-16-ngc-7129-star-formation-with-jets-from-webb/",
    "publishedAt": "2026-11-16T05:05:00.000Z",
    "updatedAt": null,
    "author": null,
    "categories": ["APOD"],
    "summary": "APOD Science APOD APOD: 2026 November 16 – NGC… Today’s APOD Archive Submissions Index Search Calendar RSS Education About Discuss APOD Astronomy Picture of the Day Discover the cosmos! Each day a different image or photograph of our fascinating universe is featured, along with a brief explanation written by a professional astronomer. NGC 7129: […]",
    "imageUrl": "https://assets.science.nasa.gov/dynamicimage/assets/science/missions/webb/science/2026/10/weic2620a.jpg?w=1280&h=1194&fit=clip&crop=faces%2Cfocalpoint",
    "enclosures": [],
    "language": "en-US",
    "isNew": null,
    "fetchedAt": "2026-11-16T07:22:01.661Z"
  }
]
```

The `summary` is what the feed itself publishes; some publishers put navigation text there, as NASA does above.

### What you can use it for

**News and blog monitoring.** Put the feeds of the publications you follow into `feedUrls`. If you only know a site's address, put it in `siteUrls` and the Actor finds the feed the site advertises in its HTML.

**GitHub release tracking.** Every GitHub repository has a releases feed at `https://github.com/OWNER/REPO/releases.atom` (and `.../tags.atom` for tags). Add the repositories you depend on and you get one row per release, with the version as `title`, the release page as `link` and the release notes as `summary` (or in full with `includeContent`).

**Scheduled runs that return only new items.** Turn on `onlyNew` and create an Apify schedule (hourly or daily). The first run returns the current items; later runs return only items that were not delivered before. Connect the dataset to a webhook, Slack, Zapier or Make to get notified.

**Collecting items since a date.** Set `since` (for example `2026-11-01`) to keep only items published on or after that moment.

### Quick start

Press Start with the default input. It reads three public feeds (GitHub release notes for Crawlee, NASA news releases and the JSON Feed blog) and returns up to 10 items from each.

A typical input:

```json
{
  "feedUrls": [
    "https://github.com/apify/crawlee/releases.atom",
    "https://feeds.bbci.co.uk/news/rss.xml"
  ],
  "siteUrls": ["https://blog.apify.com/"],
  "onlyNew": true,
  "maxItemsPerFeed": 50
}
```

### Input

| Field | Type | Default | Meaning |
|---|---|---|---|
| `feedUrls` | list of URLs | | RSS 2.0, Atom, RDF (RSS 1.0) or JSON Feed addresses. If an address turns out to be a web page, the Actor follows the first feed link on that page. |
| `siteUrls` | list of URLs | | Web pages whose feed you do not know. The Actor reads `<link rel="alternate">` tags of type `application/rss+xml`, `application/atom+xml` or `application/feed+json` and loads the first feed it finds. |
| `onlyNew` | boolean | `false` | Return only items not delivered by an earlier run. See below. |
| `since` | ISO date | | Keep items published (or, without a publish date, updated) at or after this moment. Items with no date at all are dropped when this is set. |
| `maxItemsPerFeed` | integer | `50` | Newest items taken from each feed per run. |
| `maxItems` | integer | `0` | Cap on items for the whole run, `0` = no cap. Use it to cap spend. |
| `includeContent` | boolean | `false` | Adds `contentHtml` and `contentText` (the full post body). Off by default to keep rows small. |
| `dedupeAcrossFeeds` | boolean | `false` | When the same article link appears in several feeds of one run, return it once (from the first feed). Links are compared without `www.`, trailing slash, `#fragment` and `utm_*` parameters. |
| `userAgent` | string | | User-Agent header for all requests. Default: `Mozilla/5.0 (compatible; rss-feed-reader/1.0; Apify actor)`. |

Feeds are delivered in the order you list them (`feedUrls` first, then `siteUrls`); items inside a feed are newest first.

### Output

One dataset row per feed item:

| Field | Description |
|---|---|
| `feedUrl` | The feed address you gave (for `siteUrls`, the feed address that was found) |
| `feedTitle`, `feedFormat` | Feed title and `rss`, `atom`, `rdf` or `json` |
| `id` | The item's `guid` / `id`; if the feed has none, its link; if it has no link either, `sha1:` plus a hash of title and date |
| `title`, `link` | Plain-text title and absolute link (Atom: `link rel="alternate"`) |
| `publishedAt`, `updatedAt` | UTC ISO 8601, or `null` when the feed gives no readable date |
| `author` | Author name(s) as published by the feed, comma-separated. E-mail addresses are removed. |
| `categories` | Categories or tags |
| `summary` | Plain text, at most 500 characters. Taken from the description/summary, or from the content if there is none |
| `contentHtml`, `contentText` | Full body as HTML (relative links made absolute) and as plain text; only with `includeContent` |
| `imageUrl` | `media:thumbnail`, iTunes image, an image `media:content`/enclosure, or the first real image in the content |
| `enclosures` | `[{ url, type, length }]` from RSS `enclosure`, Atom `rel="enclosure"`, `media:content` and JSON Feed attachments. `length` is in bytes or `null` |
| `language` | Item or feed language, e.g. `en-US` |
| `isNew` | `true` in new-items-only mode; `null` otherwise (no history is kept to compare against) |
| `fetchedAt` | When the feed was downloaded |

### New-items-only mode

With `onlyNew` on, the Actor keeps one small record per feed in a named key-value store called `rss-feed-reader-state` in your Apify account:

- **Conditional requests.** The feed's `ETag` and `Last-Modified` are stored and sent back next time. If the server answers "304 Not Modified", nothing is downloaded and no items are returned.
- **Delivered item IDs.** Items whose ID was delivered before are skipped. Up to 5,000 IDs are kept per feed (more if the feed itself lists more items), and an ID is forgotten 90 days after the item last appeared in the feed.
- **Nothing is lost to limits.** Items held back by `maxItemsPerFeed`, `maxItems` or your spending limit are not marked as delivered and come back in the next run. On a first run against a long feed this means older items arrive over the next runs; raise `maxItemsPerFeed` if you want them all at once.

To start over for all feeds, delete the `rss-feed-reader-state` store.

### Errors

A feed that cannot be read (HTTP error, timeout, not a feed, blocked address) does not stop the run and does not produce a dataset row. It is logged, and the run's default key-value store gets an `ERRORS` record listing every failed feed as `{ feedUrl, error, httpStatus }`. The run status message tells you how many feeds failed.

### Pricing

Pay per result: **$1.00 per 1,000 items** returned, that is $0.001 per dataset row. Failed feeds, "not modified" answers and already-delivered items cost nothing, so frequent scheduled runs on quiet feeds stay cheap. Use `maxItems` to cap spend per run.

### How it handles messy feeds

- **Formats:** RSS 2.0 and 0.9x, Atom 1.0 (including feeds where every element has an `atom:` prefix, and Atom elements inside RSS), RDF / RSS 1.0, JSON Feed 1.0 and 1.1. The format is detected from the content, not the `Content-Type` header.
- **Broken XML:** junk before the document, illegal control characters, a bare `<` or `&` in text, unescaped HTML inside `<description>`, a download that stops in the middle of an item, or one malformed item among good ones. Complete items are kept.
- **Encodings:** byte order marks, the XML declaration and the HTTP `charset` are all read; ISO-8859-1, Windows-1252, Windows-1251 and other encodings are decoded. A body that says Latin-1 but is really UTF-8 (or the other way round) is detected.
- **Dates:** RFC 822 with the usual mistakes (missing weekday or seconds, two-digit years, named zones like `EST`), ISO 8601 / W3C dates, asctime, `November 16, 2026` and Unix timestamps. A date without a time zone is read as UTC. Anything unreadable becomes `null` instead of a wrong date.
- **Text:** CDATA, HTML entities, titles escaped twice, relative links resolved against the feed address (and Atom `xml:base`).

### FAQ

**Can I read podcast feeds?** Yes. Episode audio files are in `enclosures` with their MIME type and size in bytes, and the episode or show artwork is in `imageUrl`.

**Why did a scheduled run return 0 items?** In new-items-only mode that is normal when nothing new was published: the log shows "not modified since the last run" or how many items were already delivered. If a feed failed, check the `ERRORS` record.

**Why are some `publishedAt` values `null`?** The feed gave no date, or a date that could not be read reliably. Atom entries without `published` use `updated`.

**Why is `author` empty or missing the e-mail?** Many feeds publish no author, or only an e-mail address. The Actor outputs names only and removes e-mail addresses.

**Does it work with any feed URL?** Any public URL that returns an RSS, Atom, RDF or JSON Feed document. Media RSS extensions are read too, including the `media:group` blocks that video platforms use for thumbnails and descriptions. Some large sites rate-limit or block cloud IP addresses; those feeds then show up in `ERRORS` with the HTTP status.

**Can I get items older than what the feed shows?** No. A feed only lists recent items; use new-items-only mode on a schedule to build up a history.

### Limits

- Requests: at most one per second to the same host, at most 10 hosts at a time, 20-second timeout, at most 5 redirects, 10 MB per response, one retry for network errors, timeouts, 429 and 5xx answers. Only `http` and `https` addresses on the public internet are fetched; private, loopback, link-local and cloud metadata addresses are refused, also after a redirect or a DNS change.
- The Actor reads the feed file as published. It does not follow feed pagination (RFC 5005 archives), so you get the items the publisher currently lists, often the last 10 to 50.
- No logins, cookies, custom headers (other than User-Agent) or proxies. Feeds that need them, or that block data-center IP addresses, will fail with the HTTP status in `ERRORS`.
- Feed discovery reads the HTML the server sends; it does not run JavaScript.
- `contentHtml` is the publisher's HTML with relative links made absolute; it is not sanitized. Clean it before you display it on your own site.
- `summary` is cut at 500 characters on a word boundary.

### Your responsibility

Feeds are published by third parties. You are responsible for using the content in line with each publisher's terms, copyright and any applicable law, for example when you republish full articles. This Actor is not affiliated with any of the publishers whose feeds appear in the examples.

### More Actors from the same developer

| Actor | What it does | Price |
|---|---|---|
| [ATS Jobs API](https://apify.com/devdarfy/ats-jobs) | Greenhouse, Lever and Ashby job postings, with new-job alerts | $3 / 1,000 jobs |
| [Career Page Jobs Scraper](https://apify.com/devdarfy/jobposting-extractor) | schema.org JobPosting data from any careers page that publishes it | $4 / 1,000 jobs |
| [Government Jobs API](https://apify.com/devdarfy/gov-jobs) | USAJOBS and Swedish Arbetsförmedlingen (Platsbanken) job ads | $2 / 1,000 jobs |
| [Website Screenshot API](https://apify.com/devdarfy/render-api) | Full-page screenshots and URL to PDF for lists of URLs | $1 / 1,000 screenshots |
| [Bulk DNS Lookup & DMARC Checker](https://apify.com/devdarfy/dns-email-security) | MX, SPF, DMARC, DKIM and DNSSEC audit per domain, with a score | $2 / 1,000 domains |
| [Companies House API](https://apify.com/devdarfy/uk-companies-house) | UK company lookup by number, search and new incorporations | $3 / 1,000 companies |

# Actor input Schema

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

Addresses of RSS 2.0, Atom, RDF (RSS 1.0) or JSON Feed files, one per line. Only http and https are accepted.

## `siteUrls` (type: `array`):

Web pages whose feed you do not know. The Actor downloads each page, looks for a feed link in its HTML head (RSS, Atom or JSON Feed) and reads the first one it finds.

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

Remember delivered items per feed in the named key-value store rss-feed-reader-state and return only items not delivered before. Feeds that answer "not modified" produce no items. Use this with a schedule.

## `since` (type: `string`):

Keep only items published (or, when there is no publish date, updated) at or after this moment. ISO 8601 date or date-time, for example 2026-11-01 or 2026-11-01T06:00:00Z. Items without any date are dropped when this is set.

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

Newest items to return from each feed in one run.

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

Maximum number of items returned by the whole run, 0 = no limit. You are charged per item returned, so this caps your spend.

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

Add contentHtml and contentText to every item. Off by default to keep rows small; summary is always included.

## `dedupeAcrossFeeds` (type: `boolean`):

When the same article link appears in more than one feed in this run, return it only once (from the first feed that has it).

## `userAgent` (type: `string`):

User-Agent header sent with every request. Leave empty for the default: Mozilla/5.0 (compatible; rss-feed-reader/1.0; Apify actor).

## Actor input object example

```json
{
  "feedUrls": [
    "https://github.com/apify/crawlee/releases.atom",
    "https://www.nasa.gov/news-release/feed/",
    "https://www.jsonfeed.org/feed.json"
  ],
  "onlyNew": false,
  "maxItemsPerFeed": 10,
  "maxItems": 0,
  "includeContent": false,
  "dedupeAcrossFeeds": false
}
```

# Actor output Schema

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

Feed items returned by this run, one row per item

## `errors` (type: `string`):

Feeds that could not be read in this run (feedUrl, error, httpStatus). Empty list when every feed worked.

# 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://github.com/apify/crawlee/releases.atom",
        "https://www.nasa.gov/news-release/feed/",
        "https://www.jsonfeed.org/feed.json"
    ],
    "maxItemsPerFeed": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("devdarfy/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://github.com/apify/crawlee/releases.atom",
        "https://www.nasa.gov/news-release/feed/",
        "https://www.jsonfeed.org/feed.json",
    ],
    "maxItemsPerFeed": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("devdarfy/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://github.com/apify/crawlee/releases.atom",
    "https://www.nasa.gov/news-release/feed/",
    "https://www.jsonfeed.org/feed.json"
  ],
  "maxItemsPerFeed": 10
}' |
apify call devdarfy/rss-feed-reader --silent --output-dataset

```

## MCP server setup

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