# RSS, Atom & JSON Feed Reader — only new items (`docflow-tools/feed-reader-only-new`) Actor

Read RSS, Atom and JSON Feed into one clean format and get only the items you have not received before. Conditional requests (ETag/Last-Modified) skip unchanged feeds. Built for scheduled runs.

- **URL**: https://apify.com/docflow-tools/feed-reader-only-new.md
- **Developed by:** [DocFlow Tools](https://apify.com/docflow-tools) (community)
- **Categories:** Automation, News, 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 item returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 & JSON Feed Reader — only new items

Read **RSS, Atom and JSON Feed** sources into **one clean format**, and on scheduled runs get **only the items you
have not received before**. The Actor remembers what it already delivered for each feed and sends conditional
requests (ETag / Last-Modified), so a feed that has not changed is answered by the publisher with "not modified" and
returns no items to pay for. Only what publishers expose for syndication is read: no web pages are scraped.

### What you get

One dataset item per feed entry, with the same fields whatever the source format:

| Field | Description |
|---|---|
| `feedUrl` | The feed URL you gave |
| `feedTitle`, `feedLink` | Title and website link of the feed |
| `format` | Format detected by the parser, e.g. `rss20`, `rss10`, `atom10`, or `json` for JSON Feed |
| `id` | Entry id (falls back to the link) |
| `title` | Plain-text title (HTML removed, up to 500 characters) |
| `link` | Link to the entry |
| `published` | Publication date. RSS and Atom dates are normalized to ISO 8601 in UTC; if an entry has no publication date, its update date is used. JSON Feed dates are returned as the feed gives them |
| `updated` | Last update date, when the feed provides it |
| `summary` | Plain-text summary (HTML removed, up to 2,000 characters); uses the content if there is no summary |
| `categories` | Tags / categories |
| `enclosures` | `[{url, type, length}]`: podcast audio, images and other attachments |
| `author` | Author name exactly as the feed publishes it (switch off with `includeAuthor: false`) |
| `contentHtml` | Full HTML content when the feed provides it (only with `includeContent: true`) |
| `status` | `ok` for entries |

Besides the entries, the dataset can contain short **information rows** (never charged as items):

- `status: "no_new_items"` with `reason: "feed unchanged"` (the publisher answered "not modified") or
  `"no items newer than last run"`. These rows keep the output informative when there is nothing new.
- `status: "error"` with `error`: the reason a feed failed. The other feeds keep going.

### Use cases

- Monitor blogs, news sites, release notes, official bulletins or podcasts on a schedule and send only new items
  to Google Sheets, Slack, email, a database or an AI agent.
- Normalize a mix of RSS, Atom and JSON Feed sources before loading them into one pipeline.
- Collect podcast episodes with their audio enclosure URLs.
- Feed an LLM or a RAG index with fresh articles, without re-processing old ones.

### How to use

1. Open the Actor in Apify Console and paste your feed URLs into **Feed URLs**.
2. Keep **Only new items** on if you will run it on a schedule.
3. Click **Start**. The first run returns the latest items (up to **Max items per feed**); later runs return only
   what is new.
4. Create a **Schedule** in Apify (for example every hour or every day) and connect the output to your tool.

Input example (field names exactly as the Actor reads them):

```json
{
  "feedUrls": [
    "https://www.jsonfeed.org/feed.json",
    "https://example.com/blog/rss.xml"
  ],
  "onlyNew": true,
  "maxItemsPerFeed": 50,
  "since": "2026-11-01",
  "includeContent": false,
  "includeAuthor": true
}
```

| Input | Default | Notes |
|---|---|---|
| `feedUrls` | (required) | RSS, Atom or JSON Feed URLs, http or https |
| `onlyNew` | `true` | Remember delivered items between runs and return only new ones |
| `maxItemsPerFeed` | `50` | 1 to 1,000 items per feed per run, newest first |
| `since` | empty | ISO date such as `2026-11-01`: drop entries published before it. Entries without a date are kept |
| `includeContent` | `false` | Add `contentHtml` |
| `includeAuthor` | `true` | Add `author` |

### Output example

```json
{
  "feedUrl": "https://example.com/blog/atom.xml",
  "feedTitle": "Example Engineering Blog",
  "feedLink": "https://example.com/blog/",
  "format": "atom10",
  "id": "urn:example:post-128",
  "title": "Release 4.2: faster exports",
  "link": "https://example.com/blog/release-4-2",
  "published": "2026-11-20T08:00:00+00:00",
  "updated": "2026-11-20T08:00:00+00:00",
  "summary": "Version 4.2 ships a new export engine that...",
  "categories": ["releases"],
  "enclosures": [],
  "author": "Ana Ruiz",
  "status": "ok"
}
```

A feed with nothing new since the last run:

```json
{ "feedUrl": "https://example.com/blog/atom.xml", "status": "no_new_items", "reason": "feed unchanged" }
```

### How "only new items" works

- For each feed URL the Actor keeps, in a named key-value store of your account called `feed-reader-state`, the
  ETag / Last-Modified headers of the last response and the keys of up to 5,000 delivered entries.
- An entry's key is its id, or its link, or its title plus date when neither exists.
- Next run, the request carries those headers. If the publisher answers "not modified", no items are returned.
  Otherwise, entries already delivered are skipped.
- The memory is per feed URL and shared by every run and task of this Actor in your account. To start again from
  scratch, delete the `feed-reader-state` store in Apify Console (Storage).
- With `onlyNew: false` nothing is remembered and no conditional headers are sent: each run returns the newest
  entries up to `maxItemsPerFeed`.

### Pricing

> **Prices by Apify discount tier:** the prices below are for the Bronze tier. **Free plan: 50 % off.** Silver: 10 % off. Gold and higher: 20 % off. Apify applies the right price automatically.

Pay per event, in USD. Platform compute is included in the event prices.

| Event | Price | When it is charged |
|---|---|---|
| Actor start | $0.00005 | Charged by Apify when a run starts, per GB of run memory (default memory: 512 MB) |
| `feed-checked` | $0.001 | Per feed URL that responds, including "not modified" answers |
| `item-returned` | $0.0015 | Per entry written to the dataset with `status: "ok"` |

Not charged: information rows (`no_new_items`), feeds that fail with a network error, an HTTP error status, a
size over 10 MB or a non-http URL. A URL that responds but whose content is not a feed is charged as `feed-checked`.

Examples:

- **Daily run of 20 feeds, 12 new items in total**: 0.00005 + 20 x 0.001 + 12 x 0.0015 = **$0.03805** per run,
  about **$1.14** for 30 daily runs.
- **First run of 20 feeds with 50 items each**: 0.00005 + 20 x 0.001 + 1,000 x 0.0015 = **$1.52005**. Lower
  `maxItemsPerFeed` (for example to 5) to keep the first run small: 0.00005 + 0.02 + 100 x 0.0015 = **$0.17005**.
- **Hourly run of 5 feeds with nothing new**: 0.00005 + 5 x 0.001 = **$0.00505** per run.

You can set a maximum cost per run in Apify; when it is reached, the Actor stops.

### Use it from code, AI agents and integrations

**Apify API** (runs the Actor and returns the dataset items in one call):

```bash
curl -X POST "https://api.apify.com/v2/acts/docflow-tools~feed-reader-only-new/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"feedUrls": ["https://www.jsonfeed.org/feed.json"], "onlyNew": true, "maxItemsPerFeed": 10}'
```

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("docflow-tools/feed-reader-only-new").call(
    run_input={"feedUrls": ["https://www.jsonfeed.org/feed.json"], "maxItemsPerFeed": 10}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    if item["status"] == "ok":
        print(item["published"], item["title"], item["link"])
```

**AI agents**: the Actor can be called by AI agents (Claude, Cursor and other MCP clients) through the Apify MCP
server at https://mcp.apify.com.

**No-code**: connect it to Make, Zapier or n8n through the Apify integrations. A typical setup is an Apify Schedule
plus an integration that sends each new item to Slack, Sheets or email.

### Limits and notes

- Up to **10 MB** per feed; only `http://` and `https://` URLs; redirects are followed; timeout 60 s per feed.
- Feeds are read one after another, in the order given.
- Up to 1,000 items per feed per run (`maxItemsPerFeed`) and up to 5,000 remembered entries per feed.
- Entries beyond `maxItemsPerFeed` are not marked as delivered, so they can appear in a later run once the feed changes.
- Feeds behind a login, paywall or bot protection are not supported. HTML pages that are not feeds are rejected
  with an error.
- `since` compares dates as text; it is exact for RSS and Atom (normalized to UTC) and approximate for JSON Feed
  dates with other time zones.

### FAQ

**Do I get duplicates when I run it every hour?** No, with `onlyNew: true` each entry is delivered once per feed URL.
A feed that has not changed is answered with "not modified" and returns no items.

**Why do I see `no_new_items` rows?** They tell you a feed was checked and had nothing new. They are free.

**Can I get the full article text?** You get the full HTML content when the publisher puts it in the feed
(`includeContent: true`). The Actor does not visit article pages.

**Does it work with podcasts?** Yes. Audio files appear in `enclosures` with their URL, MIME type and length.

**How do I reset the memory?** Delete the named key-value store `feed-reader-state` in Apify Console, or run with
`onlyNew: false`.

**Which formats are supported?** RSS (0.9x, 1.0, 2.0), Atom and JSON Feed, through the `feedparser` library and a
JSON Feed parser.

### Related tools

- [Document to Markdown for RAG](https://apify.com/docflow-tools/document-to-markdown-rag) — PDF, Word, Excel, PowerPoint and HTML to Markdown and chunks, with OCR.
- [Bulk PageSpeed & Core Web Vitals](https://apify.com/docflow-tools/pagespeed-bulk-regression-monitor) — Google PageSpeed for many URLs with regression alerts.
- [Image to Text OCR](https://apify.com/docflow-tools/image-ocr-own-engine) — text, lines and positions from images.
- [Audio Transcriber (Whisper)](https://apify.com/docflow-tools/audio-transcriber-whisper-local) — audio and video to text and subtitles; pairs well with podcast enclosures.
- [Merge, Dedupe & Transform Data](https://apify.com/docflow-tools/merge-dedupe-transform-data) — merge datasets and files, remove duplicates, export.
- [Website Screenshot Monitor](https://apify.com/docflow-tools/website-screenshot-monitor) — bulk screenshots with change detection.
- [Bulk Image Converter & Compressor](https://apify.com/docflow-tools/bulk-image-converter-compressor) — convert, compress and resize images.
- [Sitemap URL Extractor](https://apify.com/docflow-tools/sitemap-url-extractor-reliable) — every URL of a site from its sitemaps.
- [SEO Audit Crawler](https://apify.com/docflow-tools/seo-audit-crawler-cheap) — on-page SEO score and issues per page.
- [Website to Markdown & llms.txt](https://apify.com/docflow-tools/website-to-markdown-llms-txt) — main content of web pages as Markdown for LLMs.

# Actor input Schema

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

RSS, Atom or JSON Feed URLs (http or https).

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

Remember delivered items between runs and return only new ones. Ideal for schedules.

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

Maximum number of new items returned per feed in each run.

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

ISO date, e.g. 2026-11-01. Leave empty for no date filter.

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

Also return the full HTML content of each item when the feed provides it.

## `includeAuthor` (type: `boolean`):

Author name exactly as the feed publishes it.

## Actor input object example

```json
{
  "feedUrls": [
    "https://www.jsonfeed.org/feed.json"
  ],
  "onlyNew": true,
  "maxItemsPerFeed": 50,
  "includeContent": false,
  "includeAuthor": true
}
```

# Actor output Schema

## `results` (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 = {
    "feedUrls": [
        "https://www.jsonfeed.org/feed.json"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("docflow-tools/feed-reader-only-new").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://www.jsonfeed.org/feed.json"] }

# Run the Actor and wait for it to finish
run = client.actor("docflow-tools/feed-reader-only-new").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://www.jsonfeed.org/feed.json"
  ]
}' |
apify call docflow-tools/feed-reader-only-new --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,docflow-tools/feed-reader-only-new"
        }
    }
}
```

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/dCHZw83UhtcyTxLSF/builds/nlKekfyZi3F3GKOsm/openapi.json
