# RSS & Atom Feed Reader: News & Podcasts (`ailu_studio/rss-feed-reader`) Actor

Parse RSS and Atom feeds into structured entries. Filter keywords, include available content and track newly observed items across runs.

- **URL**: https://apify.com/ailu_studio/rss-feed-reader.md
- **Developed by:** [Ailu Studio](https://apify.com/ailu_studio) (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.00 / 1,000 feed item rows

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Feed Reader: News & Podcasts

Parse RSS and Atom feeds into structured entries. Filter keywords, include available content and track newly observed items across runs.

### Try a small sample

Paste this into the Input JSON editor, run the Actor, then inspect its dataset. Export JSON or CSV from the dataset, or use the API tab for authenticated integration examples.

```json
{
  "feeds": [
    "https://hnrss.org/frontpage"
  ],
  "maxItemsPerFeed": 10,
  "maxItems": 10,
  "outputMode": "all"
}
```

### Workflow example

Use the same feed list and state store for a recurring digest. Feed-provided summaries are not guaranteed to contain the full linked article.

```json
{
  "feeds": [
    "https://hnrss.org/frontpage"
  ],
  "maxItemsPerFeed": 50,
  "maxItems": 50,
  "outputMode": "new"
}
```

Examples show supported inputs, not guaranteed result counts. Public sources and filters can produce fewer rows or zero rows. Check the run log and any summary/error records before treating the output as complete.

For recurring use, save the input as an Apify Task and schedule sequential runs. Export results to your own spreadsheet, database, n8n or Make workflow. Scheduling does not add stateful tracking to Actors that only return snapshots. Keep API credentials in environment variables.

### Related workflow

[Substack Posts API: Newsletters & Articles](https://apify.com/ailu_studio/substack-posts-api) can complement this Actor. It runs separately and has its own price and input requirements.

### Detailed reference

### RSS & Atom Feed Reader: Parse Any RSS, Atom, JSON Feed or Podcast Feed to JSON, with New-Items Mode

Turn any feed into clean JSON rows: RSS 2.0, RSS 1.0 (RDF), Atom 1.0 and JSON Feed 1.1, including podcast feeds. Each item comes back with title, link, guid, author, published and updated dates in ISO 8601, a plain-text summary, optional full content text, categories, image URL and the podcast enclosure (audio URL, type, size, duration from `itunes:duration`). Give it a website instead of a feed and it finds the feed itself from `<link rel="alternate">` tags or common paths such as `/feed`, `/rss.xml` and `/atom.xml`. Filter by keywords or by the last N days, and switch to `new` mode to get only items you have not seen in earlier runs, which makes scheduled feed monitoring cheap. Compared with other RSS readers in the Store, this one handles all four feed formats plus podcast and media fields in one schema, discovers feeds from plain website URLs, has a built-in new-items mode with per-feed state, and returns a free status row per feed so failing feeds are visible without failing the run.

### Use cases

- News and content monitoring: schedule the Actor in `new` mode and send only fresh articles to Slack, email, a CRM or an AI agent.
- Podcast data: list episodes with audio URL, duration, size and artwork for catalogues or transcription pipelines.
- Competitor and industry tracking: watch blogs, release notes and changelogs with keyword filters.
- Aggregation: merge many feeds into one dataset with a single, consistent schema.
- AI and RAG pipelines: feed recent article summaries or full content text into LLM workflows.

### Input

| Field | Default | Meaning |
|---|---|---|
| `feeds` | `["https://hnrss.org/frontpage", "https://www.theverge.com/rss/index.xml", "https://feeds.simplecast.com/54nAGcIl"]` | Feed URLs or website addresses (the feed is discovered). |
| `sinceDays` | empty | Keep only items published or updated in the last N days (undated items are dropped when set). |
| `keywords` | `[]` | Keep only items whose title, summary or content contains one of these strings (case-insensitive). |
| `includeContent` | `false` | Add `contentText` (full content as plain text, max 5,000 characters). |
| `outputMode` | `all` | `all`: every current item. `new`: only items not returned by an earlier run (first run returns all). |
| `stateStoreName` | `rss-feed-reader-state` | Key-value store used by `new` mode; use different names for separate monitors. |
| `maxItemsPerFeed` | `100` | Items read from the top of each feed. |
| `maxItems` | `500` | Maximum charged item rows per run. |

Example input:

```json
{ "feeds": ["https://simonwillison.net", "https://www.python.org", "https://rss.slashdot.org/Slashdot/slashdotMain"], "keywords": ["python", "llm"], "sinceDays": 7, "outputMode": "new" }
```

### Output

| Field | Type | Meaning |
|---|---|---|
| `id` | string | SHA-1 of `feedUrl + guid` (or link), first 16 hex characters. Stable across runs. |
| `rowType` | string | `item` (charged) or `feed` (free). |
| `feedUrl`, `feedTitle`, `feedSiteUrl` | string | Feed the item came from. |
| `title`, `url`, `guid`, `author` | string | null | Item basics (plain text, absolute URL). |
| `publishedAt`, `updatedAt` | ISO 8601 | null | Dates converted to UTC. |
| `summary` | string | null | Plain-text summary, max 500 characters. |
| `contentText` | string | null | Full content as plain text (only with `includeContent`). |
| `categories` | string\[] | Categories or tags. |
| `imageUrl` | string | null | Thumbnail, media image, itunes:image or first image in the content. |
| `enclosure` | object | null | `{url, type, length, durationSecs}` for podcasts and media. |
| `changeType` | string | `new` (only in `new` mode). |
| `fetchedAt` | ISO 8601 | Run time. |

Feed rows (free) carry `input, title, siteUrl, description, language, lastBuildDate, format (rss2/rss1/atom/json), itemCount, itemsReturned, discoveredFrom (input/link-tag/common-path), error`.

Sample item row (podcast, enclosure URL shortened):

```json
{
  "id": "f712fb6247600432", "rowType": "item", "feedUrl": "https://feeds.simplecast.com/54nAGcIl", "feedTitle": "The Daily",
  "feedSiteUrl": "https://www.nytimes.com/the-daily", "title": "Tricks, Treats and Trends", "url": "https://www.nytimes.com/the-daily",
  "guid": "e002eb18-11e7-4058-8ee9-68c6ed866929", "author": "The New York Times", "publishedAt": "2026-10-25T10:00:00.000Z", "updatedAt": null,
  "summary": "Americans are expected to spend a record $13.5 billion on Halloween this year, according to the National Retail Federation. ...",
  "contentText": null, "categories": [], "imageUrl": "https://image.simplecastcdn.com/images/34e5431c-.../nyt-podcast-thedaily-ytthumbnail-20-28.jpg",
  "enclosure": { "url": "https://dts.podtrac.com/redirect.mp3/.../default.mp3?aid=rss_feed&feed=54nAGcIl", "type": "audio/mpeg", "length": 28506602, "durationSecs": 1781 },
  "fetchedAt": "2026-11-04T11:48:53.098Z"
}
```

### How it works and limits

- One request per feed (plus discovery requests for website inputs), spaced at least 500 ms apart per host; 429 and 5xx answers are retried with backoff. Feeds up to 40 MB are read; only the first `maxItemsPerFeed` items are parsed, so huge podcast feeds stay fast.
- Discovery: the page's `<link rel="alternate">` feed links are tried first (comment feeds last), then `/feed`, `/rss`, `/rss.xml`, `/atom.xml`, `/feed.xml`, `/index.xml` on the same host. Guessed paths respect robots.txt; feed URLs you give or the site advertises are read directly, as any feed reader does.
- Character sets declared in the HTTP header or XML declaration (for example ISO-8859-1) are decoded correctly; HTML in titles and summaries is converted to plain text.
- `new` mode keeps one state record per feed in the named key-value store, so a feed that fails in one run does not lose its history. Items that could not be returned because `maxItems` was reached stay unseen and come back in the next run.
- The data is what the publisher puts in the feed: many feeds include only summaries, some omit dates or authors. Full article pages are not fetched.
- Not covered: password-protected or paywalled feeds, feeds that need cookies or JavaScript, and article page scraping.

### Pricing

Pay per result: **$1.00 per 1,000 rows** (`result` event). Platform usage is billed separately by Apify. Removed/free rows are not charged.

Only item rows are charged; the per-feed status rows are free.

### Legal

Not affiliated with any feed publisher, including Hacker News, hnrss.org, The Verge, Simplecast or The New York Times. Uses the public RSS, Atom and JSON feeds that publishers provide for feed readers only. Data licence/terms: https://www.rssboard.org/rss-specification, https://www.jsonfeed.org/version/1.1/ and the terms of each feed publisher; many publishers allow feed use for personal reading only, so check before republishing content.

### FAQ

**Can I pass a normal website URL?** Yes. If the URL is not a feed, the Actor looks for feed links on the page and at common feed paths. The feed row shows which feed was used (`feedUrl`, `discoveredFrom`).

**How does `new` mode work?** Each item has a stable `id` from the feed URL and the item's guid (or link). The Actor remembers the ids it returned in the key-value store named in `stateStoreName` and returns only unseen ids next time. The first run returns all current items.

**Why is `contentText` empty?** It is only filled when `includeContent` is on, and only when the feed carries content beyond the summary.

**Why did a feed fail?** See its feed row: `error` says whether the URL returned an HTTP error, was not a feed, or no feed could be discovered. Other feeds in the run are not affected.

**How many items does a feed have?** Feeds usually carry the latest 10 to 100 items; podcast feeds often list every episode. `itemCount` in the feed row shows the total, `maxItemsPerFeed` controls how many are read.

# Actor input Schema

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

Feed URLs (RSS, Atom, JSON Feed, podcast feeds) or website addresses. For a website the feed is discovered from <link rel="alternate"> tags on the page, then from common paths such as /feed, /rss.xml and /atom.xml.

## `sinceDays` (type: `integer`):

Keep only items published (or updated) within this many days. Items without any date are dropped when set. Leave empty for no date filter.

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

Keep only items whose title, summary or content contains at least one of these words or phrases (case-insensitive). Empty keeps all items.

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

Add contentText: the item's full content (content:encoded, Atom content or JSON content_html) as plain text, up to 5,000 characters.

## `outputMode` (type: `string`):

all: every item currently in the feed (after filters). new: only items not returned by an earlier run with the same state store; the first run returns all items. Use new for scheduled monitoring.

## `stateStoreName` (type: `string`):

Name of the key-value store that remembers seen items in new mode. Use different names for independent monitors.

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

Read at most this many items from the top of each feed (feeds list the newest items first). Large podcast feeds can hold thousands of episodes.

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

Upper limit on charged item rows across all feeds. The free per-feed summary rows do not count.

## Actor input object example

```json
{
  "feeds": [
    "https://hnrss.org/frontpage",
    "https://www.theverge.com/rss/index.xml",
    "https://feeds.simplecast.com/54nAGcIl"
  ],
  "keywords": [],
  "includeContent": false,
  "outputMode": "all",
  "stateStoreName": "rss-feed-reader-state",
  "maxItemsPerFeed": 100,
  "maxItems": 500
}
```

# Actor output Schema

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

All rows in the default dataset.

# 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://hnrss.org/frontpage",
        "https://www.theverge.com/rss/index.xml",
        "https://feeds.simplecast.com/54nAGcIl"
    ],
    "keywords": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("ailu_studio/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 = {
    "feeds": [
        "https://hnrss.org/frontpage",
        "https://www.theverge.com/rss/index.xml",
        "https://feeds.simplecast.com/54nAGcIl",
    ],
    "keywords": [],
}

# Run the Actor and wait for it to finish
run = client.actor("ailu_studio/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 '{
  "feeds": [
    "https://hnrss.org/frontpage",
    "https://www.theverge.com/rss/index.xml",
    "https://feeds.simplecast.com/54nAGcIl"
  ],
  "keywords": []
}' |
apify call ailu_studio/rss-feed-reader --silent --output-dataset

```

## MCP server setup

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