API Reference
Base URL: https://api.newsdatahub.com/v1
The NewsDataHub API provides access to news articles, top news, related articles, and news sources through a RESTful interface. All endpoints use cursor-based pagination and return JSON responses.
Available Endpoints
Section titled “Available Endpoints”/news - News Articles
Section titled “/news - News Articles”Retrieve news articles with granular filters for topics, geography, and metadata enrichment.
/top-news - Top News
Section titled “/top-news - Top News”Retrieve recent news from mainstream media outlets, limited to 24-72 hour window with core topics.
/news/{id}/related - Related Articles
Section titled “/news/{id}/related - Related Articles”Discover contextually similar articles by analyzing title, description, topics, and keywords.
/sources - News Sources
Section titled “/sources - News Sources”Retrieve comprehensive metadata about news sources including geographic location, political leaning, and reliability scores.
Common Features
Section titled “Common Features”All endpoints support:
- Cursor-based pagination for efficient data traversal
- Field selection to optimize response size
- Comprehensive filtering by date, topic, country, language, and more
- Quota headers for monitoring API usage
See the individual endpoint pages for detailed parameter documentation and examples.