CNBC API: List headlines
Lists CNBC article headlines in the order they appear on a public news section page, with summary, time, authors and image.
Unofficial. Not affiliated with or endorsed by CNBC.
Inputs
Values from the run on Oct 31, 2026, shown under Output.
- Section optional
section News section to read, for example tech.
politics
One of
top stories,markets,business,investing,tech,politics,personal finance,economy. Defaulttop stories.- Max Results optional
max_results Maximum stories to return, for example 20.
50
Whole number from 1 to 50. Default
20.
Input as JSON
{ "section": "politics", "max_results": 50}Output
{ "stories": [ { "authors": [ "Garrett Downs" ], "section": "politics", "summary": null, "headline": "Khanna to introduce AI safety bill with ban on 'recursive' technology until safeguards exist", "image_link": "https://image.cnbcfm.com/api/v1/image/108368847-1790610558721-gettyimages-2292801324-khanna_178_090326.jpeg?v=1790610581" , "article_link": "https://www.cnbc.com/2026/09/28/khanna-ai-safety-bill.html" , "published_at": "2026-09-28T21:43:40+00:00" }, { "authors": [ "Dan Mangan" ], "section": "politics", "summary": null, "headline": "Supreme Court Justice Alito won't participate in big climate change case next week", "image_link": "https://image.cnbcfm.com/api/v1/image/108328727-1782831495932-108328727-1782831415459-gettyimages-2278340792-supreme_court_2206.jpg?v=1782831504" , "article_link": "https://www.cnbc.com/2026/09/28/supreme-court-justice-alito-recusal-climate-change-case.html" , "published_at": "2026-09-28T18:58:47+00:00" }, { "authors": [ "Dan Mangan" ], "section": "politics", "summary": null, "headline": "Feds can't withhold counterterrorism funds to force election admin changes: Judge", "image_link": "https://image.cnbcfm.com/api/v1/image/108315203-1780408967315-gettyimages-2278723586-sm1_5165.jpeg?v=1780409020" , "article_link": "https://www.cnbc.com/2026/09/28/elections-dhs-counterterrorism.html" , "published_at": "2026-09-28T18:41:51+00:00" } ]}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"cnbc.com/list_headlines","input":{"section":"politics","max_results":50}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "cnbc.com/list_headlines" , "input": { "section": "politics", "max_results": 50 }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "cnbc.com/list_headlines" , "input": { "section": "politics", "max_results": 50 } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run cnbc.com/list_headlines# with {"section":"politics","max_results":50}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "properties": { "section": { "enum": [ "top stories", "markets", "business", "investing", "tech", "politics", "personal finance", "economy" ], "type": "string", "default": "top stories", "description": "News section to read, for example tech." }, "max_results": { "type": "integer", "default": 20, "maximum": 50, "minimum": 1, "description": "Maximum stories to return, for example 20." } }}Output schema
{ "type": "object", "required": [ "stories" ], "properties": { "stories": { "type": "array", "items": { "type": "object", "required": [ "headline", "summary", "published_at", "authors", "section", "image_link", "article_link" ], "properties": { "authors": { "type": "array", "items": { "type": "string" } }, "section": { "type": "string" }, "summary": { "type": [ "string", "null" ] }, "headline": { "type": "string" }, "image_link": { "type": [ "string", "null" ] }, "article_link": { "type": "string" }, "published_at": { "type": [ "string", "null" ], "description": "Publication date and time in ISO 8601 with offset." } } }, "description": "CNBC stories in the order shown on the section page." } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
cnbc.com/list_headlines- Returns
- headline, summary, published time, authors, section, image link, article link
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method cnbc.com/list_headlines with the inputs above.
Ask your agent
- What are the latest headlines on CNBC's tech page right now? Give me the top 10 with summaries and authors.
- Pull the current markets news stories from CNBC, up to 25, including publish times and links.
- Show me today's top business news headlines with a short summary and who wrote each one.
- I need the 5 most recent personal finance articles, with image links and article URLs, for a newsletter roundup.
- List the economy news stories currently featured, max 40, with section, timestamp, and byline for each.
See more
All CNBC methodsSearches CNBC-published articles by keyword, with optional publication date range, sort order and pagination. Excludes videos, wire stories and press releases.
cnbc.com/search_newsReturns CNBC levels and changes for major stock indexes and U.S. futures, optionally by region. Quote times and market-status labels are null when CNBC does not show them; quotes may be delayed.
cnbc.com/get_market_snapshotLists the headlines shown in a Wall Street Journal news section (top stories, business, markets, tech, economy, world, politics or personal finance) with summaries, bylines, dates, images and story links.
wsj.com/list_headlinesLists the latest TechCrunch story headlines in a section, in page order. Skips video, podcast and event promotion cards.
techcrunch.com/list_headlinesLists CNN headlines in the order shown on a chosen news section page (top stories, US, world, politics, business, health, entertainment or science), with each story's summary, publication time, authors and image when available. Promotions and video-only items are left out.
cnn.com/list_headlinesLists Fox News article headlines in the order shown on a news section page. Video-only items, ads and promotions are left out.
foxnews.com/list_headlinesLists the headlines on an NPR section page in page order, with summaries, publication times, authors, images and article links.
npr.org/list_headlinesLists the article headlines shown on a BBC News section page, in page order, with summary, publish time, authors, image and link.
bbc.com/list_headlines