NewsPublic API
NPR One
Personalized news listening experience from NPR
Before you call it
What this listing means in practice
OAuth authorization flow
This API acts on behalf of a user. You will need a client registration, redirect URIs and token storage. Plan for refresh tokens and revocation before you start.
HTTPS supported
Requests can be made over TLS. Use HTTPS endpoints in production so browsers do not block the call as mixed content.
CORS not confirmed
If CORS is not enabled, call this API from a server, serverless function or build step and proxy the response to your frontend.
Start with the provider's own documentation. It is the only place where endpoints, rate limits, pricing and terms are authoritative.
http://dev.npr.org/api/No API calls are proxied by this directory. Links go directly to the provider.
API listings describe access requirements, not endorsements. Review each provider's privacy policy, terms and rate limits.
Overview
About NPR One
NPR One uses OAuth, so it acts on behalf of a signed-in user rather than with a single key. Only 2 of 26 news APIs work this way, which usually means it reads or writes personal account data.
It supports HTTPS but CORS is not confirmed, so plan to call it from a server or serverless function. That is true for 17 of the 26 APIs in this category.
Documentation is on dev.npr.org.
News APIs in general
News APIs aggregate headlines and articles from many publishers, searchable by topic, source and date.
What people build with them
- Topic-specific news feeds
- Media monitoring for a brand
- Training data for research
Watch out for
Free plans often return only headlines, delay articles, or forbid production use. Check before you build a public site on top.
First request
Calling NPR One
Use an OAuth library for your framework rather than writing the flow by hand.
OAuth flow1. Register an app with NPR One and set a redirect URI
2. Send the user to the provider's authorize URL
3. Exchange the returned code for an access token on your server
4. Call the API with Authorization: Bearer <access_token>
5. Store the refresh token and renew before expiryCompare
NPR One vs similar APIs
| API | Auth | HTTPS | CORS |
|---|---|---|---|
| NPR One | OAuth | Yes | Unknown |
| Spaceflight News | No key | Yes | Yes |
| Noozra | No key | Yes | Yes |
| Graphs for Coronavirus | No key | Yes | Yes |
| Florida Man | No key | Yes | Yes |
| Inshorts News | No key | Yes | Unknown |
FAQ
Common questions about NPR One
Does NPR One need an API key?
It uses OAuth instead of a simple key. You register an app, then each user signs in and grants access.
Can I call NPR One from the browser?
CORS is not confirmed, so the browser may block direct calls. Call it from your server or a serverless function and pass the result to your frontend.
Is NPR One free?
We do not track pricing. Many keyed APIs have a free tier with limits. The NPR One documentation lists current plans.
What are some alternatives to NPR One?
Other news APIs in the directory include Spaceflight News (no key), Noozra (no key), Graphs for Coronavirus (no key). The comparison table on this page shows how they differ on authentication, HTTPS and CORS.
Same category
More News APIs
Next step
Keep looking until the constraints fit.
Filter the directory by authentication, HTTPS and CORS, or start from a category and work backwards.