# RSS Feed Reader (`almond_subcontra/rss-feed-reader`) Actor

Read RSS, Atom, RDF and JSON feeds, or find the feed of a website, and get one row per item with title, link, dates, author, summary, content, categories, enclosure and image; turn on Only new items to get just what is new since the last run.

- **URL**: https://apify.com/almond_subcontra/rss-feed-reader.md
- **Developed by:** [XD](https://apify.com/almond_subcontra) (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 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

## RSS Feed Reader

Read **RSS, Atom, RDF and JSON feeds** and get one row per item: title, link, dates, author, summary, content, categories, enclosure (for podcasts) and image.

Give it feed links, or website pages that announce a feed. Turn on **Only new items** and each run returns only the items an earlier run did not return. That makes it a good fit for scheduled runs that feed another tool.

### What it is for

- Following news sites, blogs and release notes on a schedule
- Collecting podcast episodes with their audio file links
- Sending new items to a spreadsheet, a chat or an automation tool
- Building datasets of articles from many feeds

### Input

| Field | What it does |
|---|---|
| **Feed links** | Feed links, one per line. A website page also works when it announces its feed. Only http and https links are read. A link given twice, or a website page and its own feed, is read once. |
| **Maximum items per feed** | Only the first this many items of each feed are read, in the order the feed lists them. Default 50, up to 10,000. |
| **Maximum items in total** | The run stops after this many items from all feeds together. Default 1000. |
| **Published after** | Only items published on or after this date (00:00 UTC). Items without a date are left out while this is set. |
| **Only new items** | Off by default. When on, only items that an earlier run of the same saved task did not return. |
| **Include content** | On by default. The full HTML content of each item. Turn it off for smaller rows. |

```json
{
  "feedUrls": ["https://xkcd.com/atom.xml", "https://rss.slashdot.org/Slashdot/slashdotMain", "https://changelog.com/podcast/feed"],
  "maxItemsPerFeed": 20,
  "onlyNew": true
}
```

### Output

```json
{
  "feedUrl": "https://changelog.com/podcast/feed",
  "sourceUrl": "https://changelog.com/podcast/feed",
  "feedTitle": "The Changelog: Software Development, Open Source",
  "feedType": "rss",
  "id": "changelog.com/1/2837",
  "title": "All your packages are belong to us (Interview)",
  "link": "https://changelog.com/podcast/690",
  "published": "2026-11-13T03:00:00.000Z",
  "updated": null,
  "author": null,
  "summary": "AI agents can write the code, choose the packages, and run the install. Who's checking what they just invited onto your machine? ...",
  "content": "<p>AI agents can write the code, choose the packages, and run the install. ...</p>",
  "categories": [],
  "enclosure": {
    "url": "https://op3.dev/e/https://pscrb.fm/rss/p/https://cdn.changelog.com/uploads/podcast/690/the-changelog-690.mp3",
    "type": "audio/mpeg",
    "length": 201299181
  },
  "image": "https://cdn.changelog.com/uploads/covers/changelog-interviews-original.png?v=63848368174",
  "position": 1,
  "scrapedAt": "2026-11-18T20:30:17.351Z"
}
```

(`summary` and `content` are shortened here.)

- `feedUrl` is the feed that was read. `sourceUrl` is the link as you gave it. They differ when you give a website page.
- `feedType` is `rss` (RSS 2.0), `rdf` (RSS 1.0), `atom` or `json` (JSON Feed).
- `id` is the item's own id from the feed. When the feed gives none, it is the link.
- `published` and `updated` are times in UTC. They are `null` when the feed has no date or a date that cannot be read.
- `summary` is plain text, without HTML. For a JSON feed item without a summary, it is the text of its HTML content. `content` is the full HTML.
- `enclosure` is the first attached file, such as a podcast episode. `length` is in bytes.
- `position` is the item's place in its feed, starting at 1.
- Fields the feed does not have are `null`, and `categories` is an empty list.

### Price

The current price is on the **Pricing** tab of this page. There is no monthly fee.

Use **Maximum items in total** to cap a run. When a per-result price applies, you can also set a maximum charge per run in the run options; the reader stops when it is reached.

### Good to know

- Four formats are read: RSS 2.0, RSS 1.0 (RDF), Atom and JSON Feed. The format is found from the feed itself, not from what the server says it is.
- A website page is searched for the feed link it announces. The first RSS, Atom or JSON feed link is read.
- **Only new items** remembers the items each saved task returned, for each feed. Two saved tasks reading the same feed each get all of its new items. Runs started without a saved task share one memory.
- The memory keeps up to 10,000 items of each feed. An item stays in it as long as the feed lists it; when the memory is full, items the feed no longer lists are dropped first. An item is remembered only once it is saved, so items left out by **Maximum items in total** or the spending limit come back in the next run.
- With **Only new items** on, a scheduled run that finds nothing new ends as succeeded, saves no rows and costs nothing for items.
- **Published after** leaves out items without a date. Atom items that have only an update time are checked by that time.
- **Maximum items per feed** counts from the top of each feed, before the other filters. Most feeds list the newest items first. For a feed that lists the oldest first, set it high enough for the whole feed, or new items at the bottom are not read.
- Items keep the order of their feed, and `position` gives their place in it.
- An item is returned once per feed in a run, even when the feed lists it twice.
- A feed that cannot be read is a warning in the log. The other feeds are still read. The run fails only when every feed fails.
- A feed that cannot be reached, does not answer within 30 seconds, or answers busy (HTTP 408, 429, 500, 502, 503 or 504) is tried up to 3 times.
- Feeds above 30 MB are not read.
- Only what the feed itself contains is returned. The linked pages are not opened.
- Each saved item is one charge. Skipped items are free.

### Something wrong?

Open an issue on the **Issues** tab with the input you used.

# Actor input Schema

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

RSS, Atom, RDF or JSON feed links, one per line. A website page also works when it announces its feed. Only http and https links are read.

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

Only the first this many items of each feed are read, in the order the feed lists them.

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

The run stops after this many items from all feeds together.

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

Only items published on or after this date (00:00 UTC). Items without a date are left out while this is set.

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

Only items that an earlier run of this saved task did not return. Skipped items are not charged. Useful for scheduled runs. The memory keeps up to 10,000 items per feed, and an item stays in it as long as the feed lists it.

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

Include the full HTML content of each item. Turn off for smaller rows.

## Actor input object example

```json
{
  "feedUrls": [
    "https://xkcd.com/atom.xml",
    "https://rss.slashdot.org/Slashdot/slashdotMain"
  ],
  "maxItemsPerFeed": 50,
  "maxItems": 1000,
  "onlyNew": false,
  "includeContent": true
}
```

# Actor output Schema

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

One row per feed item: feed, title, link, dates, author, summary, content, categories, enclosure and image.

# 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://xkcd.com/atom.xml",
        "https://rss.slashdot.org/Slashdot/slashdotMain"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("almond_subcontra/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://xkcd.com/atom.xml",
        "https://rss.slashdot.org/Slashdot/slashdotMain",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("almond_subcontra/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://xkcd.com/atom.xml",
    "https://rss.slashdot.org/Slashdot/slashdotMain"
  ]
}' |
apify call almond_subcontra/rss-feed-reader --silent --output-dataset

```

## MCP server setup

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