# Convert RSS and Atom feeds to JSON

**Use case:** 

Converts RSS 2.0, RSS 1.0 (RDF), Atom and JSON Feed links into clean JSON rows with title, link, ISO 8601 dates, author, summary, full text and categories, for an API, a spreadsheet or an AI agent. $0.0005 per feed checked and per item returned. This example converts a NASA RSS feed and a GOV.UK Atom feed.

## Input

```json
{
  "feeds": [
    "https://www.nasa.gov/news-release/feed/",
    "https://www.gov.uk/search/news-and-communications.atom"
  ],
  "feedFields": [
    "url"
  ],
  "onlyNewItems": false,
  "monitorName": "default",
  "maxItemsPerFeed": 10,
  "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 "Convert RSS and Atom feeds to JSON". [Sign up or log in](https://console.apify.com/create-task-from-example/iMK71t6T6fkA6NLWN) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Convert RSS and Atom feeds to JSON" 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 "Convert RSS and Atom feeds to JSON" 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 "Convert RSS and Atom feeds to JSON" task via API](https://apify.com/klarto/rss-feed-reader.md).

## FAQ

### Which feed formats does the RSS to JSON task read?

The RSS to JSON task reads RSS 0.9x–2.0, RSS 1.0 (RDF), Atom 0.3/1.0 and JSON Feed 1.0/1.1. A website address works too: the task finds the feed the page announces.

### How do I call the RSS to JSON converter as an API?

POST {"feeds": ["https://…"]} with your Apify token to the run-sync-get-dataset-items endpoint of klarto~rss-feed-reader, the Actor behind the RSS to JSON task. The answer is the JSON array of items; the README shows curl and Python.

### What does converting RSS to JSON cost?

The RSS to JSON task charges $0.0005 per feed checked and $0.0005 per item returned, so one feed with 10 items costs $0.0055, plus the $0.00005 Apify start event at 512 MB. Filtered items and feeds that fail are free.

### Which date format does the RSS to JSON task use?

The RSS to JSON task returns published and updated as ISO 8601 UTC, or null when the feed has no such date. The GOV.UK Atom feed in this example gives only updated.

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