# Cnbc Rss Scraper (`bigibyte/cnbc-rss-scraper`) Actor

Collect business headlines, summaries, links, story IDs, and publish dates from CNBC news feeds with keyword and recency filters. Set your limit, run on demand or on a schedule, and download clean results as JSON, CSV, or Excel

- **URL**: https://apify.com/bigibyte/cnbc-rss-scraper.md
- **Developed by:** [BigiByte](https://apify.com/bigibyte) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

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

## CNBC RSS Scraper

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

Collect the latest business and financial news headlines from CNBC's RSS feeds. Filter stories by keyword or publication age, control the number of results, and export structured news data in JSON, CSV, Excel, and other formats.

### What This Actor Does

CNBC RSS Scraper collects publicly available news items from CNBC's RSS feeds and saves each story as a separate dataset record.

It extracts article headlines, summaries, links, feed identifiers, story metadata, sponsored status, and publication dates. You can choose between the main feed and a section feed, provide custom feed URLs, and filter results to focus on the news that matters to your research.

### Key Features

- **Multiple RSS feeds:** Collect news from CNBC's main and section feeds.
- **Custom feed URLs:** Provide your own compatible CNBC RSS feed URLs.
- **Keyword filtering:** Keep stories matching any of your specified keywords.
- **Publication age filtering:** Exclude articles older than a specified number of hours.
- **Flexible result limits:** Control how many records are saved per run.
- **Structured news data:** Extract headlines, summaries, story identifiers, and publication details.
- **Automatic retries:** Retry temporary request failures before recording an error.

### Available Feed Modes

| Mode | Description |
|---|---|
| `feed` | Collects articles from CNBC's main RSS feed. |
| `section_feed` | Collects articles from CNBC's section RSS feed. |

### Input Configuration

#### Main Feed Example

```json
{
  "mode": "feed",
  "maxItems": 50,
  "requestDelayMs": 500
}
```

#### Section Feed Example

```json
{
  "mode": "section_feed",
  "feedUrls": [
    "https://www.cnbc.com/id/10001147/device/rss/rss.html"
  ],
  "maxItems": 25,
  "keywords": ["retail", "oil"]
}
```

#### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `mode` | String | `feed` | Selects `feed` or `section_feed`. |
| `feedUrls` | Array | Mode-specific feeds | Optional list of RSS feed URLs. |
| `keywords` | Array | `[]` | Keeps items whose titles or descriptions contain at least one keyword. |
| `sinceHours` | Integer | None | Excludes items older than the specified number of hours. |
| `maxItems` | Integer | `100` | Maximum number of records to save. Hard limit: 1,000. |
| `userAgent` | String | `ActorResearch/1.0` | User-Agent used for requests. |
| `requestDelayMs` | Integer | `500` | Delay between feed requests. |
| `timeoutSecs` | Integer | `300` | Overall run time limit. |
| `requestTimeoutSecs` | Integer | `30` | Maximum time allowed for an individual request. |
| `proxyConfiguration` | Object | Disabled | Optional proxy configuration. Usually unnecessary for standard runs. |

### Output Data

Each successful record represents one CNBC RSS feed item.

#### Available Output Fields

| Field | Description |
|---|---|
| `link` | Original CNBC article URL. |
| `guid` | RSS feed item identifier. |
| `itemType` | Content metadata type, such as `cnbcnewsstory`. |
| `itemId` | CNBC story identifier and primary deduplication key. |
| `sponsored` | Sponsored content flag supplied by the feed. |
| `itemTitle` | Article headline with HTML entities decoded. |
| `itemDescription` | Article summary or description. |
| `pubDate` | Article publication date from the RSS feed. |
| `scraped_at` | Timestamp when the record was collected. |
| `error` | Indicates whether the record represents an error. |

#### Example Output

```json
{
  "link": "https://www.cnbc.com/2026/10/12/oil-prics-today-iran-us-saudi-arabia-crude-.html",
  "guid": "108395911",
  "itemType": "cnbcnewsstory",
  "itemId": "108395911",
  "sponsored": "false",
  "itemTitle": "Oil falls after Trump declares 'energy ceasefire' between Russia and Ukraine",
  "itemDescription": "Ukrainian President Volodymyr Zelenskyy said in a post on social media that \"Ukraine supports the ceasefire, and it is important that Rus...",
  "pubDate": "Mon, 12 Oct 2026 04:21:21 GMT",
  "scraped_at": "2026-10-26T00:00:00+00:00",
  "error": false
}
```

### Use Cases

- **Business News Monitoring:** Collect the latest CNBC headlines for business intelligence dashboards and reports.
- **Keyword Watchlists:** Track news mentioning specific companies, industries, market sectors, or financial topics.
- **Financial Research:** Organize recent business and economic news for research and analysis.
- **News Archives:** Schedule regular runs to build your own collection of news records over time.
- **Automated Alerts:** Send matching news stories to notification systems or team workflows.
- **Data Integration:** Export structured records for spreadsheets, databases, and analytics pipelines.

### How to Use

1. Open the actor and configure the input settings.
2. Choose the main feed or section feed.
3. Add custom RSS URLs if needed.
4. Enter keywords or a publication age filter to narrow the results.
5. Set `maxItems` to control the number of records.
6. Start the actor and review the collected dataset.
7. Export your results in JSON, CSV, Excel, or another supported format.

### Usage and Limits

- The default `maxItems` value is 100.
- Each RSS feed provides its latest available items; the source does not support historical pagination through this actor.
- The number of records available depends on the selected feed and its current content.
- Schedule regular runs if you want to build a longer-term news archive.
- Keyword filtering checks article titles and descriptions.
- If a feed request still fails, the actor saves an error record containing the available error details and continues processing..
- Article text, images, and other published materials may be protected by copyright.

### Frequently Asked Questions

**1. Which CNBC feeds are supported?**

The actor includes a main news feed and a section feed. You can also provide other compatible CNBC RSS URLs through `feedUrls`.

**2. Can I collect news about specific companies or topics?**

Yes. Add your preferred terms to the `keywords` array. The actor keeps items whose titles or descriptions contain at least one supplied keyword.

**3. Can I filter articles by publication time?**

Yes. Use `sinceHours` to exclude articles older than the specified number of hours.

**4. What export formats are available?**

You can export collected records in JSON, CSV, Excel, and other formats supported by Apify.

### Related Tools

Explore other BigiByte tools for collecting and organizing publicly available information:

- **The Hindu RSS Scraper** – Collect news headlines and summaries from The Hindu's RSS feeds.
- **BleepingComputer News Scraper** – Collect security news headlines from RSS feeds.
- **Discourse Forum Scraper** – Gather topics from public discussion forums.

BigiByte builds custom web scrapers, data extraction tools, and automation solutions to help businesses collect and organize the information they need.

Visit [BigiByte](https://bigibyte.com) to explore our services.

### Trademark Notice

CNBC and its related names, logos, and trademarks belong to their respective owners. They are used in this documentation only to identify the original news source. This actor is not affiliated with, sponsored by, or endorsed by CNBC or its owners.

### Disclaimer

This is an independent data collection tool developed by BigiByte. It is not officially associated with CNBC or its owners. The actor collects information made available through public RSS feeds. Users are responsible for reviewing applicable content rights, publisher terms, and licensing requirements before using or redistributing collected information.

### Is Web Scraping Legal?

This actor extracts publicly accessible information without bypassing login screens, paywalls, or technical security layers. While collecting public web data is widely permitted, compliance depends on how data is gathered and used:

- **Personal data:** If collected information includes personal details, privacy laws such as GDPR and CCPA may apply. Ensure you have a lawful basis for processing personal information.
- **Copyrighted content:** News articles, images, and other published materials may be protected by copyright. Obtain the necessary permission before republishing or commercially distributing protected content.
- **Platform terms and rate limits:** Respect CNBC's RSS terms, licensing conditions, attribution requirements, and reasonable request limits.

This information is provided for general informational purposes only and does not constitute legal advice.

For more information, read Apify's guide: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

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

What to collect. Main feed is the primary CNBC RSS. Section feed uses the same XML shape on another channel id.

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

RSS URLs to read. Leave empty to use the mode default. Defaults cover the verified main and section feeds.

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

Only keep items whose title or description contains any keyword (case-insensitive).

## `sinceHours` (type: `integer`):

Drop items older than N hours. Leave empty to keep all ages.

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

Stop after this many rows. Hard max is 1000.

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

Sent with every request. Put your contact if the source asks for one.

## `requestDelayMs` (type: `integer`):

Polite pacing between feed requests.

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

Overall run budget in seconds.

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

Per-request timeout in seconds.

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

Optional proxy. Leave off unless you need it. CNBC RSS works without a proxy.

## Actor input object example

```json
{
  "mode": "feed",
  "feedUrls": [
    "https://www.cnbc.com/id/100003114/device/rss/rss.html"
  ],
  "keywords": [],
  "maxItems": 100,
  "userAgent": "ActorResearch/1.0",
  "requestDelayMs": 500,
  "timeoutSecs": 300,
  "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 = {
    "mode": "feed",
    "feedUrls": [
        "https://www.cnbc.com/id/100003114/device/rss/rss.html"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bigibyte/cnbc-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 = {
    "mode": "feed",
    "feedUrls": ["https://www.cnbc.com/id/100003114/device/rss/rss.html"],
}

# Run the Actor and wait for it to finish
run = client.actor("bigibyte/cnbc-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 '{
  "mode": "feed",
  "feedUrls": [
    "https://www.cnbc.com/id/100003114/device/rss/rss.html"
  ]
}' |
apify call bigibyte/cnbc-rss-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bigibyte/cnbc-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/pcyOKq4id1VfgYWR8/builds/mkPknimhHGdlOWBHz/openapi.json
