RSS and Atom Feed Reader: Items to JSON avatar

RSS and Atom Feed Reader: Items to JSON

Pricing

from $1.20 / 1,000 feed items

Go to Apify Store
RSS and Atom Feed Reader: Items to JSON

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

angel nguyen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

16 hours ago

Last modified

Features

Limited permissions

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 maxItemsPerFeed per 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. publishedAt is 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
}
FieldTypeDefaultWhat it does
urlsarray of strings(required)Feed URLs, or site pages whose HTML names a feed. Absolute http or https, at most 100.
maxItemsPerFeedinteger, 1 to 50050The most item rows per feed, in feed order.
publishedWithinDaysinteger, 1 to 365noneKeep items published or updated within this many days. Items with no date are kept and counted.
keywordsstringnonePlain words; every word must appear in the title, case ignored. Not a regular expression.
discoverFeedsbooleantrueRead 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.

FieldTypeMeaning
feedUrlstringThe URL the feed was read from, after redirects. With itemId, the dedupe key.
feedTitlestringThe channel title (RSS) or feed title (Atom), as plain text.
itemIdstringguid (RSS), id (Atom), else the link, else a 16-character hash of title plus publishedAt.
idSourcestringWhere itemId came from: guid, id, link or hash.
titlestringItem title as plain text: CDATA unwrapped, entities decoded once, markup removed.
linkstringAbsolute item link; empty when the feed gives none.
publishedAtstring or nullPublished date, ISO 8601 UTC. Atom uses published, else updated.
updatedAtstring or nullUpdated date (Atom updated or RSS atom:updated), ISO 8601 UTC.
categoriesarray of stringsCategory texts (RSS) or terms (Atom), unique, in feed order.
enclosureUrlstring or nullFirst enclosure URL (podcast audio, for example).
enclosureTypestring or nullFirst enclosure MIME type.
sourceUrlstringThe feed this row was read from (same as feedUrl).
checkedAtstringWhen the run read it, ISO 8601 UTC.
errorbooleanError row only: true.
errorCodestringError row only: one of the codes below.
inputstringError row only: the input or URL concerned.
urlstringError row only: the URL that failed; empty when none.
httpStatusinteger or nullError row only: the HTTP status, null when none.
errorMessagestringError 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.

CodeWhen
NO_INPUTurls is empty or absent.
INVALID_INPUTA URL is not absolute http or https, more than 100 URLs, or a number is out of range. The row names the field.
ROBOTS_DISALLOWEDrobots.txt disallows the path, or asks for a Crawl-delay over 30 s.
ROBOTS_UNREACHABLErobots.txt answered 5xx or no answer, so the host is treated as closed.
SOURCE_HTTP_ERRORThe feed answered a non-2xx status, timed out, failed DNS, reset, or redirected more than 5 times.
SOURCE_TOO_LARGEThe body is over 5 MB.
NOT_A_FEEDThe body is not RSS or Atom, or an HTML page names no feed.
SOURCE_PARSE_ERRORThe XML is broken or declares an entity.
NO_RESULTSNo 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 feedUrl plus itemId as the dedupe key between runs.
  • Branch on error: when it is true, read errorCode and errorMessage; 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.