NewsData API
Overview
NewsData.io provides live and breaking news headlines sourced from thousands of reputable news outlets around the world. You can filter articles by keyword, country, language, or news category such as politics, sports, or technology. It is a great starting point for developers building news dashboards or content aggregation tools.
Beginner Tip
Use the apikey query parameter and start with the /news endpoint to pull the latest articles — add the q parameter to search by keyword. The free plan allows up to 200 requests per day and returns up to 10 results per call.
Available Data
Example Response
{
"totalArticles": 100,
"articles": [
{
"title": "Tech Industry Sees Record Growth",
"source": {
"name": "TechNews",
"url": "https://technews.com"
},
"publishedAt": "2025-01-15T08:00:00Z",
"description": "The technology sector reported unprecedented growth...",
"image": "https://example.com/article-image.jpg",
"url": "https://technews.com/article/123"
}
]
} Field Reference
status "success" when the request is valid, "error" on failure totalResults Number of articles returned in this response results[].title Headline of the news article results[].link URL to the original article on the publisher site results[].pubDate Publication date and time of the article results[].source_id Unique identifier for the news source that published the article Implementation Example
// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://newsdata.io/docs";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Similar APIs
View All →Associated Press
The Associated Press Developer API gives you programmatic access to AP news content and metadata, one of the most trusted wire services in the world.
Currents
⭐ Beginner's PickCurrents API delivers the latest news from thousands of sources, blogs, and online forums in real time.
GNews
⭐ Beginner's PickGNews is a news search API that aggregates articles from thousands of sources worldwide and lets you filter by keyword, language, country, and topic.
MarketAux
MarketAux delivers real-time financial news with sentiment analysis, ticker tagging, and market statistics in a clean JSON format.
Mediastack
⭐ Beginner's PickMediastack is a simple REST API that delivers live and historical news articles from thousands of global sources.