CNBC API: Search articles
Searches CNBC-published articles by keyword, with optional publication date range, sort order and pagination. Excludes videos, wire stories and press releases.
Unofficial. Not affiliated with or endorsed by CNBC.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Page optional
page Result page to return, such as 2.
3
Whole number 1 or more. Default
1.- Sort optional
sort Order articles by newest date or relevance, such as newest.
newest (default)
One of
newest,most_relevant.- Query, required
query Words to search for, such as Tesla.
Nvidia
- To Date optional
to_date Latest publication date (YYYY-MM-DD), inclusive, such as 2026-09-29. No limit if omitted.
Not set
- From Date optional
from_date Earliest publication date (YYYY-MM-DD), inclusive, such as 2026-09-01. No limit if omitted.
Not set
- Max Results optional
max_results Maximum articles per page, such as 20.
50
Whole number from 1 to 50. Default
20.
Input as JSON
{ "page": 3, "query": "Nvidia", "max_results": 50}Output
{ "articles": [ { "link": "https://www.cnbc.com/2026/09/30/after-trump-meeting-with-tech-leaders-ai-safety-in-more-chaotic-state.html" , "authors": [ "Ari Levy" ], "section": "Technology", "summary": "Following Trump's lunch with artificial intelligence leaders at the White House, the industry remains largely unchanged on AI safety.", "headline": "Trump's meeting with tech leaders leaves AI safety more unsettled than ever", "published_at": "2026-09-30T11:00:01+00:00" }, { "link": "https://www.cnbc.com/2026/09/30/openai-sued-cyberattack.html" , "authors": [ "Kai Nicol-Schwarz" ], "section": "Technology", "summary": "The lawsuit appears to be the first publicly reported case seeking to hold an AI developer liable for an incident caused by rogue systems.", "headline": "OpenAI is sued over rogue AI Hugging Face cyberattack", "published_at": "2026-09-30T10:15:49+00:00" }, { "link": "https://www.cnbc.com/2026/09/30/ai-regulation-congress-antitrust.html" , "authors": [ "Garrett Downs" ], "section": "Politics", "summary": "Top AI executives have asked for narrow antitrust exemptions or waivers so they can collaborate on safety.", "headline": "AI's coming roadblock in regulation: Antitrust hawks", "published_at": "2026-09-30T10:00:01+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/search_news","input":{"page":3,"query":"Nvidia","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/search_news" , "input": { "page": 3, "query": "Nvidia", "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/search_news" , "input": { "page": 3, "query": "Nvidia", "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/search_news# with {"page":3,"query":"Nvidia","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", "required": [ "query" ], "properties": { "page": { "type": "integer", "default": 1, "minimum": 1, "description": "Result page to return, such as 2." }, "sort": { "enum": [ "newest", "most_relevant" ], "type": "string", "default": "newest", "description": "Order articles by newest date or relevance, such as newest." }, "query": { "type": "string", "minLength": 1, "description": "Words to search for, such as Tesla." }, "to_date": { "type": "string", "description": "Latest publication date (YYYY-MM-DD), inclusive, such as 2026-09-29. No limit if omitted." }, "from_date": { "type": "string", "description": "Earliest publication date (YYYY-MM-DD), inclusive, such as 2026-09-01. No limit if omitted." }, "max_results": { "type": "integer", "default": 20, "maximum": 50, "minimum": 1, "description": "Maximum articles per page, such as 20." } }}Output schema
{ "type": "object", "required": [ "articles" ], "properties": { "articles": { "type": "array", "items": { "type": "object", "required": [ "headline", "summary", "published_at", "authors", "section", "link" ], "properties": { "link": { "type": "string", "format": "uri" }, "authors": { "type": "array", "items": { "type": "string" } }, "section": { "type": [ "string", "null" ] }, "summary": { "type": [ "string", "null" ] }, "headline": { "type": "string" }, "published_at": { "type": "string", "format": "date-time" } }, "additionalProperties": false } } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
cnbc.com/search_news- Returns
- headline, summary, publication time, authors, section, 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/search_news with the inputs above.
Ask your agent
- Find CNBC articles about semiconductor tariffs published between 2025-03-01 and 2025-06-30, sorted by most relevant
- Show me the second page of newest CNBC stories mentioning Federal Reserve rate cuts
- Look up articles on electric vehicle battery supply chains from the last week of October 2025
- Search for news pieces about Nvidia earnings guidance, 20 per page, newest first
- Retrieve the most relevant write-ups on inflation expectations published before 2024-12-31
See more
All CNBC methodsLists CNBC article headlines in the order they appear on a public news section page, with summary, time, authors and image.
cnbc.com/list_headlinesReturns 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_snapshotSearches Fox News articles by keyword, with date filtering, ordering and pagination, over the first 100 matches.
foxnews.com/search_newsSearches public Wall Street Journal headlines and summaries by keyword, newest or most relevant first, optionally within publication dates; podcasts and live-coverage posts are left out.
wsj.com/search_newsFinds BBC News articles matching search words, newest first or by relevance, with publication time, authors, section and summary, optionally limited to a date range. Date filters and newest order apply to the first 180 search matches; older or less relevant matches may be missed.
bbc.com/search_newsSearches CNN articles by keyword, with optional publication date range, sort order and pagination.
cnn.com/search_newsSearches Reuters articles by keyword through Google News, with optional publication date range, order and page. Summaries and bylines are filled in when Reuters serves the article page.
reuters.com/search_newsSearches TechCrunch articles by keyword, with an optional publication date range and newest or most relevant order.
techcrunch.com/search_news