apyhub
Back
▣ RETRIEVAL KIT · MEDIA KIT

Read RSS & Atom Feeds API

What it does

The RSS Feed Reader API finds and parses feeds from a website or feed URL. Send urls with 1 to 10 links, such as https://www.theverge.com or https://hnrss.org/frontpage.

Set limit to control how many items come back, from 1 to 100, with 20 by default. Use since for only-new polling, or hours to read items from the last N hours. Set allFeeds to read up to 5 feeds from one site, and includeContent when you also need the full item HTML.

The RSS Feed Reader API returns feed metadata and a list of posts. You get the feed title, link, language, update time, and the newest item, plus the posts in newest-first order.

Teams use it to watch blogs and news sites for new posts. They also build content monitors and polling jobs that do not scrape page layouts.

POST
Read RSS & Atom Feeds API - find and parse RSS, Atom, JSON
https://api.eu.apyhub.com/martin10291/read-rss-atom-feeds

QUICKSTART

GUIDE

Quickstart

Fetch items from a website or feed URL with the required urls field.

curl -X POST "https://api.eu.apyhub.com/martin10291/read-rss-atom-feeds" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://www.theverge.com"]}'

What you'll get back

Returns a JSON object with count (the number of feeds) and items, one row per feed. Each feed row has the feed's title, format, URLs, language, update times and a fingerprint you can use to detect new posts, plus its own items list of posts with title, link, publish time, authors, categories and a short summary. Sending a website URL (like the request above) finds its feed automatically and lists it in discoveredFeeds. The example below is shortened to one post; the request above returns up to 20 (the default limit).

{
  "count": 1,
  "items": [
    {
      "input": "https://www.theverge.com",
      "type": "atom1.0",
      "title": "The Verge",
      "description": "The Verge is about technology and how it makes us feel. Founded in 2011, we offer our audience everything from breaking news to reviews to award-winning features and investigations, on our site, in video, and in podcasts.",
      "feedUrl": "https://www.theverge.com/rss/index.xml",
      "siteUrl": "https://www.theverge.com",
      "language": "en-US",
      "image": "https://platform.theverge.com/wp-content/uploads/sites/2/2025/01/verge-rss-large_80b47e.png?w=150&h=150&crop=1",
      "updated": "2026-11-25T11:13:02Z",
      "newestItem": "2026-11-25T13:00:00Z",
      "itemsInFeed": 10,
      "itemsReturned": 1,
      "fingerprint": "56e7d3ae6bffba1e",
      "discoveredFeeds": [
        {
          "format": "rss",
          "foundBy": "link-alternate",
          "title": "The Verge",
          "url": "https://www.theverge.com/rss/index.xml"
        }
      ],
      "items": [
        {
          "id": "https://www.theverge.com/?p=1040081",
          "title": "Has vibe coding made open source the new normal for synths?",
          "link": "https://www.theverge.com/ai-artificial-intelligence/1040081/vibe-coding-open-source-music-firmware",
          "published": "2026-11-25T13:00:00Z",
          "updated": "2026-11-24T15:35:01Z",
          "authors": [
            "Terrence O’Brien"
          ],
          "categories": [
            "AI",
            "Tech"
          ],
          "summary": "The emergence of powerful vibe-coding agents and tools like Reverse Engineer Anything has caused chaos in the music gear world, leaving companies scrambling…",
          "enclosure": null
        }
      ]
    }
  ]
}
TRY ITLIVE · 100 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body
urls*
Websites or feed URLs to read, e.g. `https://www.theverge.com` or `https://hnrss.org/frontpage`. A website URL is searched for its feed. 1 to 10 per call.
Instead of since: only items from the last N hours
Max items returned per feed, newest first (1-100)
Only items published after this ISO date/time, e.g. 2026-11-17T08:00:00Z (only-new polling)

About this endpoint

What it does

Finds and parses RSS, Atom, or JSON feeds from a website or feed URL. You can send 1 to 10 URLs, control how many items are returned, and optionally filter by recency or include full item HTML.

Request Body

ParameterTypeMandatoryDescription
urlsString ArrayYesWebsites or feed URLs to read, e.g. ["https://www.theverge.com", "https://hnrss.org/frontpage"]. A website URL is searched for its feed. Minimum 1, maximum 10 per call.
hoursIntegerNoInstead of since: only items from the last N hours. Minimum 1, maximum 8760.
limitIntegerNoMax items returned per feed, newest first. Default: 20. Minimum 1, maximum 100.
sinceStringNoOnly items published after this ISO date/time, e.g. 2026-11-17T08:00:00Z (only-new polling).
allFeedsBooleanNoRead every feed the site advertises, up to 5, instead of only the main one.
includeContentBooleanNoAlso return the full item HTML (content:encoded / Atom content).

Response

Returns a JSON object with a count integer field and an items array field. Each element in items is one feed, in the order you sent the URLs (with allFeeds, a site can return more than one feed). Each feed holds its own items list of posts, newest first. A URL where no feed can be found comes back as a row with error set.

ParameterTypeDescription
countIntegerNumber of feed rows in items.
itemsObject ArrayOne row per feed.
items[].inputStringThe URL you sent.
items[].typeStringFeed format: rss2.0, atom1.0 or jsonfeed1. null on error.
items[].titleStringFeed title. null on error.
items[].descriptionStringFeed description.
items[].feedUrlStringURL of the feed that was read. null on error.
items[].siteUrlStringWebsite the feed belongs to.
items[].languageStringFeed language, e.g. en-US. null if not set.
items[].imageStringFeed logo or artwork URL. null if not set.
items[].updatedStringLast update time of the feed, in ISO 8601 UTC.
items[].newestItemStringPublish time of the newest post in the feed, in ISO 8601 UTC.
items[].itemsInFeedIntegerNumber of posts in the feed.
items[].itemsReturnedIntegerNumber of posts returned after limit, since and hours are applied.
items[].fingerprintStringHash of the feed's current posts. It changes when new posts appear, so you can detect updates.
items[].discoveredFeedsObject ArrayFeeds found on the page when you send a website URL. Empty when you send a feed URL directly.
items[].discoveredFeeds[].urlStringFeed URL.
items[].discoveredFeeds[].titleStringFeed title.
items[].discoveredFeeds[].formatStringFeed format, e.g. rss, atom or json.
items[].discoveredFeeds[].foundByStringHow the feed was found, e.g. link-alternate (a link tag in the page).
items[].errorStringOnly on rows that failed, e.g. no RSS/Atom/JSON feed found on ….
items[].itemsObject ArrayPosts in the feed, newest first.
items[].items[].idStringUnique post id from the feed.
items[].items[].titleStringPost title.
items[].items[].linkStringLink to the post.
items[].items[].publishedStringPublish time, in ISO 8601 UTC.
items[].items[].updatedStringLast update time, in ISO 8601 UTC. null if not set.
items[].items[].authorsString ArrayAuthor names. null if not set.
items[].items[].categoriesString ArrayPost categories or tags. null if not set.
items[].items[].summaryStringShort summary or excerpt as plain text.
items[].items[].contentHtmlStringFull post HTML. Only when includeContent is true and the feed provides it.
items[].items[].enclosureObjectAttached media file (for example a podcast episode). null if none.
items[].items[].enclosure.urlStringMedia file URL.
items[].items[].enclosure.typeStringMedia type, e.g. audio/mpeg.
items[].items[].enclosure.lengthIntegerFile size in bytes.
items[].items[].durationStringEpisode duration, for podcast feeds that provide it.
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.