CNN News API

CNN (Cable News Network) is one of the world's leading news organizations, providing 24-hour news coverage across politics, business, entertainment, health, and world affairs.

With the World News API you can programmatically access news articles from CNN (cnn.com). On average, over 200 articles per day are indexed from this source.

The source is based in United States and publishes primarily in the language code en. For every API endpoint that supports the news-sources parameter, use https://www.cnn.com to retrieve news exclusively from CNN.

Historically, you can search news from CNN starting January 1st, 2022.



API Examples for CNN News

Here are some examples showing how to search news, filter by category, and retrieve specific articles from CNN. Be sure to check out the in-depth documentation as each API offers many different parameters to explore.

Search latest news from CNN
news-sources=https://www.cnn.com
GET
https://api.worldnewsapi.com/search-news?news-sources=https://www.cnn.com
See the full documentation of how to search news.
Search CNN news about a specific topic
news-sources=https://www.cnn.com text=technology
GET
https://api.worldnewsapi.com/search-news?news-sources=https://www.cnn.com&text=technology
See the full documentation of how to search news by keyword.
Get CNN news in the politics category
news-sources=https://www.cnn.com categories=politics
GET
https://api.worldnewsapi.com/search-news?news-sources=https://www.cnn.com&categories=politics
See the full documentation of how to search news by category.
Get CNN news with sentiment analysis
news-sources=https://www.cnn.com
GET
https://api.worldnewsapi.com/search-news?news-sources=https://www.cnn.com

Each article in the response includes a sentiment score ranging from -1 (very negative) to 1 (very positive), enabling sentiment analysis of CNN's coverage.

See the full documentation of how to search news.


Frequently Asked Questions about CNN News API

How do I get news articles from CNN via API?

Use the Search News endpoint with the parameter news-sources=https://www.cnn.com. This returns only articles published by CNN. You can further filter by keyword, category, date range, and more.

How many articles does World News API index from CNN daily?

World News API indexes over 200 articles per day from CNN. Coverage includes all major sections and categories published on cnn.com.

Can I search historical articles from CNN?

Yes, World News API stores articles from CNN starting from January 1st, 2022. Use the earliest-publish-date and latest-publish-date parameters in the Search News endpoint to query historical articles.

Can I combine CNN with other news sources in one API call?

Yes, the news-sources parameter accepts a comma-separated list of source URLs. For example, you can retrieve news from CNN and other outlets in a single request.

Is there a free plan to access CNN news?

Yes! World News API offers a free plan with 50 daily API points — enough to start building and testing with CNN news data. Sign up for a free API key to get started. Paid plans start at $39/month for higher volume needs.

Looking for a different news source? Select from the list below or browse all media outlets.