# RSS Feed Scraper & Reader – RSS to JSON, OPML, New Items (`glidepath/rss-feed-scraper`) Actor

RSS feed scraper, reader and parser: RSS, Atom, JSON Feed to JSON, CSV or Excel. Input: feed or website URLs, or OPML. Output: a row per item (title, link, date, text, enclosures). Scheduled RSS feed monitor: only new items. $0.88/1k items.

- **URL**: https://apify.com/glidepath/rss-feed-scraper.md
- **Developed by:** [Glidepath](https://apify.com/glidepath) (community)
- **Categories:** Automation, Developer tools, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.61 / 1,000 feed items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## RSS Feed Scraper & Reader – RSS to JSON, OPML, New Items

**An RSS reader and RSS-to-JSON converter for automations: RSS, Atom and JSON Feed feeds as clean, structured rows.** Paste feed URLs, or just the address of a website or blog, and get one row per item: title, link, publication and update time in UTC, summary and content as plain text (the full article when the feed carries it), categories, enclosures (podcast audio, PDFs, images), the item's image and its comments link. Every feed format in use is read the same way: RSS 0.91/0.92/2.0, RSS 1.0 (RDF), Atom 1.0 and 0.3, JSON Feed 1.0 and 1.1.

Schedule it with **Only new items since the last run** and each run returns just the items that appeared since the previous one. Feeds that did not change answer "304 Not Modified" and cost nothing. Import a whole subscription list from your feed reader as an **OPML** file, filter by **keywords** or **date**, and send the new rows to Slack, e-mail, Google Sheets, a webhook or an AI agent.

Plain HTTP, no browser, no login, no API key; robots.txt is respected. The prefilled input (two public US-government feeds) finishes in a few seconds.

### What it does and who it is for

- **Automation builders (Make, Zapier, n8n, webhooks):** one scheduled run over the blogs, release notes, changelogs, job boards, government notices or podcasts you follow, with only the new items passed on.
- **Developers and data teams:** one stable JSON shape for every feed format, dates normalised to ISO 8601 UTC, relative links made absolute, broken encodings and malformed XML repaired, so you never write another feed parser.
- **AI agents and RAG pipelines:** pass the text of new items to an LLM or a vector store (the full article when the feed carries it); through the Apify MCP server an agent passes a feed or website URL and gets clean text back.
- **Researchers and analysts:** export the current items of hundreds of feeds (from an OPML file) to CSV or Excel, filtered by keyword and date.

### How to use it

1. Put feed URLs in **Feed or website URLs**, one per line (up to 1,000). A website or article URL works too: the feed the page declares is found for you. Or give an **OPML file URL** exported from your feed reader.
2. Optional: add **Keywords** or **Exclude keywords**, **Published within (days)**, a **Max items per feed**, and turn on **Only new items since the last run** for scheduled runs.
3. Run it, or save it as a Task and schedule it. Download the rows as JSON, CSV or Excel, or connect an integration in the Integrations tab.

### Input fields

| Field | Type | Default | Description |
|---|---|---|---|
| **Feeds** | | | |
| `feedUrls` | array | `["https://www.nasa.gov/news-release/feed/", "https://eart…` (prefilled) | **Feed or website URLs.** RSS 0.9x/1.0/2.0, Atom or JSON Feed URLs, one per line (up to 1,000). A website or article URL works too: the feed the page declares is found and read (see 'Find feeds on web pages'). |
| `opmlUrl` | string | – | **OPML file URL (optional).** A public OPML subscription list, as feed readers export it (Feedly, Inoreader, NetNewsWire ...). Every feed it lists (xmlUrl) is read, next to the URLs above, up to 1,000 feeds in all. |
| `discoverFeeds` | boolean | `true` | **Find feeds on web pages.** When a URL is a web page, read the feed it declares (its rel=alternate feed link; comment feeds are skipped). If it declares none, /feed, /rss.xml and /atom.xml on its site are tried, where robots.txt allows. |
| **Filters** | | | |
| `keywords` | array | – | **Keywords (any of).** Keep only items whose title or summary contains at least one of these words or phrases (whole words, case-insensitive). Leave empty for all items. |
| `excludeKeywords` | array | – | **Exclude keywords.** Leave out items whose title or summary contains any of these words or phrases (whole words, case-insensitive). |
| `publishedWithinDays` | integer (1–36500) | – | **Published within (days).** Keep only items published (or updated) in the last N days. Items without a date are kept, since their age is unknown. |
| **Limits** | | | |
| `maxItemsPerFeed` | integer (1–10000) | `50` | **Max items per feed.** At most this many items from each feed, newest first. |
| `maxItems` | integer (1–1000000) | – | **Max items in total.** Stop after this many items across all feeds. Leave empty for no limit (your maximum cost per run still applies). |
| **Only new items (for schedules)** | | | |
| `onlyNewSinceLastRun` | boolean | `false` | **Only new items since the last run.** Remember the items saved (in a key-value store in your own account) and output only new ones next time. The first run outputs the newest items; items a cap or your cost limit left out stay new for the next run. |
| `stateStoreName` | string | `glidepath-rss-feed-scraper` | **Memory store name (for 'only new').** Named key-value store used by 'Only new items'. Use different names to keep separate schedules apart (letters, digits and '-', 3-63 characters). |
| **Output** | | | |
| `includeContentText` | boolean | `true` | **Include full content text.** Add contentText: the full text of items whose feed carries their content (content:encoded, Atom content, JSON Feed content), as plain text. |
| `includeContentHtml` | boolean | `false` | **Include content HTML.** Add contentHtml: the item's content as HTML, with links made absolute and scripts removed. |

### Input example

```json
{
  "feedUrls": [
    "https://www.nasa.gov/news-release/feed/",
    "https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_week.atom",
    "https://www.noaa.gov/"
  ],
  "keywords": ["climate", "Artemis", "Japan"],
  "publishedWithinDays": 7,
  "maxItemsPerFeed": 50,
  "onlyNewSinceLastRun": true,
  "stateStoreName": "my-daily-feeds"
}
```

### Output example

One row per feed item (a real NASA item from 22 Nov 2026, content shortened):

```json
{
  "feedUrl": "https://www.nasa.gov/news-release/feed/",
  "feedTitle": "NASA",
  "feedLink": "https://www.nasa.gov",
  "feedLanguage": "en-US",
  "itemId": "https://www.nasa.gov/?p=1066805",
  "title": "65 Years of Human Spaceflight at NASA Johnson",
  "link": "https://www.nasa.gov/centers-and-facilities/johnson/65-years-of-human-spaceflight-at-nasa-johnson/",
  "publishedAt": "2026-11-22T19:13:25Z",
  "updatedAt": null,
  "summaryText": "For 65 years, NASA’s Johnson Space Center in Houston has helped shape human spaceflight, from the Gemini missions that demonstrated rendezvous and docking techniques needed for Apollo to the research conducted aboard the International Space Station, which has supported a continuous human presence for more than 26 years. Today, Johnson teams are preparing crews and […]",
  "contentText": "7 Min Read\n65 Years of Human Spaceflight at NASA Johnson\n…",
  "contentHtml": null,
  "categories": ["Johnson Space Center"],
  "enclosures": [],
  "imageUrl": "https://www.nasa.gov/wp-content/uploads/2026/11/20261106-artemiscelebrationgala-sl1-4202.jpg?w=1536",
  "commentsUrl": null,
  "scrapedAt": "2026-11-22T22:10:19Z",
  "isNew": null
}
```

| Field | Type | Description |
|---|---|---|
| `feedUrl` | string | The feed: the URL you entered, or the feed found on the web page you entered |
| `feedTitle` | string / null | The feed's title |
| `feedLink` | string / null | The website the feed belongs to |
| `feedLanguage` | string / null | The feed's language code as published (e.g. `en-us`) |
| `itemId` | string | The item's guid or id as published; a hash (`sha256:...`) of link and title when the feed gives none, or of the id when it contains an e-mail address or phone number |
| `title` | string / null | Item title, plain text |
| `link` | string / null | Item URL (absolute) |
| `publishedAt` | string / null | Publication time, ISO 8601 UTC (the update time when the feed gives only that); null when missing or unreadable |
| `updatedAt` | string / null | Last update time, ISO 8601 UTC, when the feed gives one |
| `summaryText` | string / null | Description or summary as plain text, up to 2,000 characters (an item without one: the start of its content) |
| `contentText` | string / null | Full content as plain text, when the feed carries it (**Include full content text**) |
| `contentHtml` | string / null | Full content as HTML, links absolute, scripts removed (**Include content HTML**) |
| `categories` | array | Categories and tags |
| `enclosures` | array | Attached files: `url`, `type` (MIME), `length` (bytes or null) |
| `imageUrl` | string / null | The item's image: media thumbnail or content, iTunes image, image enclosure, JSON Feed image, else the first image in its HTML |
| `commentsUrl` | string / null | Link to the item's comments page |
| `scrapedAt` | string | When the feed was read, ISO 8601 UTC |
| `isNew` | boolean / null | `true` in only-new mode (every row is an item not saved before); null otherwise |

The **Overview** view shows `publishedAt`, `title`, `link`, `summaryText`, `feedTitle`, `categories` and `imageUrl`; **Content and files** shows the content text, enclosures and comment links.

**How items are cleaned.** HTML is turned into plain text with paragraph breaks kept; entities (`&amp;`, `&nbsp;`, `&#8217;`) are decoded, also when a feed escaped them twice. Relative links are resolved against the feed's `xml:base` and address. Dates in RFC 822 (`Fri, 20 Nov 2026 10:00:00 GMT`), ISO 8601 and common broken forms are converted to UTC; a date that can't be read is `null`, never guessed (a date without a time zone is read as UTC). Items are sorted newest first when all of them have a date, else kept in the feed's order. E-mail addresses and phone numbers are replaced by `[email removed]` / `[phone removed]` in every text field (and in `FEED_STATUS` titles); an item id that contains one is output as a hash. The feed's and items' author, creator, contributor, editor and webmaster fields are never read or output.

#### Feed status and run summary

Besides the dataset, each run's key-value store holds:

- `FEED_STATUS`: one row per feed with `url` (what you entered), `source` (`input`, `opml`, or `opml-file` for the OPML file itself), `resolvedFeedUrl` (the feed actually read, after discovery and redirects), `format` (e.g. `RSS 2.0`, `Atom 1.0`, `JSON Feed 1.1`), `title`, `itemsInFeed`, `itemsMatched` (after your filters), `itemsNew` (only-new mode), `itemsSaved`, `status`, `error` (why nothing was saved) and `note` (e.g. items a cap left for the next run).
- `OUTPUT` and `SUMMARY`: the run in numbers (feeds, items in feeds, matched, new, saved, charged, whether a limit stopped it, HTTP requests).
- `ERRORS`: the feeds that saved nothing, with their status and reason.

| Status | Meaning |
|---|---|
| `OK` | Items saved |
| `NO_NEW_ITEMS` | Only-new mode: nothing new since the last run (also a `304 Not Modified` answer) |
| `NO_MATCH` | No item matched your keywords or date filter |
| `EMPTY_FEED` | The feed has no items right now |
| `NOT_FOUND` | HTTP 404 or 410 |
| `NOT_A_FEED` | The URL returns something that is not a feed (or a web page while **Find feeds on web pages** is off) |
| `NO_FEED_FOUND` | A web page that declares no feed, and none was found at `/feed`, `/rss.xml` or `/atom.xml` |
| `INVALID_FEED` | Broken XML or JSON that could not be repaired, or a feed declaring XML entities (refused for safety) |
| `INVALID_OPML` | The OPML file could not be read or lists no feeds |
| `TOO_LARGE` | The response is over 10 MB (also once unpacked), or the feed has more than 300,000 XML elements |
| `ROBOTS_DISALLOWED` | The site's robots.txt does not allow the feed to be read |
| `REFUSED` | A private, loopback or internal address (also after a redirect) |
| `INVALID_URL` | Not an http(s) URL |
| `SKIPPED` | **Max items in total** or your maximum cost per run was reached before this feed |
| `DUPLICATE` | The same feed was already read in this run (e.g. once directly, once through its website) |
| `BLOCKED` | HTTP 401/403, a bot check, or a 429 rate limit that persists; never bypassed |
| `FETCH_FAILED` | A network error, a timeout (60 s per request, 180 s per feed), an empty answer, an unsupported compression, or a server error after 3 tries |
| `ROBOTS_UNREACHABLE` | The site's robots.txt could not be read (server error), so the host was skipped to be safe |
| `ERROR` | An unexpected error in the Actor; please open an issue with the run link |

### Only new items (scheduled runs)

Turn on **Only new items since the last run** and give the schedule a **Memory store name** (e.g. `my-daily-feeds`). The Actor keeps, per feed, the ids of the items it saved in a key-value store with that name in your own Apify account, and outputs only items it has not saved before (`isNew: true`).

- **First run:** the newest items of each feed, up to **Max items per feed**.
- **Later runs:** only items that are new since then. A feed that answers `304 Not Modified` to the Actor's conditional request (ETag / Last-Modified) is not downloaded again and costs nothing.
- **Nothing is lost:** items left out by **Max items per feed**, **Max items in total** or your maximum cost per run are not remembered, so they come in the next run. If you don't want a backlog of older items, set **Published within (days)**.
- **Nothing comes twice:** per feed, the memory keeps every saved item that is still in the feed, plus the 20,000 most recently saved ones that have left it.
- **Changing filters** is safe: a 304 is only trusted for the same keyword and date settings.

Recipe: save your input as a Task, turn on only-new mode, schedule it (e.g. every hour or once a morning), and add an integration (Slack, e-mail, Google Sheets, webhook). Use a different memory store name per schedule so they don't share memory.

### OPML and finding feeds on websites

**OPML:** export your subscriptions from Feedly, Inoreader, NetNewsWire, Thunderbird or any feed reader as OPML, upload it somewhere public that allows crawlers (e.g. a record in an Apify key-value store, or a file in a public GitHub repository through its `raw.githubusercontent.com` link; GitHub Gist's robots.txt forbids crawlers its raw files) and paste the URL in **OPML file URL**. Every feed it lists (`xmlUrl`) is read, up to 1,000 feeds per run counting the URLs you entered; feeds after that are left out and the status message says how many. Owner names and e-mails in the file are ignored.

**Feeds on web pages:** with **Find feeds on web pages** on (the default), a URL that returns a web page is checked for the feeds it declares (`<link rel="alternate" type="application/rss+xml">`, Atom and JSON Feed too). The first declared feed is read; comment feeds and WordPress REST/oEmbed links are skipped. A page that declares none gets three tries on its site, `/feed`, `/rss.xml` and `/atom.xml`, each only where robots.txt allows it. `FEED_STATUS` tells you which feed was used.

### Pricing

Pay per item: **$0.88 per 1,000 items** on the Apify Free plan; on paid plans **$0.88** (Starter), **$0.74** (Scale) and **$0.61** (Business and higher) per 1,000 items (the Pricing tab shows the price for your plan). One item = one row saved in the dataset.

Never charged: items your keywords or date filter leave out, items already saved in an earlier run (only-new mode), feeds that answer 304 Not Modified, and feeds that fail (not found, not a feed, blocked, disallowed by robots.txt, too large).

Examples on the Free plan (30-day month):

| What you read | Items saved | Cost |
|---|---|---|
| 20 feeds once a day, only new items, about 5 new items per feed a day | 3,000 a month | $2.64 a month |
| 100 feeds every hour, only new items, about 10 new items per feed a day | 30,000 a month | $26.40 a month |
| A one-off export of 200 feeds from an OPML file, 50 items each | 10,000 | $8.80 once |
| An AI agent reading one feed's 20 newest items, 50 times | 1,000 | $0.88 |

A small start fee of $0.00005 per run applies. Set a **maximum cost per run** in the run options and the Actor stops cleanly when it is reached; **Max items in total** does the same by count.

### Limits and notes

- **What a feed holds is what you get.** Feeds carry only their newest items (how many is up to the publisher); this Actor does not page back through a site's archive. Many feeds have only a summary; `contentText` is filled when the feed carries the full content.
- **Up to 1,000 feeds per run** (feed URLs plus the OPML file's feeds), **10,000 items per feed**, **10 MB per feed** (also once unpacked; gzip and deflate only) and 300,000 XML elements, 5 redirects. Five feeds are read at the same time, one request at a time per host, with timeouts (60 s per request, 180 s per feed) and up to 3 tries with backoff on server and network errors.
- **robots.txt is respected** (RFC 9309, including `*` and `$` rules) for every feed, page and redirect; a site whose robots.txt can't be read is skipped to be safe. Private, loopback and internal addresses are refused. Bot checks and logins are never bypassed. The Actor identifies itself as `GlidepathFeedBot`.
- **Some sites forbid crawlers their feeds** in robots.txt, for example YouTube channel feeds (`/feeds/videos.xml`) and Reddit (every `.rss` feed): those show `ROBOTS_DISALLOWED` and are not charged.
- **Safe XML:** feeds are parsed without expanding XML entities or loading external files (protection against "billion laughs" and XXE attacks); such feeds are reported as `INVALID_FEED`.
- **Item ids:** an item without a guid or id gets a hash of its link and title; if a publisher edits a title, such an item can come again as new.
- **Text sizes:** `summaryText` up to 2,000 characters, `contentText` up to 100,000 and `contentHtml` up to 200,000 per item. `contentHtml` has scripts, styles and frames removed but is otherwise the publisher's HTML: treat it as untrusted when you display it.
- Items link back to their source (`link`); keep that link when you publish or show them.

### FAQ

**Is it legal to scrape RSS feeds?** Feeds are published so that readers and apps can fetch them, and this Actor reads only public feeds, where robots.txt allows, at a polite rate, without logging in or getting around any protection. It outputs no personal-data fields, and e-mail addresses and phone numbers are removed from the text. What you may do with the content is set by each publisher's terms, by copyright and by privacy law (item text can name people): many news feeds allow personal, non-commercial reading only, and republishing full articles usually needs permission. You are responsible for respecting the terms of the feeds you read; if in doubt, ask the publisher or a lawyer.

**Why did my run succeed with 0 results?** Because there was nothing to save, not because the run broke. The status message and `FEED_STATUS` name the reason for each feed, for example `NO_NEW_ITEMS` (only-new mode, nothing new since the last run), `NO_MATCH` (your keywords or date filter left nothing), `EMPTY_FEED`, `NOT_FOUND` or `ROBOTS_DISALLOWED`. No item is charged for such a run. A run that saves nothing fails only when no feed could be read and a server error, a block, a timeout or an error of ours is among the reasons. When at least one feed was read (say, nothing new on a schedule), the run succeeds and its status message names any feed that could not be read this time.

**How is this different from a free RSS-to-JSON reader?** One row shape for every format (RSS 0.9x to 2.0, RSS 1.0, Atom, JSON Feed), dates in UTC, HTML turned into clean text and broken feeds repaired; only new items across scheduled runs, where unchanged feeds (304) cost nothing; a whole OPML subscription list as input; the feed found from a website's address; and a status with its reason for every feed, so you know why one returned nothing.

**Can I give it a website instead of a feed URL?** Yes. The page's declared feed is found and read (see above). If a site has several feeds (e.g. per category), paste the one you want.

**Does it get the full article text?** It returns what the feed carries: the full text when the feed includes it (`content:encoded`, Atom `content`, JSON Feed content), otherwise the summary. It does not open the article pages.

**How do I get only new items every day?** Turn on **Only new items since the last run**, save the input as a Task and schedule it. See [Only new items](#only-new-items-scheduled-runs).

**Which formats are supported?** RSS 0.91, 0.92 and 2.0, RSS 1.0 (RDF), Atom 1.0 and 0.3, JSON Feed 1.0 and 1.1, with Media RSS, iTunes, Dublin Core and content:encoded extensions; feeds with a wrong encoding, a byte-order mark, HTML entities or stray characters around the XML are repaired.

### Changelog

See [CHANGELOG.md](CHANGELOG.md).

### Support

Found a problem or a feed that doesn't read right? Open an issue on the Actor's Issues tab with the feed URL and the run link. We read every one and answer it there.

# Changelog

This Actor's version history is a separate document: https://apify.com/glidepath/rss-feed-scraper/changelog.md

# Actor input Schema

## `feedUrls` (type: `array`):

RSS 0.9x/1.0/2.0, Atom or JSON Feed URLs, one per line (up to 1,000). A website or article URL works too: the feed the page declares is found and read (see 'Find feeds on web pages').

## `opmlUrl` (type: `string`):

A public OPML subscription list, as feed readers export it (Feedly, Inoreader, NetNewsWire ...). Every feed it lists (xmlUrl) is read, next to the URLs above, up to 1,000 feeds in all.

## `discoverFeeds` (type: `boolean`):

When a URL is a web page, read the feed it declares (its rel=alternate feed link; comment feeds are skipped). If it declares none, /feed, /rss.xml and /atom.xml on its site are tried, where robots.txt allows.

## `keywords` (type: `array`):

Keep only items whose title or summary contains at least one of these words or phrases (whole words, case-insensitive). Leave empty for all items.

## `excludeKeywords` (type: `array`):

Leave out items whose title or summary contains any of these words or phrases (whole words, case-insensitive).

## `publishedWithinDays` (type: `integer`):

Keep only items published (or updated) in the last N days. Items without a date are kept, since their age is unknown.

## `maxItemsPerFeed` (type: `integer`):

At most this many items from each feed, newest first.

## `maxItems` (type: `integer`):

Stop after this many items across all feeds. Leave empty for no limit (your maximum cost per run still applies).

## `onlyNewSinceLastRun` (type: `boolean`):

Remember the items saved (in a key-value store in your own account) and output only new ones next time. The first run outputs the newest items; items a cap or your cost limit left out stay new for the next run. Feeds that did not change cost nothing.

## `stateStoreName` (type: `string`):

Named key-value store used by 'Only new items'. Use different names to keep separate schedules apart (letters, digits and '-', 3-63 characters).

## `includeContentText` (type: `boolean`):

Add contentText: the full text of items whose feed carries their content (content:encoded, Atom content, JSON Feed content), as plain text.

## `includeContentHtml` (type: `boolean`):

Add contentHtml: the item's content as HTML, with links made absolute and scripts removed.

## Actor input object example

```json
{
  "feedUrls": [
    "https://www.nasa.gov/news-release/feed/",
    "https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_week.atom"
  ],
  "discoverFeeds": true,
  "maxItemsPerFeed": 10,
  "onlyNewSinceLastRun": false,
  "stateStoreName": "glidepath-rss-feed-scraper",
  "includeContentText": true,
  "includeContentHtml": false
}
```

# Actor output Schema

## `items` (type: `string`):

No description

## `output` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `feedStatus` (type: `string`):

No description

## `errors` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "feedUrls": [
        "https://www.nasa.gov/news-release/feed/",
        "https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_week.atom"
    ],
    "maxItemsPerFeed": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("glidepath/rss-feed-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "feedUrls": [
        "https://www.nasa.gov/news-release/feed/",
        "https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_week.atom",
    ],
    "maxItemsPerFeed": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("glidepath/rss-feed-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "feedUrls": [
    "https://www.nasa.gov/news-release/feed/",
    "https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_week.atom"
  ],
  "maxItemsPerFeed": 10
}' |
apify call glidepath/rss-feed-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,glidepath/rss-feed-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6YbS8K7PpWwcjoKgI/builds/fovOhXXnGTgEmDbgt/openapi.json
