# CNBC News & Pro Articles Scraper (`kibaale/cnbc-scraper`) Actor

Scrape CNBC news and CNBC Pro articles into structured records: headline, authors, section, tags, ticker symbols, dates and the full article body. Give it article URLs or section names (technology, markets, economy...) — ideal for news monitoring, research and AI pipelines.

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

## Pricing

from $1.30 / 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 News & Pro Articles Scraper

Scrape CNBC articles into clean, structured records — headline, summary, authors, section, tags, ticker symbols, dates, key points and the full article body.

### What you get

One record per article:

| Field | Description |
|---|---|
| `url`, `id` | Article URL and CNBC's article id |
| `headline`, `shortHeadline`, `description`, `deck`, `summary` | Titles and summaries |
| `authors` | Author names with job titles, profile URLs and photos |
| `section`, `sectionHierarchy` | Section (e.g. Technology) and its breadcrumb |
| `tags` | Topic and entity tags (people, companies, themes) |
| `tickerSymbols` | Stocks mentioned, with `category` = `Primary` or `Mentioned` |
| `datePublished`, `dateLastPublished` | ISO 8601 timestamps |
| `timeToReadMinutes` | CNBC's own reading-time estimate |
| `premium` | `true` for CNBC Pro articles |
| `keyPoints` | Bullet summary when the article has one |
| `body` | Article text as paragraphs |
| `bodyText` | The same text as one string |
| `wordCount`, `promoImage`, `scrapedAt` | Word count, lead image, scrape timestamp |

CNBC Pro articles are returned with their full text. For Pro articles the body comes through as a single text block (`bodyText`, one entry in `body`), because the page does not expose paragraph breaks for gated stories.

### How to use

**Specific articles** — paste article URLs into *Article URLs*.

**Whole sections** — put section names into *Sections*, e.g. `technology`, `markets`, `economy`, `politics`, `world-markets`. The actor takes the latest articles first and collects up to *Max articles per section*.

**Latest news** — run with no input at all and you get the newest articles from CNBC's news sitemap.

### Example output

```json
{
  "url": "https://www.cnbc.com/2026/09/11/europe-first-trillion-dollar-company.html",
  "id": 108361733,
  "premium": true,
  "headline": "Europe is still waiting for a trillion-dollar company. Here's PitchBook's frontrunner",
  "authors": [{"name": "Jenni Reid", "jobTitle": "Reporter", "url": "https://www.cnbc.com/jenni-reid/"}],
  "section": {"name": "Technology", "eyebrow": "Tech", "url": "https://www.cnbc.com/technology/"},
  "tickerSymbols": [{"symbol": "ASML", "name": "ASML Holding NV", "category": "Primary"}],
  "datePublished": "2026-09-11T14:03:44+00:00",
  "timeToReadMinutes": 3,
  "body": ["As the U.S. tech giants scale eye-watering $5 trillion valuations, ..."],
  "wordCount": 483
}
```

### Pricing

Pay per article scraped — charged per record in the dataset. Metadata-only runs (`Include full article text` off) cost the same per record.

# Actor input Schema

## `articleUrls` (type: `array`):

Specific CNBC article URLs to scrape, e.g. https://www.cnbc.com/2026/09/11/europe-first-trillion-dollar-company.html

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

CNBC sections to scrape (latest articles first), e.g. technology, markets, economy, politics, world-markets. Combine with maxArticlesPerSection.

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

How many article URLs to collect from each section before scraping them.

## `includeBody` (type: `boolean`):

Include the article body (paragraphs) and bodyText. Turn off for a lighter, metadata-only dataset.

## `maxArticles` (type: `integer`):

Overall cap on records for the run.

## Actor input object example

```json
{
  "articleUrls": [
    "https://www.cnbc.com/2026/09/11/europe-first-trillion-dollar-company.html"
  ],
  "sections": [],
  "maxArticlesPerSection": 20,
  "includeBody": true,
  "maxArticles": 50
}
```

# Actor output Schema

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

Article records 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 = {
    "articleUrls": [
        "https://www.cnbc.com/2026/09/11/europe-first-trillion-dollar-company.html"
    ],
    "sections": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("kibaale/cnbc-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 = {
    "articleUrls": ["https://www.cnbc.com/2026/09/11/europe-first-trillion-dollar-company.html"],
    "sections": [],
}

# Run the Actor and wait for it to finish
run = client.actor("kibaale/cnbc-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 '{
  "articleUrls": [
    "https://www.cnbc.com/2026/09/11/europe-first-trillion-dollar-company.html"
  ],
  "sections": []
}' |
apify call kibaale/cnbc-scraper --silent --output-dataset

```

## MCP server setup

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