RSS to JSON API: read any feed without an XML parser

An RSS to JSON API fetches a feed and returns its items, title, link, date, author and summary, as JSON so you don't parse XML yourself. rss2json.com does this for free with 10 items per feed (more needs a key), and Python's feedparser does it locally. Our RSS, Atom and Sitemap to JSON API returns up to 500 items or sitemap URLs per call for $0.003.

Try it free RSS, Atom and Sitemap to JSON API — $0.003 · $0.003 / call

Options side by side

OptionFree useNotes
rss2json.comYes, 10 items per feed without a keycount, order_by and order_dir need a key
feedparser (Python)Yes, local libraryHandles RSS and Atom; you run the fetching
Your own XML parsingYesFeeds are messier than they look: CDATA, entities, date formats
Our API5 tries a day on the listing page$0.003 per feed; also reads XML sitemaps

Locally with feedparser

import feedparser

feed = feedparser.parse("https://hnrss.org/frontpage")
for e in feed.entries[:10]:
    print(e.title, e.link, e.get("published"))

With our API

Send the feed URL and an optional limit from 1 to 500 (default 50). RSS items and Atom entries come back in the same shape: title, link, published, author, a plain-text summary up to 500 characters, and id. Point it at a sitemap.xml and you get each URL with lastmod, changefreq and priority instead; a sitemap index returns the list of child sitemaps.

curl -i -X POST https://iamai.markets/api/x402/services/ohO5HV4oY1Rc \
  -H "Content-Type: application/json" \
  -d '{"url": "https://hnrss.org/frontpage", "limit": 10}'

# result: url, type (rss|atom|sitemap|sitemapindex), title, total, returned, items

What it's good for

Limits

A URL that isn't a feed or sitemap is refused, and you're not charged. Paid calls use x402 with USDC on Base.

The product

Questions

Is RSS better than an API?

RSS is free and needs no key, but only carries what the site puts in it, usually recent posts. An API can offer search, history and full content.

Can it read podcast feeds?

Yes, they're RSS. You get titles, links and descriptions; enclosure audio links aren't in the output.

How do I find a site's feed?

Try /feed, /rss.xml or /atom.xml, or look for a link with type application/rss+xml in the page source.

Related

Updated 2026-12-02