NewsAPI
Headlines from 80k+ sources
NewsAPI aggregates headlines and articles worldwide. Free developer key at newsapi.org — 100 req/day on free tier.
GET https://newsapi.org/top-headlines?country=us&pageSize=1&apiKey=YOUR_API_KEY
{
"status": "error",
"code": "apiKeyInvalid",
"message": "Your API key is invalid or incorrect. Check your key, or go to https://newsapi.org to create a free API key."
}curl "https://newsapi.org/top-headlines?country=us&pageSize=1&apiKey=YOUR_API_KEY"const res = await fetch("https://newsapi.org/top-headlines?country=us&pageSize=1&apiKey=YOUR_API_KEY");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://newsapi.org/top-headlines?country=us&pageSize=1&apiKey=YOUR_API_KEY")
print(res.json())THIS API IS DEAD — NOTHING TO RUN
/top-headlines?country=us&pageSize=1&apiKey=YOUR_API_KEYPROBEDHeadlines from 80k+ sources
/top-headlines?limit=5Top Headlines — documented GET route.
/top-headlines?page=1Top Headlines — documented GET route.
We probe without your API key. A 401/403 auth wall means the server is up — not a full health pass. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
NewsAPI: common questions
Is NewsAPI free to use?
Yes — NewsAPI is a free open data API. Free tier: Free tier — API key required. Whether the free tier allows commercial use is unclear — check the provider docs.
Does NewsAPI need an API key?
Yes — NewsAPI needs a free API key, which you pass on each request. Rate limits: Unpublished.
Can I call NewsAPI from the browser?
Not directly — NewsAPI doesn't send browser-friendly CORS headers, so call it from a server or proxy instead. Copy the curl or Python snippet on this page to get started.
Is NewsAPI up right now?
As of our last scheduled check, NewsAPI is dead. We re-probe it every sweep — the status badge and uptime chart above always show the latest.