# RSS, Atom & JSON-Feed Aggregator + New-Item Monitor (MCP Ready) (`forgekit/rss-atom-json-feed-monitor`) Actor

Aggregate and monitor RSS 2.0, RDF, Atom 1.0, JSON Feed 1.1, podcast RSS & OPML 2.0 feeds with stateful onlyNew delta tracking, ETag 304 conditional GET, UTC recency presets, full-article extraction, and Standby MCP.

- **URL**: https://apify.com/forgekit/rss-atom-json-feed-monitor.md
- **Developed by:** [James Edmans](https://apify.com/forgekit) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 feeds fetched & parsed (includes 304 check)

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

Learn more: https://docs.apify.com/actors/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, Atom & JSON-Feed Aggregator + New-Item Monitor (MCP Ready)

> **Apify Store Actor:** `forgekit/rss-atom-json-feed-monitor` | **Runtime:** Node.js 22 (polite HTTP/XML/JSON Feed engine, 256–1024 MB RAM) | **Billing:** Pay-Per-Event (PPE) + Standby MCP Server

### Overview

**RSS, Atom & JSON-Feed Aggregator + New-Item Monitor** ingests and normalizes **RSS 2.0, RSS 1.0 (RDF), Atom 1.0, JSON Feed 1.1, Media RSS, Podcast iTunes RSS, and OPML 2.0** feed lists into one clean, Markdown-ready dataset — with **stateful `onlyNew` delta monitoring** and **HTTP `ETag`/`If-Modified-Since` `304 Not Modified` fast-skipping** that cut scheduled polling costs by 80–95%.

Built to eliminate the top complaints filed against competing RSS and news-monitoring Actors, it enforces **strict UTC recency window presets (`1h`, `24h`, `7d`, `30d`, `90d`, `1y`)**, fixes **`summary === title` duplication** automatically from `<content:encoded>` or optional **`@mozilla/readability` full-article extraction**, resolves multi-source images cleanly, caps execution runtime with `maxRunSeconds`, and exposes a native **Standby MCP Server** for Claude Desktop and Cursor.

### Features vs Competitors

- **All Syndication Formats + OPML 2.0 Bulk Import:** Unified normalization across RSS 2.0, RDF/RSS 1.0, Atom 1.0, JSON Feed 1.1, podcast iTunes enclosures/durations, and Feedly/Inoreader OPML 2.0 exports (`opmlXml` or `opmlUrl`).
- **Stateful `onlyNew` Delta Tracking + HTTP `304` Conditional GET:** Remembers up to 5,000 seen item IDs per feed plus HTTP `ETag`/`Last-Modified` headers in a named KV store so unchanged feeds fast-skip on `304` and you NEVER re-pay for already-seen articles.
- **10× Lower Per-Item PPE Pricing:** `$0.001/feed` + `$0.0002/item` with ZERO bloated `$0.035` start tax.
- **Voice-of-Customer Upgrades:**
  - **Complete Relative UTC Recency Presets (`1h`, `24h`, `7d`, `30d`, `90d`, `1y`) + `undatedItemsPolicy`:** Strictly compares normalized UTC timestamps so stale articles never slip through a `"30d"` or `"24h"` filter.
  - **Title-vs-Summary Deduplication + Optional Full-Article Readability (`fetchFullArticleText: true`):** When `<description>` duplicates `<title>`, automatically synthesizes a clean 280-char excerpt from `<content:encoded>` / Atom `<content>` — or fetches the full readable article via `@mozilla/readability` + `turndown`.
  - **Hard Run-Duration Guardrail (`maxRunSeconds`, default `300`):** Guarantees a hanging feed can never run for hours and wipe out prepaid credits.
  - **Multi-Source Image Resolution:** Checks `media:content`, `media:thumbnail`, image `enclosure`, `itunes:image`, JSON Feed `image`/`banner_image`, and first inline `<img>` resolved cleanly against `feedUrl`.

| Capability | RSS, Atom & JSON-Feed Monitor | `santamaria-automations/rss-feed-reader` | `automation-lab/rss-feed-reader` | `technicaldost/rss-feed-scraper` |
|---|---|---|---|---|
| Price per 1,000 Items (FREE) | **$0.20** (`$0.0002/item`, no start fee) | $2.00 (10x pricier!) | $1.15 + **$0.035 start** | $2.00 (10x pricier!) |
| Stateful `onlyNew` + HTTP `304` ETag Fast-Skip | Built-in (`stateStoreName` + `useConditionalGet`) | None (re-bills every run!) | None | None |
| RSS 2.0 + RDF + Atom 1.0 + JSON Feed 1.1 + OPML 2.0 | All 5 + Podcast iTunes RSS | RSS/Atom only | Basic RSS | RSS/Atom only |
| UTC Recency Presets (`30d` etc.) + Full-Article Readability | Built-in (`relativeTimeFilter`, `fetchFullArticleText`) | None | None | None |
| Title-vs-Summary Dedupe + Relative Image Resolution | Built-in | None | None | None |
| Standby MCP Server | Native JSON-RPC 2.0 + SSE (3 tools) | None | None | None |

### Input Configuration

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `feedUrls` | `string[]` | No | `[]` | Feed URLs or website homepages (`autoDiscoverFeeds=true`), SSRF-protected (up to 500). |
| `opmlXml` | `string` | No | `""` | Inline OPML 2.0 XML export to import feeds in bulk. |
| `opmlUrl` | `string` | No | `""` | Public URL to an OPML 2.0 XML file (SSRF-protected). |
| `autoDiscoverFeeds` | `boolean` | No | `true` | Auto-discover `<link rel="alternate">` feeds when a URL returns HTML. |
| `onlyNew` | `boolean` | No | `false` | Emit and bill ONLY items unseen in previous runs stored in `stateStoreName`. |
| `stateStoreName` | `string` | No | `"rss-monitor-state"` | Named KV store persisting seen item IDs (capped at 5,000/feed) and ETags. |
| `useConditionalGet` | `boolean` | No | `true` | Send stored `If-None-Match`/`If-Modified-Since` headers for `304` fast-skipping. |
| `maxItemsPerFeed` | `integer` | No | `50` | Maximum matched items emitted per feed (`1`–`1,000`). |
| `publishedAfter` | `string` | No | `""` | Optional ISO-8601 UTC lower bound. |
| `publishedBefore` | `string` | No | `""` | Optional ISO-8601 UTC upper bound. |
| `relativeTimeFilter` | `string` | No | `"all"` | Preset UTC recency filter: `"all"`, `"1h"`, `"24h"`, `"7d"`, `"30d"`, `"90d"`, or `"1y"`. |
| `undatedItemsPolicy` | `string` | No | `"include"` | `"include"` or `"exclude"` entries lacking `<pubDate>`/`<updated>` when date filtering. |
| `fetchFullArticleText` | `boolean` | No | `false` | Fetch full readable article body & Markdown via `@mozilla/readability` + `turndown` (SSRF-protected). |
| `maxRunSeconds` | `integer` | No | `300` | Hard run-duration guardrail in seconds (`10`–`3,600`). |
| `includeKeywords` | `string[]` | No | `[]` | Case-insensitive keyword allowlist across title, summary, and categories. |
| `excludeKeywords` | `string[]` | No | `[]` | Case-insensitive keyword blocklist. |
| `includeMarkdownContent` | `boolean` | No | `true` | Convert HTML body to clean Markdown via Turndown. |
| `includeRawHtml` | `boolean` | No | `false` | Attach raw HTML snippet under `contentHtml`. |
| `dedupeAcrossFeeds` | `boolean` | No | `true` | Deduplicate syndicated articles appearing across multiple feeds by canonical link. |
| `maxConcurrency` | `integer` | No | `10` | Concurrent feed fetches (`1`–`30`). |
| `timeoutSecs` | `integer` | No | `15` | Per-feed HTTP timeout in seconds (`3`–`60`). |

### Output Example

Captured directly from a local end-to-end test run parsing an RSS 2.0 + Media/iTunes podcast feed with duplicated `<description>` automatically synthesized from `<content:encoded>` and relative `<img src="/og.jpg">` resolved:

```json
{
  "feedUrl": "http://127.0.0.1:57816/feed.xml",
  "feedTitle": "Example Engineering",
  "feedFormat": "rss-2.0",
  "itemId": "tag:example.com,2026:post-42",
  "title": "Shipping Zero-Latency Pipelines",
  "link": "http://127.0.0.1:57816/posts/zero-latency",
  "publishedAt": "2026-12-01T10:30:00.000Z",
  "updatedAt": null,
  "authors": [
    "Ada Lovelace"
  ],
  "categories": [
    "engineering",
    "nodejs"
  ],
  "summary": "Heading Clean markdown body with deterministic ETL metrics.",
  "contentText": "Heading Clean markdown body with deterministic ETL metrics.",
  "contentMarkdown": "# Heading\n\nClean markdown body with deterministic ETL metrics.\n\n![](/og.jpg)",
  "imageUrl": "http://127.0.0.1:57816/og.jpg",
  "enclosures": [
    {
      "url": "https://cdn.example.com/ep1.mp3",
      "type": "audio/mpeg",
      "lengthBytes": 12400000
    }
  ],
  "podcastDuration": "00:42:15",
  "isNew": true
}
```

### Pay-Per-Event (PPE) Pricing

| Event Key | Event Title | Price (USD) | Billing Trigger |
|---|---|---:|---|
| `feed-checked` | Feed fetched & parsed | `$0.001` | Charged per valid feed checked (including fast `304 Not Modified` checks; failed/broken feeds are NOT charged). |
| `feed-item-emitted` | New/matched feed item returned | `$0.0002` | Charged strictly per emitted item (zero charge on unchanged `304` or already-seen `onlyNew` runs). |
| `mcp-tool-call` | Standby MCP tool execution | `$0.002` | Charged per successful Standby MCP JSON-RPC tool invocation. |

**Cost Example:** Polling `20` feeds returning `1,000` new articles costs `(20 × $0.001) + (1,000 × $0.0002) = $0.22 USD` — and subsequent hourly `onlyNew` polls with 5 new articles cost just `$0.021 USD`.

### Standby MCP Server & AI Agent Integration

Enable Apify Standby Mode (`APIFY_META_ORIGIN=STANDBY`) to connect `forgekit/rss-atom-json-feed-monitor` to Claude Desktop, Cursor, or any MCP client:

- **Health Endpoint:** `GET /health`
- **MCP Endpoint:** `POST /mcp` and `GET /mcp` (Streamable HTTP + SSE)
- **Exposed MCP Tools:**
  - `fetch_feed_items` — Fetches and normalizes RSS 2.0, RDF, Atom 1.0, or JSON Feed 1.1 URLs into Markdown-ready items.
  - `discover_feeds_from_url` — Discovers RSS/Atom/JSON Feed endpoints from any website homepage.
  - `check_new_feed_items` — Delta fetch returning only unseen entries relative to `seenItemIds`.

```json
{
  "mcpServers": {
    "rss-atom-json-feed-monitor": {
      "url": "https://forgekit--rss-atom-json-feed-monitor.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

### Error Handling, Rate Limits & Limitations

- **SSRF Protection:** All `feedUrls`, `opmlUrl`, auto-discovered feed URLs, and optional `fetchFullArticleText` links enforce `http:`/`https:` schemes only and block private/loopback/cloud-metadata IPs and redirects.
- **Partial-Batch Resilience:** Malformed XML, `404`/`500` feeds, or timeouts are isolated in `SUMMARY.feedErrors[]` without aborting healthy feeds or charging `feed-checked`.
- **State Bounds:** Persisted `seenIds` per feed are pruned to the most recent `5,000` entries so long-running KV state never grows unbounded.

### Quick Start & Example Input

#### 1. Run in Apify Console (No Code)

1. Open **[`forgekit/rss-atom-json-feed-monitor`](https://apify.com/forgekit/rss-atom-json-feed-monitor)** in Apify Console and click **Try for free**.
2. Paste or adjust the ready-to-run input JSON below (safe defaults are pre-filled).
3. Click **Start** and export results as **JSON, CSV, Excel, or NDJSON** from the **Output** tab.

```json
{
  "feedUrls": [],
  "opmlXml": "",
  "opmlUrl": "",
  "autoDiscoverFeeds": true
}
```

#### 2. Run via API (`apify-client` — Node.js & Python)

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('forgekit/rss-atom-json-feed-monitor').call({"feedUrls":[],"opmlXml":"","opmlUrl":"","autoDiscoverFeeds":true});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

```python
from apify_client import ApifyClient
import os

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("forgekit/rss-atom-json-feed-monitor").call(run_input={"feedUrls":[],"opmlXml":"","opmlUrl":"","autoDiscoverFeeds":True})
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(items)
```

#### 3. Connect to n8n, Make, Zapier & Webhooks

- **n8n / Make / Zapier:** Add the official **Apify** module, choose **Run Actor**, select `forgekit/rss-atom-json-feed-monitor`, and pass the JSON payload above.
- **Schedules & Webhooks:** Attach an Apify Schedule for recurring runs and trigger downstream webhooks automatically on `ACTOR.RUN.SUCCEEDED`.

### Use Cases — What Can You Do With This Data?

- **Automated RevOps & CRM Hygiene:** Chain **RSS, Atom & JSON-Feed Aggregator + New-Item Monitor (MCP Ready)** directly after any Apify scraper via Apify Integrations, Make, or n8n so clean, schema-validated records land straight in HubSpot, Salesforce, Airtable, or Google Sheets.
- **Scheduled Pipeline Automation:** Trigger runs automatically on dataset completion webhooks with deterministic, zero-hallucination TypeScript logic and predictable per-row Pay-Per-Event pricing.
- **AI & RAG Data Preparation:** Clean, deduplicate, diff, or chunk raw web extractions before embedding into Pinecone, Qdrant, Weaviate, or pgvector without burning LLM tokens on boilerplate.
- **Zero-Code Agency Workflows:** Replace brittle local Python scripts and manual Excel cleanup with reproducible, audit-logged cloud runs exported directly to JSON, CSV, NDJSON, or Excel.

### Frequently Asked Questions (FAQ)

#### How much does RSS, Atom & JSON-Feed Aggregator + New-Item Monitor (MCP Ready) cost to run?

You only pay for actual output via transparent Pay-Per-Event billing (starting at `$0.001` per `feed-checked` (Feed fetched & parsed (includes 304 check)); see the PPE Pricing table above). Runs that produce zero billable results or fail upstream incur **`$0.00`** — including zero `actor-start` fee — and Apify's built-in **Max total charge** (`ACTOR_MAX_TOTAL_CHARGE_USD`) hard-caps spend automatically.

#### Does this Actor require proxies, logins, or CAPTCHA solving?

No. This Actor performs 100% deterministic local data processing on the inputs you provide (Apify Datasets, Key-Value Stores, inline JSON, or public file URLs). It requires zero proxies, zero headless browsers, and never depends on scraping fragile third-party websites.

#### What export formats and integrations are supported?

Every run stores structured results in an Apify Dataset downloadable as **JSON, CSV, Excel (XLSX), NDJSON, XML, or HTML Table** via Console or REST API, plus native connectors for **n8n, Make, Zapier, Google Sheets, Airtable, Slack, and webhooks**.

#### Can AI agents (Claude Desktop, Cursor, ChatGPT, LangChain) call this Actor directly via MCP?

Yes! **RSS, Atom & JSON-Feed Aggregator + New-Item Monitor (MCP Ready)** includes a built-in **Standby MCP Server** at `https://forgekit--rss-atom-json-feed-monitor.apify.actor/mcp` supporting JSON-RPC 2.0 (`initialize`, `ping`, `tools/list`, `tools/call`) with Claude-compliant `^[a-zA-Z0-9_.-]{1,64}$` tool schemas.

#### How does it protect against runaway costs or bad inputs?

Every input is strictly validated upfront with Zod schemas before any work starts, user-supplied URLs pass SSRF protection blocking private/cloud-metadata IPs, and streaming `BudgetGuard` enforcement stops immediately once your result or USD budget cap is reached.

#### How fast and lightweight is it compared to browser scrapers?

It runs on lightweight **Node.js 22** (256–512 MB RAM, zero headless browser) so typical runs finish in seconds with high reliability and low platform compute cost.

### Related `forgekit` Actors

Explore companion Actors in **Data Pipeline & ETL** and core ETL utilities to chain end-to-end pipelines:

| Actor | Store Slug | Mode |
|---|---|---|
| [Dataset Merge, Fuzzy Dedupe & Cross-Join Pro](https://apify.com/forgekit/dataset-merge-dedupe-pro) | `forgekit/dataset-merge-dedupe-pro` | ✅ Standby MCP |
| [Dataset Diff & Change Detector (Added / Removed / Modified)](https://apify.com/forgekit/dataset-diff-change-detector) | `forgekit/dataset-diff-change-detector` | ✅ Standby MCP |
| [Universal Data Converter & Nested JSON Flattener (JSON, CSV, XLSX, XML, NDJSON, SQLite)](https://apify.com/forgekit/universal-data-converter-flattener) | `forgekit/universal-data-converter-flattener` | ✅ Standby MCP |
| [Lead List Cleaner, Schema Validator & Normalizer (B2B CRM Prep)](https://apify.com/forgekit/lead-cleaner-schema-normalizer) | `forgekit/lead-cleaner-schema-normalizer` | ✅ Standby MCP |
| [Bulk Webhook & Rate-Limited HTTP Batch Dispatcher (Retries, Auth & Capture)](https://apify.com/forgekit/bulk-webhook-http-dispatcher) | `forgekit/bulk-webhook-http-dispatcher` | Batch REST API |
| [PDF-to-Markdown, Clean Text & Metadata Extractor (LLM & RAG Ready + MCP)](https://apify.com/forgekit/pdf-to-markdown-text-extractor) | `forgekit/pdf-to-markdown-text-extractor` | ✅ Standby MCP |
| [Bulk Domain Availability, RDAP/WHOIS Expiry & Multi-TLD Matrix Checker (MCP)](https://apify.com/forgekit/bulk-domain-availability-rdap-matrix) | `forgekit/bulk-domain-availability-rdap-matrix` | ✅ Standby MCP |

# Actor input Schema

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

RSS 2.0, RSS 1.0/RDF, Atom 1.0, JSON Feed 1.1 URLs, or website homepages when autoDiscoverFeeds is enabled (SSRF-protected).

## `opmlXml` (type: `string`):

Optional OPML XML export (Feedly, Inoreader, NetNewsWire) to import feeds in bulk.

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

Optional public HTTP/HTTPS URL returning an OPML 2.0 feed list (SSRF-protected).

## `autoDiscoverFeeds` (type: `boolean`):

If a URL returns HTML instead of a feed, automatically discover <link rel="alternate"> RSS/Atom/JSON Feed endpoints.

## `onlyNew` (type: `boolean`):

Emit and bill ONLY genuinely new items unseen in previous runs stored in stateStoreName.

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

Named Apify Key-Value Store tracking seen item fingerprints and HTTP ETags.

## `useConditionalGet` (type: `boolean`):

Send stored If-None-Match and If-Modified-Since headers so unchanged feeds fast-skip on HTTP 304.

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

Maximum number of matched entries emitted per feed.

## `publishedAfter` (type: `string`):

Optional ISO-8601 lower date/time bound (inclusive) for filtering entries.

## `publishedBefore` (type: `string`):

Optional ISO-8601 upper date/time bound (inclusive) for filtering entries.

## `relativeTimeFilter` (type: `string`):

Preset UTC recency filter strictly excluding stale entries (includes 30d last-month preset).

## `undatedItemsPolicy` (type: `string`):

Controls whether items lacking <pubDate>/<updated> pass date window filters.

## `fetchFullArticleText` (type: `boolean`):

For summary-only feeds, fetch each article link and extract full readable text + Markdown via @mozilla/readability (SSRF-protected).

## `maxRunSeconds` (type: `integer`):

Hard run-time ceiling preventing slow feeds from burning prepaid credits for hours.

## `includeKeywords` (type: `array`):

Case-insensitive keywords: item must match at least one keyword across title, summary, or categories.

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

Case-insensitive keywords: item is excluded if any keyword matches title, summary, or categories.

## `includeMarkdownContent` (type: `boolean`):

Convert item HTML body to clean GitHub-Flavored Markdown via Turndown.

## `includeRawHtml` (type: `boolean`):

Attach original raw HTML body under contentHtml.

## `dedupeAcrossFeeds` (type: `boolean`):

Skip duplicate items appearing across multiple feeds by canonical article URL/GUID.

## `maxConcurrency` (type: `integer`):

Maximum number of feeds fetched concurrently.

## `timeoutSecs` (type: `integer`):

Timeout in seconds for each individual feed HTTP request.

## Actor input object example

```json
{
  "feedUrls": [
    "https://hnrss.org/frontpage"
  ],
  "opmlXml": "",
  "opmlUrl": "",
  "autoDiscoverFeeds": true,
  "onlyNew": false,
  "stateStoreName": "rss-monitor-state",
  "useConditionalGet": true,
  "maxItemsPerFeed": 10,
  "publishedAfter": "",
  "publishedBefore": "",
  "relativeTimeFilter": "all",
  "undatedItemsPolicy": "include",
  "fetchFullArticleText": false,
  "maxRunSeconds": 300,
  "includeKeywords": [],
  "excludeKeywords": [],
  "includeMarkdownContent": true,
  "includeRawHtml": false,
  "dedupeAcrossFeeds": true,
  "maxConcurrency": 10,
  "timeoutSecs": 15
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

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

No description

## `ppeLedger` (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://hnrss.org/frontpage"
    ],
    "maxItemsPerFeed": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("forgekit/rss-atom-json-feed-monitor").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://hnrss.org/frontpage"],
    "maxItemsPerFeed": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("forgekit/rss-atom-json-feed-monitor").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://hnrss.org/frontpage"
  ],
  "maxItemsPerFeed": 10
}' |
apify call forgekit/rss-atom-json-feed-monitor --silent --output-dataset

```

## MCP server setup

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

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/GoWOwD6lu44QFaVzV/builds/tPMwgeo58scYfyMp2/openapi.json
