CNN API for articles
Send any CNN page URL with recipe=cnn and get title, section, image and 3 more fields as JSON. No selectors to write, no proxies to pick.
- 1 page type
- 6 fields
- 5 credits a page · $0.50 per 1,000
- Working · 81% in 7 days
5,000 free credits for 21 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.cnn.com/2026/10/12/middleeast/israel-explosion-lebanon-border-intl' \
--data-urlencode 'recipe=cnn'
{
"result": {
"title": "One teen killed, others wounded, after explos...",
"section": "The Middle East"
},
"success": true
}
Is there an official CNN API?
Official API: approved partners only
Not an open one. CNN licenses video and wire text through sales and affiliate contracts, and offers no public developer API.
Source: CNN content sales on commercial.cnn.com, checked November 6, 2026.
How to get CNN data as JSON today
- Get a free API key: 5,000 free credits for 21 days, no card.
- Send any CNN page URL with
recipe=cnnto the Scrape API (the call). - Get 6 fields as JSON, 5 credits a page, billed only when the call succeeds.
Ujeebu's CNN recipe returns title, section, image and 3 more fields from any public CNN page as JSON: send the URL with recipe=cnn to the Scrape API, 5 credits a page, no CNN account or partner approval needed.
What you get from CNN
The fields of each page type and a real sample from our last validation, shortened.
Articles recipe=cnn 5 credits a page
| Field | Type | Example |
|---|---|---|
title | text | One teen killed, others wounded, after explosion on Israeli school... |
image | image URL | https://media.cnn.com/api/v1/images/stellar/prod/fd897909-4291-4fe8... |
url | URL | https://www.cnn.com/2026/10/12/middleeast/israel-explosion-lebanon-... |
headline | text | Explosion near Lebanon border on Israeli school trip leaves one dea... |
summary | text | One teenager was killed and others were wounded in an explosion dur... |
section | text | The Middle East |
Sample answer, validated 2026-11-22
{
"title": "One teen killed, others wounded, after explosion on Israeli school trip near Lebanon border",
"image": "https://media.cnn.com/api/v1/images/stellar/prod/fd897909-4291-4fe8-b058-dc31e3311279-1.jpg?c=16x9&q=w_800,c_fill",
"url": "https://www.cnn.com/2026/10/12/middleeast/israel-explosion-lebanon-border-intl",
"headline": "Explosion near Lebanon border on Israeli school trip leaves one dead, others wounded",
"summary": "One teenager was killed and others were wounded in an explosion during an Israeli school trip near the Lebanon border, according to Israeli emergency respons...",
"section": "The Middle East"
}
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 CNN (JavaScript rendering).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.cnn.com/2026/10/12/middleeast/israel-explosion-lebanon-border-intl' \
--data-urlencode 'recipe=cnn'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://www.cnn.com/2026/10/12/middleeast/israel-explosion-lebanon-border-intl", "recipe": "cnn"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
result = r.json()["result"]
print(result["title"], result["section"])
# Example output: One teen killed, others wounded, afte... The Middle East
const params = new URLSearchParams({
url: "https://www.cnn.com/2026/10/12/middleeast/israel-explosion-lebanon-border-intl",
recipe: "cnn",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
console.log(result.title, result.section);
// Example output: One teen killed, others wounded, afte... The Middle East
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.
What people build with CNN 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 CNN API?
Not an open one. CNN licenses video and wire text through sales and affiliate contracts, and offers no public developer API. Ujeebu's CNN recipe returns title, section, image and 3 more fields from any public CNN page as JSON: send the URL with recipe=cnn to the Scrape API, 5 credits a page, no CNN account or partner approval needed.
Does CNN have a public API?
Not an open one. CNN licenses video and wire text through sales and affiliate contracts, and offers no public developer API. The public pages are the way in: Ujeebu's CNN recipe returns title, section, image and 3 more fields from any public CNN page as JSON: send the URL with recipe=cnn to the Scrape API, 5 credits a page, no CNN account or partner approval needed.
What does the CNN recipe return?
JSON with 6 fields from article (recipe=cnn), for example title, section, image, url, headline. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape CNN?
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 CNN: JavaScript rendering. Send only the URL and recipe=cnn.
What happens when CNN changes its pages?
We check CNN 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, 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 CNN.
Get CNN data as JSON today.
5,000 free credits for 21 days. No card.