RSS and Atom Feed Reader: Items to JSON
Pricing
from $1.20 / 1,000 feed items
RSS and Atom Feed Reader: Items to JSON
Reads RSS and Atom feeds and returns one flat JSON row per item: title, link, stable id, published and updated dates, categories and enclosure URL. Honours robots.txt and Crawl-delay.
Pricing
from $1.20 / 1,000 feed items
Rating
0.0
(0)
Developer
angel nguyen
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
16 hours ago
Last modified
Categories
Features
Share
An RSS feed reader for scripts, spreadsheets and AI agents. Give it one or more RSS or Atom feed URLs and it returns one flat JSON row per item: title, link, a stable id, published and updated dates, categories and the enclosure URL. Use it as RSS to JSON for a pipeline, as an Atom feed parser, or for feed monitoring on a schedule you set.
What the Actor returns
Honours each site's robots.txt and Crawl-delay, returns typed item metadata with stable ids, charges per item with no run fee of its own, and every failed feed gets an error row that says why.
- One row per feed item, in feed order, up to
maxItemsPerFeedper feed. - Reads RSS 2.0, RSS 0.91 and 0.92, RSS 1.0 (RDF) and Atom.
- Give it a site page instead of a feed and it reads the feed that page names in its HTML link elements.
- Values are as each publisher's feed states them.
publishedAtis null when a feed gives no readable date. - The Actor returns item metadata only (title, link, ids, dates, categories, enclosure URL). It never returns summaries, article text or author names.
- A feed's content belongs to its publisher; you are responsible for using it under that publisher's terms.
- A feed whose titles name people (court and press-release feeds often do) returns those titles as published.
Input
The one required field is urls. The shortest useful input:
{ "urls": ["https://news.va.gov/feed/atom/"] }
The example input, which three US federal agency feeds answer:
{"urls": ["https://www.fda.gov/about-fda/contact-fda/stay-informed/rss-feeds/press-releases/rss.xml","https://www.justice.gov/news/rss?type=press_release&m=1","https://news.va.gov/feed/atom/"],"maxItemsPerFeed": 10}
| Field | Type | Default | What it does |
|---|---|---|---|
urls | array of strings | (required) | Feed URLs, or site pages whose HTML names a feed. Absolute http or https, at most 100. |
maxItemsPerFeed | integer, 1 to 500 | 50 | The most item rows per feed, in feed order. |
publishedWithinDays | integer, 1 to 365 | none | Keep items published or updated within this many days. Items with no date are kept and counted. |
keywords | string | none | Plain words; every word must appear in the title, case ignored. Not a regular expression. |
discoverFeeds | boolean | true | Read the first RSS or Atom feed an HTML page names in a link element with rel alternate. |
Output fields
Item rows and error rows share the default dataset. An item row has the first 13 fields; an error row has the last 6.
| Field | Type | Meaning |
|---|---|---|
feedUrl | string | The URL the feed was read from, after redirects. With itemId, the dedupe key. |
feedTitle | string | The channel title (RSS) or feed title (Atom), as plain text. |
itemId | string | guid (RSS), id (Atom), else the link, else a 16-character hash of title plus publishedAt. |
idSource | string | Where itemId came from: guid, id, link or hash. |
title | string | Item title as plain text: CDATA unwrapped, entities decoded once, markup removed. |
link | string | Absolute item link; empty when the feed gives none. |
publishedAt | string or null | Published date, ISO 8601 UTC. Atom uses published, else updated. |
updatedAt | string or null | Updated date (Atom updated or RSS atom:updated), ISO 8601 UTC. |
categories | array of strings | Category texts (RSS) or terms (Atom), unique, in feed order. |
enclosureUrl | string or null | First enclosure URL (podcast audio, for example). |
enclosureType | string or null | First enclosure MIME type. |
sourceUrl | string | The feed this row was read from (same as feedUrl). |
checkedAt | string | When the run read it, ISO 8601 UTC. |
error | boolean | Error row only: true. |
errorCode | string | Error row only: one of the codes below. |
input | string | Error row only: the input or URL concerned. |
url | string | Error row only: the URL that failed; empty when none. |
httpStatus | integer or null | Error row only: the HTTP status, null when none. |
errorMessage | string | Error row only: what went wrong and why. |
A real row from the example input, read on 2026-11-22:
{"feedUrl": "https://www.fda.gov/about-fda/contact-fda/stay-informed/rss-feeds/press-releases/rss.xml","feedTitle": "FDA Press Releases RSS Feed","itemId": "http://www.fda.gov/news-events/press-announcements/fda-approves-first-drug-treat-neurological-symptoms-type-3-gaucher-disease","idSource": "guid","title": "FDA Approves First Drug to Treat Neurological Symptoms of Type 3 Gaucher Disease","link": "http://www.fda.gov/news-events/press-announcements/fda-approves-first-drug-treat-neurological-symptoms-type-3-gaucher-disease","publishedAt": "2026-11-18T19:13:26.000Z","updatedAt": null,"categories": [],"enclosureUrl": null,"enclosureType": null,"sourceUrl": "https://www.fda.gov/about-fda/contact-fda/stay-informed/rss-feeds/press-releases/rss.xml","checkedAt": "2026-11-22T17:38:49.875Z"}
Measured from our own machine on 2026-11-22: the example input returned 30 item rows (10 per feed) and 0 error rows in 41.7 seconds. Most of that time is the 30-second Crawl-delay that www.fda.gov sets in its robots.txt, which the Actor waits out.
Robots and pacing
- robots.txt is read once per host per run, before any other request to that host.
- The product token is
feed-reader. A group naming it is used; otherwise the*group. - Rules follow RFC 9309:
*wildcards,$end anchors, the longest match wins and Allow wins a tie. - A disallowed feed path is never requested. A robots.txt that answers 5xx or times out means nothing on that host is read.
- Crawl-delay is honoured up to 30 s. A host that asks for more is not read and gets an error row naming the delay.
- At least 1 s between two requests to one host, and one request at a time.
Errors
Every failed input, URL or host gets one error row. Error rows are never charged.
| Code | When |
|---|---|
NO_INPUT | urls is empty or absent. |
INVALID_INPUT | A URL is not absolute http or https, more than 100 URLs, or a number is out of range. The row names the field. |
ROBOTS_DISALLOWED | robots.txt disallows the path, or asks for a Crawl-delay over 30 s. |
ROBOTS_UNREACHABLE | robots.txt answered 5xx or no answer, so the host is treated as closed. |
SOURCE_HTTP_ERROR | The feed answered a non-2xx status, timed out, failed DNS, reset, or redirected more than 5 times. |
SOURCE_TOO_LARGE | The body is over 5 MB. |
NOT_A_FEED | The body is not RSS or Atom, or an HTML page names no feed. |
SOURCE_PARSE_ERROR | The XML is broken or declares an entity. |
NO_RESULTS | No item was delivered and nothing else failed; the message gives items seen and items filtered per URL. |
The run ends SUCCEEDED when at least one item row was delivered, and FAILED with a status message naming the codes when none was. A SUMMARY record in the run's key-value store counts requests, robots reads, items seen, delivered, duplicates and filtered items per URL.
Pricing
- 0.0012 USD per feed item delivered (1.20 USD per 1,000 items).
- Start charge: 0.00005 USD per started GB of run memory, at least one; at the default 4 GB that is 0.0002 USD per run.
Error rows, duplicates and filtered items are free.
For the Apify MCP server and AI agents
- Field names are flat, typed and stable, so an agent can read rows without parsing nested objects.
- Use
feedUrlplusitemIdas the dedupe key between runs. - Branch on
error: when it is true, readerrorCodeanderrorMessage; otherwise the row is an item. - A short example request:
{ "urls": ["https://www.justice.gov/news/rss?type=press_release&m=1"], "maxItemsPerFeed": 5, "keywords": "fraud" }
Support and feedback
Open an issue on the Issues tab of this Actor's page. Issues are answered within 14 days.