# RSS Feed Reader to JSON & Markdown (RSS, Atom, JSON Feed) (`quicktools/rss-feed-reader`) Actor

Read RSS, Atom and JSON Feed URLs in bulk and get clean structured items (title, link, date, author, summary, images, podcast enclosures) plus Markdown content for AI agents and RAG. Date filter and only-new-items mode for schedules.

- **URL**: https://apify.com/quicktools/rss-feed-reader.md
- **Developed by:** [T O](https://apify.com/quicktools) (community)
- **Categories:** News, Automation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 feeds

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 & Parser — RSS, Atom and JSON Feed to JSON / Markdown

Read **any number of RSS, Atom or JSON Feed URLs** and get **clean, structured items**: title, link, publish date, author, plain-text summary, categories, images and **podcast enclosures** — plus the item content as **Markdown ready for LLMs, AI agents and RAG**. Filter by date and use **only-new-items mode** for scheduled news monitoring.

Only the feed itself is read. Article pages are **not** visited or scraped.

### What you get per item

| Field | Details |
|---|---|
| `title`, `link`, `author` | Cleaned, HTML entities decoded |
| `published`, `updated` | ISO 8601 UTC dates, whatever the feed's date format |
| `summary` | Plain text (max 1,000 chars) |
| `contentMarkdown` | Full content the feed provides (`content:encoded`, Atom content, JSON Feed `content_html`) as Markdown, scripts removed |
| `categories`, `image`, `enclosures` | Tags, thumbnail (media:thumbnail / JSON Feed image), audio/video attachments with type and size |
| `feedTitle`, `feedType`, `feedUrl` | Which feed it came from (rss20, atom10, json1.1, …) |

### Input example

```json
{
  "feedUrls": ["https://hnrss.org/frontpage", "https://www.nasa.gov/rss/dyn/breaking_news.rss", "https://xkcd.com/atom.xml"],
  "maxItemsPerFeed": 20,
  "sinceDate": "3 days",
  "includeMarkdown": true
}
```

### Output example

```json
{
  "type": "item",
  "feedUrl": "https://example.com/podcast.xml",
  "feedTitle": "Sample Podcast",
  "feedType": "rss20",
  "itemId": "ep-2",
  "title": "Episode 2: Tables & Lists",
  "link": "https://example.com/ep2",
  "published": "2026-11-09T10:00:00+00:00",
  "summary": "Short summary of ep 2",
  "categories": ["Tech"],
  "enclosures": [{ "url": "https://example.com/ep2.mp3", "type": "audio/mpeg", "length": 12345678 }],
  "contentMarkdown": "## Show notes\n\n* Point one\n* Point [two](https://example.com/x)"
}
```

Feeds that can't be read produce one free row with `"type": "error"` and a plain-English `error`.

### Scheduled monitoring

Turn on **Only new items since the last run** and schedule the Actor (e.g. hourly). Item IDs are remembered per feed in a named key-value store (`rss-feed-reader-state`), so each run returns only items you haven't received yet — nothing is skipped, even if a feed publishes more than *Max items* between runs. Pair with an integration (Slack, email, webhook, Make, Zapier, n8n) to get alerts.

### Pricing (pay per event)

| Event | Price |
|---|---|
| Feed (parsed, at least one item returned) | **$0.002** |

1,000 feeds = **$2.00**, no matter how many items each has. **Free:** feeds that fail (404, timeout, not a feed) and feeds with **no new items** — so frequent scheduled runs only cost money when there's news.

### FAQ

**Does it fetch full articles?** No. It returns only what the publisher puts in the feed. Many feeds include full content; others only a summary.

**Malformed feeds?** Common XML mistakes (unescaped `&`, encoding issues) are tolerated; the item data is still extracted.

**Does it use AI or a paid API?** No. Parsing uses the open-source feedparser library inside the Actor.

**Is it legal?** Feeds are published for machine reading. Respect each publisher's terms when you reuse their content.

### About

Built with AI assistance by QuickTools and tested on real public feeds before release. Found a feed that doesn't parse? Open an issue with the URL.

# Actor input Schema

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

RSS, Atom or JSON Feed URLs, one per line. Up to 2,000 feeds per run. Only the feed itself is read; article pages are not visited.

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

Newest items first.

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

Absolute date (YYYY-MM-DD) or relative period such as '3 days' or '2 weeks'. Items without a date are kept.

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

For scheduled runs: remembers item IDs per feed in a named key-value store ('rss-feed-reader-state') and returns only items not seen before.

## `includeMarkdown` (type: `boolean`):

Converts the content/summary the feed itself provides into clean Markdown (contentMarkdown), ready for LLMs.

## `includeHtml` (type: `boolean`):

Also return the sanitized HTML content from the feed (contentHtml).

## `maxConcurrency` (type: `integer`):

Feeds fetched in parallel.

## `timeoutSecs` (type: `integer`):

Feeds that take longer to download are marked failed (not billed).

## Actor input object example

```json
{
  "feedUrls": [
    "https://hnrss.org/frontpage",
    "https://www.nasa.gov/rss/dyn/breaking_news.rss"
  ],
  "maxItemsPerFeed": 50,
  "onlyNewItems": false,
  "includeMarkdown": true,
  "includeHtml": false,
  "maxConcurrency": 5,
  "timeoutSecs": 30
}
```

# Actor output Schema

## `overview` (type: `string`):

Feed, title, link, date, author, summary and categories for each item.

## `markdown` (type: `string`):

Item content as Markdown, taken only from the feed itself.

# 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://hnrss.org/frontpage",
        "https://www.nasa.gov/rss/dyn/breaking_news.rss"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("quicktools/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://hnrss.org/frontpage",
        "https://www.nasa.gov/rss/dyn/breaking_news.rss",
    ] }

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

```

## MCP server setup

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