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
| Option | Free use | Notes |
|---|---|---|
| rss2json.com | Yes, 10 items per feed without a key | count, order_by and order_dir need a key |
| feedparser (Python) | Yes, local library | Handles RSS and Atom; you run the fetching |
| Your own XML parsing | Yes | Feeds are messier than they look: CDATA, entities, date formats |
| Our API | 5 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
- Feeding new posts to an AI agent that summarises or classifies them.
- Watching a competitor's sitemap for new pages by comparing lastmod dates.
- Showing the latest posts from another site on yours without a CORS proxy.
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.
- Summaries come from the feed itself. For the full article, read the linked page with a page reader.
- Dates are returned as the feed writes them; normalise them in your code if you need one format.
- Feeds up to 5 MB; private or local addresses are refused.
- It doesn't follow a sitemap index into each child sitemap. Call it again per child.
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
