CNBC API for articles
Send any CNBC page URL with recipe=cnbc and get headline, published, section and 5 more fields as JSON. No selectors to write, no proxies to pick.
- 1 page type
- 8 fields
- 5 credits a page · $0.50 per 1,000
- Working · 100% in 7 days
5,000 free credits for 7 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.cnbc.com/2025/08/21/wealthy-investors-etfs-capital-gains-taxes-.html' \
--data-urlencode 'recipe=cnbc'
{
"result": {
"article": {
"headline": "How wealthy investors use ETFs to skirt capit...",
"published": "2025-08-21T18:22:00+0000",
"section": "Investing",
"modified": "2025-08-21T21:06:58+0000"
}
},
"success": true
}
Is there an official CNBC API?
No official API
No. CNBC publishes RSS feeds and licenses content through its licensing team, but offers no public data API.
Source: cnbc.com on cnbc.com, checked November 6, 2026.
How to get CNBC data as JSON today
- Get a free API key: 5,000 free credits for 7 days, no card.
- Send any CNBC page URL with
recipe=cnbcto the Scrape API (the call). - Get 8 fields as JSON, 5 credits a page, billed only when the call succeeds.
Ujeebu's CNBC recipe returns headline, published, section and 5 more fields from any public CNBC page as JSON: send the URL with recipe=cnbc to the Scrape API, 5 credits a page, no CNBC account or partner approval needed.
What you get from CNBC
The fields of each page type and a real sample from our last validation, shortened.
Articles recipe=cnbc 5 credits a page
| Field | Type | Example |
|---|---|---|
article.description | text | Wealthy investors avoid capital gains taxes by using a 351 conversi... |
article.headline | text | How wealthy investors use ETFs to skirt capital gains taxes. The st... |
article.image | image URL | https://image.cnbcfm.com/api/v1/image/103678113-GettyImages-8575236... |
article.modified | date | 2025-08-21T21:06:58+0000 |
article.published | date | 2025-08-21T18:22:00+0000 |
article.publisher | text | CNBC |
article.section | text | Investing |
url | URL | https://www.cnbc.com/2025/08/21/wealthy-investors-etfs-capital-gain... |
Sample answer, validated 2026-11-12
{
"article": {
"description": "Wealthy investors avoid capital gains taxes by using a 351 conversion to transfer profitable assets to an ETF. Here's how the strategy works.",
"headline": "How wealthy investors use ETFs to skirt capital gains taxes. The strategy is 'like magic,' advisor says",
"image": "https://image.cnbcfm.com/api/v1/image/103678113-GettyImages-85752369.jpg?v=1755607553&w=1200&h=675",
"modified": "2025-08-21T21:06:58+0000",
"published": "2025-08-21T18:22:00+0000",
"publisher": "CNBC",
"section": "Investing"
},
"url": "https://www.cnbc.com/2025/08/21/wealthy-investors-etfs-capital-gains-taxes-.html"
}
One call
Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on CNBC (JavaScript rendering).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.cnbc.com/2025/08/21/wealthy-investors-etfs-capital-gains-taxes-.html' \
--data-urlencode 'recipe=cnbc'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://www.cnbc.com/2025/08/21/wealthy-investors-etfs-capital-gains-taxes-.html", "recipe": "cnbc"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
article = r.json()["result"]["article"]
print(article["headline"], article["published"], article["section"], article["modified"])
# Example output: How wealthy investors use ETFs to ski... 2025-08-21T18:22:00+0000 Investing 2025-08-21T21:06:58+0000
const params = new URLSearchParams({
url: "https://www.cnbc.com/2025/08/21/wealthy-investors-etfs-capital-gains-taxes-.html",
recipe: "cnbc",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
const article = result.article;
console.log(article.headline, article.published, article.section, article.modified);
// Example output: How wealthy investors use ETFs to ski... 2025-08-21T18:22:00+0000 Investing 2025-08-21T21:06:58+0000
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.
What people build with CNBC data
Media monitoring
Track the articles published on the topics and companies you follow.
Learn moreContent for AI and RAG
Collect headlines, dates and summaries as structured input for search and LLM pipelines.
Learn morePublishing timeline
Measure when and how often a site publishes, by section.
Price
Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
| Page type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Article | 5 | $0.82 | $0.50 |
FAQ
Is there a CNBC API?
No. CNBC publishes RSS feeds and licenses content through its licensing team, but offers no public data API. Ujeebu's CNBC recipe returns headline, published, section and 5 more fields from any public CNBC page as JSON: send the URL with recipe=cnbc to the Scrape API, 5 credits a page, no CNBC account or partner approval needed.
Does CNBC have a public API?
No. CNBC publishes RSS feeds and licenses content through its licensing team, but offers no public data API. The public pages are the way in: Ujeebu's CNBC recipe returns headline, published, section and 5 more fields from any public CNBC page as JSON: send the URL with recipe=cnbc to the Scrape API, 5 credits a page, no CNBC account or partner approval needed.
What does the CNBC recipe return?
JSON with 8 fields from article (recipe=cnbc), for example headline, published, section, modified, description. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape CNBC?
5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
Do I need proxies or a headless browser?
No. The recipe brings the settings that work on CNBC: JavaScript rendering. Send only the URL and recipe=cnbc.
What happens when CNBC changes its pages?
We check CNBC every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.
Can I change the fields?
Yes. Send your own extract_rules or any setting (js, proxy_type, wait_for) and it wins over the recipe. The developer guide shows the recipe rules to start from.
Related recipes
- SubstackArticle · 5 credits
Yahoo FinancePage · 5 credits
Yahoo NewsSearch results, Article · 5 credits
AFP Fact CheckArticle · 5 credits
Al JazeeraArticle · 5 credits
Ars TechnicaSearch results, Article · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with CNBC.
Get CNBC data as JSON today.
5,000 free credits for 7 days. No card.