# Feed Discovery — Find and Read Any Site's RSS (`xtracto/feed-discovery`) Actor

Give it a domain and get the site's feeds plus their latest items — title, link, author, date, summary. Handles RSS 2.0, Atom, RDF and JSON Feed, and finds feeds that pages never declare. Keyless, HTTP-only.

- **URL**: https://apify.com/xtracto/feed-discovery.md
- **Developed by:** [Farhan Febrian Nauval](https://apify.com/xtracto) (community)
- **Categories:** Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.33 / 1,000 results

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/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

## Feed Discovery: Find and Read Any Site's RSS

Give it a domain and get the site's RSS or Atom feeds and their latest items: title, link, author, publication date, summary and categories. Works on sites that never advertise their feed.

### Why use this actor

- **No account, no login, no API key.** Paste a domain or a feed URL and run.
- **Finds hidden feeds.** About half of sites do not declare their feed on the homepage; this actor also checks fifteen common feed locations.
- **Reads every common format:** RSS 2.0, Atom, RDF and JSON Feed.
- **Dates in one format.** Every date is converted to UTC, so items from different feeds sort together.
- **Two output modes:** the latest items, or just a list of the feeds a site publishes.
- **Stable JSON output** for news monitoring, content pipelines and spreadsheets. Export to JSON, CSV or Excel, and schedule runs on Apify.

### How it works

1. Enter domains (e.g. `techcrunch.com`) or direct feed URLs.
2. For a domain, the actor looks for a declared feed first, then tries common feed locations such as `/feed` or `/news/rss.xml`.
3. It reads each feed it finds and keeps the newest items up to your limit.
4. You get one row per item, or one row per feed in "only list the feeds" mode.

You do not need to manage scrapers, browsers or blocks.

### Input

Latest items:

```json
{
  "sites": ["techcrunch.com", "arstechnica.com"],
  "maxItemsPerFeed": 20,
  "maxFeedsPerSite": 3,
  "includeContent": false,
  "discoverOnly": false,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

Only list the feeds:

```json
{
  "sites": ["techcrunch.com", "bbc.com"],
  "maxFeedsPerSite": 2,
  "discoverOnly": true
}
```

| Field | Type | Description |
|---|---|---|
| `sites` | array | A domain to search, or a direct feed URL to read. |
| `maxItemsPerFeed` | integer | Newest items to keep per feed. Most feeds publish 10 to 40. |
| `maxFeedsPerSite` | integer | Sites often publish several feeds (main, comments, per category). |
| `includeContent` | boolean | Add the item's full HTML body where the feed provides one. |
| `discoverOnly` | boolean | One row per feed found instead of one row per item. |
| `proxyConfiguration` | object | Optional. A few publishers refuse data-centre addresses. |

### Output

#### Item rows (default)

Real output for `techcrunch.com`:

```json
{
  "_input": "techcrunch.com",
  "_source": "S1-rss2",
  "_scrapedAt": "2026-11-11T13:12:13Z",
  "rank": 2,
  "feedUrl": "https://techcrunch.com/feed/",
  "feedTitle": "TechCrunch",
  "feedFormat": "rss2",
  "title": "X launches its own clipping feature to spur influencer engagement",
  "link": "https://techcrunch.com/2026/11/10/x-launches-its-own-clipping-feature-to-spur-influencer-engagement/",
  "guid": "https://techcrunch.com/?p=3187194",
  "author": "Lucas Ropek",
  "publishedAt": "2026-11-11T01:02:13Z",
  "updatedAt": "2026-11-11T01:02:13Z",
  "categories": ["Social", "clipping", "influencers", "… 2 more"],
  "summary": "X is jumping into clipping, the popular practice of cutting long videos into short, shareable clips that can go viral."
}
```

| Field | Type | Description |
|---|---|---|
| `rank` | number | Position of the item in its feed (1 = newest) |
| `feedUrl`, `feedTitle`, `feedFormat` | string | Which feed the item came from (`rss2`, `atom`, `rdf`, `jsonfeed`) |
| `title`, `link`, `guid` | string | The item and its stable identifier |
| `author` | string | Author name, where the feed provides one |
| `publishedAt`, `updatedAt` | string | UTC timestamps |
| `categories` | array | Tags the feed assigns |
| `summary` | string | The item's description or summary |
| `content` | string | Full HTML body, only when `includeContent` is on |
| `_input`, `_source`, `_scrapedAt` | string | What you entered, the feed format read and the time of the run |

#### Feed rows (`discoverOnly: true`)

Real output for `bbc.com`, whose feed is not declared on the homepage:

```json
{
  "_input": "bbc.com",
  "_source": "S1-feed",
  "_scrapedAt": "2026-11-11T13:13:37Z",
  "feedUrl": "https://bbc.com/news/rss.xml",
  "discoveredVia": "conventional-path",
  "declaredTitle": null,
  "itemCount": 31,
  "feedTitle": "BBC News",
  "feedDescription": "BBC News - News Front Page",
  "feedLink": "https://www.bbc.co.uk/news",
  "feedLanguage": "en-gb",
  "feedUpdated": "2026-11-11T13:13:12Z",
  "feedFormat": "rss2"
}
```

| Field | Type | Description |
|---|---|---|
| `feedUrl` | string | The feed address |
| `discoveredVia` | string | `link-rel-alternate` (declared by the site) or `conventional-path` (found at a common location) |
| `declaredTitle` | string | The title the site gives the feed link, if declared |
| `itemCount` | number | Items currently in the feed |
| `feedTitle`, `feedDescription`, `feedLink`, `feedLanguage` | string | The feed's own metadata |
| `feedUpdated` | string | Last update time, UTC |
| `feedFormat` | string | `rss2`, `atom`, `rdf` or `jsonfeed` |

### Notes and limits

- **Undeclared feeds are found too.** bbc.com declares nothing on its homepage, yet its feed lives at `/news/rss.xml`.
- **A homepage that will not load does not end the search.** Common feed locations are still tried.
- **JSON Feed support follows the specification** but has not yet been tested against a live JSON Feed.
- **Unsafe XML is refused.** Feeds that declare custom XML entities are reported instead of read.
- **Failures:** a site with no feed returns a row with `_error: "no_feed_found"` and a list of what was tried. If no site yields a feed, the run fails rather than finishing empty.
- **Related:** Sitemap Crawler lists everything a site publishes; Website Content Extractor turns an item's `link` into clean article text.

# Actor input Schema

## `sites` (type: `array`):

A domain to search, or a direct feed URL to read. Both work.

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

Most feeds publish 10–40 recent items.

## `maxFeedsPerSite` (type: `integer`):

Sites often publish several — main, comments, per-category.

## `includeContent` (type: `boolean`):

Adds the item's full HTML body where the feed provides one. Off keeps rows small; the summary is always included.

## `discoverOnly` (type: `boolean`):

One row per feed found — URL, format, title, item count — instead of one row per item.

## `proxyConfiguration` (type: `object`):

Optional. A few publishers refuse datacentre addresses.

## Actor input object example

```json
{
  "sites": [
    "techcrunch.com",
    "arstechnica.com"
  ],
  "maxItemsPerFeed": 20,
  "maxFeedsPerSite": 3,
  "includeContent": false,
  "discoverOnly": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

One row per scraped record, stored in the run's default dataset.

# 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 = {
    "sites": [
        "techcrunch.com",
        "arstechnica.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("xtracto/feed-discovery").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 = { "sites": [
        "techcrunch.com",
        "arstechnica.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("xtracto/feed-discovery").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 '{
  "sites": [
    "techcrunch.com",
    "arstechnica.com"
  ]
}' |
apify call xtracto/feed-discovery --silent --output-dataset

```

## MCP server setup

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

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/zcfc427BwwHPrtYug/builds/AIQ1IenafddkSm0ec/openapi.json
