Skip to content
View newsdatahub's full-sized avatar

Block or report newsdatahub

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
newsdatahub/README.md

NewsDataHub API

Access 200,000+ fresh articles daily from 6,500+ sources across 170+ countries in 40+ languages — enriched with topics, source data, and other metadata. Free tier, no card required. Visit our [main website][website] to learn more.

Quick Start

Python

import requests

headers = {
    "X-Api-Key": "your_api_key_here",
    "User-Agent": "YourApp/1.0"
}

resp = requests.get("https://api.newsdatahub.com/v1/news", headers=headers)
print(resp.json())

JavaScript

  const axios = require("axios");

  const headers = {
    "X-Api-Key": "your_api_key_here",
    "User-Agent": "YourApp/1.0"
  };

  async function getNews() {
    const resp = await axios.get("https://api.newsdatahub.com/v1/news", { headers });
    console.log(resp.data);
  }

  getNews();

Curl

  curl -H "X-Api-Key: YOUR_API_KEY" -H "User-Agent: yourapp/1.0" \
    "https://api.newsdatahub.com/v1/news?q=technology&per_page=5"

Features

  • Access 200,000+ fresh articles daily
  • Free tier with 100 daily requests
  • Advanced search with boolean operators and exact phrase matching
  • 40+ languages and 6,500+ sources
  • Rich article metadata and /related for content discovery
  • Simple REST API with standardized JSON

Getting Started

  1. Sign up for your free API key
  2. Add the key via the X-Api-Key header
  3. Start fetching news data!

Documentation

See the API Reference for:

  • Authentication and quotas
  • Pagination
  • Filtering options
  • Code samples in Python, Node.js, Go, and Ruby

Pinned Loading

  1. ai-market-intelligence-dashboard ai-market-intelligence-dashboard Public

    The AI Market Intelligence Dashboard tracks and analyzes news coverage across topics, geographies, and time periods. It combines structured news data from NewsDataHub with AI summarization to produ…

    TypeScript 2