RSS Feed API - RSS, Atom, RDF & JSON Feed to JSON avatar

RSS Feed API - RSS, Atom, RDF & JSON Feed to JSON

Pricing

$1.50 / 1,000 feeds

Go to Apify Store
RSS Feed API - RSS, Atom, RDF & JSON Feed to JSON

RSS Feed API - RSS, Atom, RDF & JSON Feed to JSON

Your reader goes blind on half the feeds: JSON Feed, RDF and podcast enclosures come back empty. This actor parses RSS 2.0, Atom, RSS 1.0 and JSON Feed into one schema: title, link, author, ISO date, categories, media and items. A 404, a 304 and an empty feed cost nothing.

Pricing

$1.50 / 1,000 feeds

Rating

0.0

(0)

Developer

Stas K

Stas K

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Features

Limited permissions

Share

RSS Feed API: RSS, Atom, RDF and JSON Feed into one JSON schema

Most feed readers are written for RSS 2.0 and quietly lose the rest: Atom entries come back without a date, RSS 1.0 (RDF) comes back empty, JSON Feed is not read at all, and a podcast audio enclosure is dropped. This actor reads all four dialects and returns the same fields for every one of them, so a monitoring job does not need a special case per publisher.

What you get

One dataset row per feed that was really parsed:

fieldmeaning
feedUrl, finalUrl, feedTypethe address you sent, the address that really answered after redirects, and the dialect found: rss2, atom, rdf or json
feedTitle, siteUrl, contentType, httpStatuswhat the feed says about itself
itemsInFeed, itemsReturned, itemsCutByLimit, maxItemsPerFeedhow many entries the feed carried and how many were returned
etag, lastModifiedwhat the source sent, so you can skip unchanged feeds yourself
itemsthe entries, each with itemKey, guid, title, link, author, publishedAt, updatedAt, summary, contentHtml, categories, imageUrl, enclosureUrl, enclosureType, enclosureLength
fetchedAtwhen the feed was read

Every date is ISO 8601 in UTC, whatever the feed wrote (RFC 822, ISO 8601, dc:date). itemKey is a stable hash of the entry guid or id, then of its link, so the same post keeps the same key between runs and a rewritten title does not turn one entry into two.

What is free, and why

A request is not a delivery. These come back as free status rows with a plain reason and are never charged:

  • NOT_FOUND: the address answers 404 or 410, so it carries no feed.
  • NOT_MODIFIED: the feed answers 304 Not Modified, so there is nothing new to deliver.
  • EMPTY: the feed parsed but carried no entries.
  • INVALID_INPUT: not an http(s) address, a private host, a loopback address, or an address with credentials.
  • NOT_CHECKED_ERROR: the host does not resolve right now, could not be reached, refused the reader, or the document is not a feed (a site page instead of a feed is named as such). A host that does not resolve is the state of the source, not a mistake in your address, so it is named that way.
  • NOT_CHECKED_CAP, NOT_CHECKED_TIME: the run hit maxFeeds or its time budget.
  • DUPLICATE: the same feed was already paid for earlier in the same run. Identity is the address that really answered: the same feed written with a trailing fragment, a different letter case in the host, http instead of https, or a short link that redirects to it, is one document and one sale.

Price

Pay per event: Feed. One parsed feed that carries entries is one event, whatever the number of entries inside it (up to maxItemsPerFeed). Free rows above cost nothing.

Input

  • feeds: feed addresses, one per line.
  • maxItemsPerFeed: how many entries one feed may return, 1 to 500, default 50. A feed with more entries is cut at this number and the row says itemsCutByLimit: true.
  • maxFeeds: how many addresses the run reads, 1 to 200, default 25. A run that sends 30 addresses without this field reads 25 and names the other five free NOT_CHECKED_CAP.

What this actor does not do

  • It does not guess a feed from a site address. A page that is not a feed is refused with a reason instead of being searched for a <link rel="alternate"> tag.
  • It does not follow a feed into full articles: contentHtml is what the feed itself carries.
  • It does not store history between runs. Send the same feed again and you get the current entries, not a diff; use itemKey to deduplicate on your side.
  • It does not read private feeds: credentials in the address are refused, and a host that resolves to a private address is refused before any request. Redirects are followed by hand, at most three, and every hop passes that same check, so a public link cannot walk the reader into 127.0.0.1 or a private network. The hop that fails is free and named.

Politeness and limits

One request per feed (a redirect hop is one more request), User-Agent: apify-rss-feed-api/0.1. One retry on 429, 500, 502, 503 and 504. A 429 is retried after the source's Retry-After (seconds or an HTTP date, at most 10 s and never more than half of the remaining budget); without the header the pause is 2 s. A second failure becomes a free NOT_CHECKED_ERROR row. Memory 256 MB is enough: the actor parses text and never renders a page. A feed of 500 entries is trimmed to maxItemsPerFeed, so a runaway feed cannot blow up the run.