CNBC API endpoint
Returns current server-rendered CNBC headlines for one public editorial section, including title, article URL, and card metadata when available. Use /cnbc/categories to discover the supported section slugs.
/cnbc/headlinesReturns current CNBC article cards for one supported top-level editorial section.
Parameters:
section (required): one of the values returned by GET /api/v1/cnbc/categories: markets, pre-markets, us-markets, currencies, prediction-markets, cryptocurrency, futures-and-commodities, bonds, funds-and-etfs, business, economy, finance, health-and-science, media, real-estate, energy, climate, transportation, cnbc-investigations, industrials, retail, wealth, sports, life, small-business, investing, personal-finance, fintech, financial-advisors, options-action, etf-street, earnings, trader-talk, technology, cybersecurity, ai-artificial-intelligence, enterprise, internet, mobile, social-media, cnbc-disruptors, tech-guide, politics, white-house, policy, defense, congress, or expanding-opportunity.x-api-key (required)| Field | Filled in, of 43 checked | Values in the sample |
|---|---|---|
| title | 43 | median 73 characters |
| url | 43 | cnbc.com |
| image_url | 27 | image.cnbcfm.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| section | string | Yes | Public CNBC editorial section slug from /cnbc/categories | markets | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/cnbc/headlines?section=markets" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"section": "markets",
"items": [
{
"title": "Markets headline",
"url": "https://www.cnbc.com/2026/09/21/example.html"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/cnbc.headlinesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | cnbc.HeadlinesResponse | No | ||||
| data.items | array | No | ||||
| data.items[].description | string | No | ||||
| data.items[].image_url | string | No | ||||
| data.items[].published_at | string | No | ||||
| data.items[].title | string | No | ||||
| data.items[].url | string | No | ||||
| data.section | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/cnbc/headlines?section=markets" \
-H "x-api-key: $CRAWLORA_API_KEY"