NPR News API

NPR (National Public Radio) is an American nonprofit media organization providing award-winning news, analysis, and cultural programming.

With the World News API you can programmatically access news articles from NPR (npr.org). On average, over 80 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.npr.org to retrieve news exclusively from NPR.

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



API Examples for NPR News

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

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

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

See the full documentation of how to search news.


Frequently Asked Questions about NPR News API

How do I get news articles from NPR via API?

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

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

World News API indexes over 80 articles per day from NPR. Coverage includes all major sections and categories published on npr.org.

Can I search historical articles from NPR?

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

Is there a free plan to access NPR news?

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