# Monitor RSS feeds and get only new items

**Use case:** 

Checks RSS and Atom feeds and returns only the items it has not returned before, so it can run on a schedule. Unchanged feeds answer 'not modified' quickly. This example watches NASA news releases and GOV.UK news.

## Input

```json
{
  "feeds": [
    "https://www.nasa.gov/news-release/feed/",
    "https://www.gov.uk/search/news-and-communications.atom"
  ],
  "feedFields": [
    "url"
  ],
  "onlyNewItems": true,
  "monitorName": "news-watch",
  "maxItemsPerFeed": 20,
  "maxItems": 10000,
  "includeContent": true,
  "includeHtml": false,
  "findFeeds": true,
  "maxFeeds": 1000,
  "maxFeedSizeMb": 10,
  "timeoutSecs": 30,
  "maxConcurrency": 10
}
```

## Output

```json
{
  "feedTitle": {
    "label": "Feed",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "link": {
    "label": "Link",
    "format": "link"
  },
  "published": {
    "label": "Published",
    "format": "date"
  },
  "updated": {
    "label": "Updated",
    "format": "date"
  },
  "author": {
    "label": "Author",
    "format": "text"
  },
  "categories": {
    "label": "Categories",
    "format": "array"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  },
  "feedUrl": {
    "label": "Feed link (input)",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The RSS Feed Reader & Monitor: New Items from Any Feed Actor is ready to run with the inputs already set for "Monitor RSS feeds and get only new items". [Sign up or log in](https://console.apify.com/create-task-from-example/2764Q8muQqUN2GaXw) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Monitor RSS feeds and get only new items" task

The RSS Feed Reader & Monitor: New Items from Any Feed Actor will start running based on the input automatically. You can also change all the input fields, like feeds, feed link fields, and more, to match your specific use case.

### 3. Receive the "Monitor RSS feeds and get only new items" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as feed, title, link, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Monitor RSS feeds and get only new items" task via API](https://apify.com/klarto/rss-feed-reader.md).

## FAQ

### How does the feed monitor know which items are new?

The feed monitor task keeps a list of returned items per feed in your account (key-value store klarto-rss-feed-reader). Later runs return only items not on that list.

### What does the first run of the feed monitor return?

The first run of the feed monitor task returns the current items of each feed, up to 'Max items per feed'. Later runs return only new items.

### What does the feed monitor cost?

The feed monitor task charges $0.0005 per feed checked and $0.0005 per item returned. Feeds that fail and items removed by filters are free.

## About this Actor

This example demonstrates how to use [RSS Feed Reader & Monitor: New Items from Any Feed](https://apify.com/klarto/rss-feed-reader.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/klarto/rss-feed-reader.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/klarto/rss-feed-reader.md

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`).
