# CNBC Articles (`ryyos/cnbc-articles-scraper`) Actor

\[$2/1000] Crawl CNBC's Markets, Business, Technology, Politics and other sections and get full article detail: headline, author, publish/modified dates, section, keywords, every image URL, and complete body text. Reliable JSON-LD based extraction, no API key required.

- **URL**: https://apify.com/ryyos/cnbc-articles-scraper.md
- **Developed by:** [Rio Dwi Saputra](https://apify.com/ryyos) (community)
- **Categories:** News, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 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.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

CNBC Articles Scraper extracts full-detail news articles from [CNBC.com](https://www.cnbc.com), the leading global business and financial news brand. Point it at any combination of CNBC sections (Markets, Business, Technology, Politics, and more) and it returns every recent article with its headline, author byline, publish and update timestamps, section, keywords, every image, and the complete body text, not just a summary. Run it on demand, on a schedule, or wire it into your own pipeline through the Apify API - no CNBC account or API key required.

#### Why use CNBC Articles Scraper?

- **Market intelligence feeds** - track breaking market-moving stories the moment CNBC publishes them.
- **Media and brand monitoring** - watch how companies, executives, or sectors are being covered.
- **Research and archiving** - build a searchable, structured archive of financial news with full text, not just headlines.
- **AI and NLP pipelines** - feed clean, structured article text into summarization, sentiment, or trend-detection models.

Apify's infrastructure handles the scheduling, retries, and storage, so you get reliable results without managing servers or proxies yourself.

### How to use CNBC Articles Scraper

1. Click **Try for free** (or **Start**) on the Actor page.
2. In the **Input** tab, pick one or more sections to crawl (defaults to Markets, Business, and Technology).
3. Optionally adjust how many articles to pull per section and in total.
4. Click **Start** and watch results land in the **Output** tab as they're scraped.
5. Export the dataset as JSON, CSV, Excel, HTML, or connect it to another app via [Apify integrations](https://apify.com/integrations).

### Input

| Field | Type | Description |
| --- | --- | --- |
| `sections` | array (required) | CNBC sections to crawl: World, Business, Markets, Investing, Technology, Politics, Economy, Finance, Health & Science, Small Business, Make It, Real Estate, Energy, Retail, Media, Transportation. |
| `maxArticlesPerSection` | integer | Maximum articles to open per section per run. Default `20`. |
| `maxTotalArticles` | integer | Hard cap on total articles scraped across all sections. Default `100`. |

Example input:

```json
{
  "sections": ["markets", "technology"],
  "maxArticlesPerSection": 15,
  "maxTotalArticles": 50
}
```

See the **Input** tab in Apify Console for the full interactive form.

### Output

Each dataset item is one fully-scraped article. Example:

```json
{
  "url": "https://www.cnbc.com/2026/08/17/ferrari-luce-electric-car-autos.html",
  "headline": "Ferrari Luce: Polarizing EV becomes a $40 million collector's item",
  "description": "The auction of the Luce comes nearly three months after Ferrari unveiled its first fully electric car...",
  "section": "Markets",
  "crawledSection": "markets",
  "authors": [{ "name": "Sam Meredith", "url": "https://www.cnbc.com/sam-meredith/" }],
  "datePublished": "2026-08-17T06:40:29+0000",
  "dateModified": "2026-08-17T06:52:23+0000",
  "keywords": ["Autos", "Luxury", "Business", "Markets", "Ferrari NV"],
  "images": ["https://image.cnbcfm.com/api/v1/image/108311871-....jpeg"],
  "bodyText": "A personalized model of Ferrari's first fully electric vehicle has sold for $40 million..."
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

#### Data table

| Field | Description |
| --- | --- |
| `url` | Canonical article URL |
| `headline` | Article headline |
| `description` | Short summary/dek |
| `section` | CNBC's own editorial section tag |
| `crawledSection` | Which input section this article was discovered under |
| `authors` | Byline author name(s) and profile URL(s) |
| `datePublished` / `dateModified` | ISO 8601 timestamps |
| `keywords` | CNBC's own tags for the article |
| `images` | Every directly-downloadable image URL (hero + inline) |
| `bodyText` | Full article body text |

### How much does it cost to scrape CNBC data?

This Actor is priced at **$3 per 1,000 articles** scraped, well below typical general-purpose news scraper pricing on Apify Store, plus Apify's standard compute usage. A typical run pulling 100 full articles costs a small fraction of a dollar. Apify's free tier includes enough platform credit to try this Actor at no cost.

### Tips

- Start with a narrow `sections` list and a small `maxTotalArticles` to sanity-check output before scaling up.
- Schedule the Actor hourly or daily via [Apify Scheduler](https://docs.apify.com/platform/schedules) to build a continuously updating news archive.
- Combine with the companion **CNBC Keyword Search Scraper** Actor when you need to search CNBC's full archive by topic instead of browsing sections.

### FAQ and disclaimers

This Actor only extracts data that CNBC already publishes on public, unauthenticated pages. It does not bypass any paywall, login, or access control. Use it in compliance with CNBC's Terms of Service and applicable law in your jurisdiction. CNBC's page structure may change over time; if extraction quality drops, please open an issue on the Actor's Issues tab. Need a custom variant (different sections, additional fields, higher volume)? Reach out via the Issues tab or Apify's custom solutions program.

# Actor input Schema

## `sections` (type: `array`):

Pick one or more CNBC sections to crawl for the latest articles.

## `maxArticlesPerSection` (type: `integer`):

Maximum number of articles to open and scrape per section per run.

## `maxTotalArticles` (type: `integer`):

Hard cap on the total number of articles scraped across all sections in one run.

## Actor input object example

```json
{
  "sections": [
    "markets",
    "business",
    "technology"
  ],
  "maxArticlesPerSection": 20,
  "maxTotalArticles": 100
}
```

# Actor output Schema

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

No description

## `runInfo` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("ryyos/cnbc-articles-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("ryyos/cnbc-articles-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 '{}' |
apify call ryyos/cnbc-articles-scraper --silent --output-dataset

```

## MCP server setup

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