# Fox News Rss Scraper (`real-estate-api/fox-news-rss-scraper`) Actor

Fox News RSS Scraper is a Python tool to extract article headlines, publication dates, category tags, author names, and story links from Fox News RSS feeds. It exports structured news content datasets into clean CSV or JSON format

- **URL**: https://apify.com/real-estate-api/fox-news-rss-scraper.md
- **Developed by:** [real-estate-api](https://apify.com/real-estate-api) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

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

### Fox News RSS Scraper - Latest News Headlines and Feed Data

![Fox News RSS Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/fox-news-rss-scraper-cover.png)

Collect publicly available Fox News RSS feed items and organize them into a structured dataset. Retrieve the latest feed or provide your own feed URLs, filter results by keyword, and choose how many items to collect. Export your results as JSON, CSV, Excel, and other supported dataset formats.

### Overview

This actor reads RSS feed items and creates one dataset record per item. It extracts headlines, summaries, article links, content, categories, and publication dates.

The default feed is the Fox News latest RSS feed. You can also provide custom feed URLs. Results are deduplicated by article link and limited by the `maxItems` setting.

### Features

- Collect the latest Fox News RSS feed items.
- Support custom RSS feed URLs.
- Filter items by keyword.
- Set a maximum number of items per run.
- Extract headlines, summaries, article links, and publication dates.
- Remove HTML markup from summaries.
- Preserve encoded article content when available.
- Avoid duplicate records using article links.
- Export structured results in JSON, CSV, Excel, and other supported formats.

### Collection Mode

**Latest Feed Items**

Collects RSS items from the supplied feed URLs and saves each item as a separate dataset record until the configured item limit is reached.

### Input Parameters

| Parameter | Type | Description |
|---|---|---|
| `mode` | String | Collection mode. Use `feed`. |
| `feedUrls` | Array | RSS feed URLs to collect. |
| `keyword` | String | Optional keyword filter for headlines and summaries. Leave empty to collect all matching feed items. |
| `maxItems` | Integer | Maximum number of items to collect. |
| `requestDelaySecs` | Number | Delay between feed requests in seconds. |

### Example Input

```json
{
  "mode": "feed",
  "feedUrls": [
    "https://moxie.foxnews.com/google-publisher/latest.xml"
  ],
  "keyword": "",
  "maxItems": 50,
  "requestDelaySecs": 1
}
```

### What Data Does This Actor Extract?

| Field | Description |
|---|---|
| `link` | Article URL. |
| `guid` | RSS item identifier. |
| `itemTitle` | Article headline. |
| `summary` | Article summary with HTML markup removed. |
| `encoded` | Encoded article content when available. |
| `content` | Associated content URL or media content when available. |
| `category` | RSS category values. |
| `pubDate` | Article publication date. |
| `scraped_at` | Date and time when the item was collected. |

**Note:** Some RSS fields may be missing depending on the feed item.

### Example Output

```json
{
  "link": "https://www.foxnews.com/outkick-sports/backup-quarterback-tyler-huntley-leads-baltimore-ravens-improbable-ot-win-atlanta-falcons",
  "guid": "https://www.foxnews.com/outkick-sports/backup-quarterback-tyler-huntley-leads-baltimore-ravens-improbable-ot-win-atlanta-falcons",
  "itemTitle": "Backup quarterback Tyler Huntley leads Baltimore Ravens to improbable OT win over Atlanta Falcons",
  "summary": "Tyler Huntley scored three touchdowns to rally the Baltimore Ravens past the Atlanta Falcons 30-23 in a dramatic overtime game.",
  "encoded": "You would have been forgiven if you had turned this game off sometime around the middle of the second quarter.",
  "content": "https://a57.foxnews.com/static.foxnews.com/foxnews.com/content/uploads/2026/10/931/523/tyler-huntley-baltimore-ravens-pass-fox-news_.jpg",
  "category": [
    "6ef79f16-64fe-55d4-b9e4-e4a62b3d67a2",
    "fnc"
  ],
  "pubDate": "Mon, 12 Oct 2026 00:22:48 -0400",
  "scraped_at": "2026-10-26T00:00:00+00:00"
}
```

### Use Cases

- **News Monitoring:** Collect the latest headlines for research and monitoring.
- **Keyword Tracking:** Find articles related to specific topics or keywords.
- **News Archiving:** Store RSS feed items in spreadsheets for future reference.
- **Content Research:** Analyze headlines, summaries, categories, and publication dates.
- **Data Pipelines:** Use structured news records in your own dashboards, reports, and automation workflows.

### Working with Your Dataset

After the actor finishes running:

1. Open the actor's **Dataset** tab.
2. Review the collected RSS items.
3. Export the results as JSON, CSV, Excel, or another supported format.
4. Use the exported records for research, monitoring, or your own data workflows.

### FAQ

**Who is this actor for?**

It is useful for researchers, analysts, marketers, and developers who want Fox News RSS items in a structured dataset.

**Can I use my own RSS feeds?**

Yes. Provide your feed URLs through the `feedUrls` input.

**Can I filter articles by keyword?**

Yes. Set the `keyword` parameter to filter items by matching headline or summary content.

**How many items can it collect per run?**

The maximum supported collection size is 1,000 items per run. Use `maxItems` to choose a smaller limit.

**Can I schedule automatic collections?**

Yes. You can configure an Apify Schedule to run the actor automatically at your preferred interval.

**What happens if a feed cannot be collected?**

A failed feed may not return items. The actor can continue processing other supplied feeds.

### Disclaimer

This actor is an independent tool and is not affiliated with, endorsed by, sponsored by, or officially associated with Fox News or its owners. It collects publicly available RSS feed information. Users are responsible for how they use, store, and redistribute collected data.

### Is Web Scraping Legal?

Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same thing as republishing someone's article or photo.

This actor collects information from public pages. It does not log in and it does not bypass access controls.

For a longer explanation, see Apify's article [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to scrape. 'Feed + Sitemap' loads the RSS feed first, then fills the rest from the sitemap(s) up to Max items. The RSS feed alone only carries ~25 recent items, so use 'both' or 'sitemap' to collect more.

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

RSS feed URLs. Leave empty to use the default Fox News latest feed.

## `sitemapUrls` (type: `array`):

Sitemap or sitemap-index URLs crawled to find article pages. Used in 'sitemap' and 'both' modes. Leave empty to use the default Fox News sitemaps.

## `useSitemap` (type: `boolean`):

When on, the sitemap is crawled to collect more articles beyond the RSS feed. Turn off to use the RSS feed only.

## `maxSitemaps` (type: `integer`):

Maximum number of sitemap files (including nested sitemap-index children) to fetch while discovering articles.

## `concurrency` (type: `integer`):

How many article pages to fetch in parallel when collecting sitemap articles.

## `keyword` (type: `string`):

Keep only items whose title or summary contain this text (case-insensitive).

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

Stop after this many successful rows. Hard max is 1000.

## `requestDelaySecs` (type: `number`):

Seconds to wait between requests.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

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

Overall run budget in seconds. Collecting many sitemap articles takes time, so raise this when requesting a high Max items.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

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

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "both",
  "feedUrls": [
    "https://moxie.foxnews.com/google-publisher/latest.xml"
  ],
  "sitemapUrls": [
    "https://www.foxnews.com/sitemap.xml?type=news",
    "https://www.foxnews.com/sitemap.xml"
  ],
  "useSitemap": true,
  "maxSitemaps": 50,
  "concurrency": 5,
  "keyword": "",
  "maxItems": 100,
  "requestDelaySecs": 1,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 600,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

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

Full dataset for this run.

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

Dataset items as JSON.

# 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://moxie.foxnews.com/google-publisher/latest.xml"
    ],
    "sitemapUrls": [
        "https://www.foxnews.com/sitemap.xml?type=news",
        "https://www.foxnews.com/sitemap.xml"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("real-estate-api/fox-news-rss-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://moxie.foxnews.com/google-publisher/latest.xml"],
    "sitemapUrls": [
        "https://www.foxnews.com/sitemap.xml?type=news",
        "https://www.foxnews.com/sitemap.xml",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("real-estate-api/fox-news-rss-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://moxie.foxnews.com/google-publisher/latest.xml"
  ],
  "sitemapUrls": [
    "https://www.foxnews.com/sitemap.xml?type=news",
    "https://www.foxnews.com/sitemap.xml"
  ]
}' |
apify call real-estate-api/fox-news-rss-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,real-estate-api/fox-news-rss-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/bLTuzYPQ0Hf8RSxfW/builds/o3at7qQMC1ifwEhOf/openapi.json
