AP News News API

The Associated Press is an independent global news agency delivering fast, unbiased journalism to thousands of media outlets worldwide.

With the World News API you can programmatically access news articles from AP News (apnews.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://apnews.com to retrieve news exclusively from AP News.

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



API Examples for AP News News

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

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

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

See the full documentation of how to search news.


Frequently Asked Questions about AP News News API

How do I get news articles from AP News via API?

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

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

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

Can I search historical articles from AP News?

Yes, World News API stores articles from AP News 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 AP News 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 AP News and other outlets in a single request.

Is there a free plan to access AP News news?

Yes! World News API offers a free plan with 50 daily API points — enough to start building and testing with AP News 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.