The Newsdata.io News API aggregates articles from thousands of publishers across 200+ countries and 75+ languages, exposing real-time, historical, crypto, and market coverage as a single REST endpoint — with consistent schema, language detection, AI tagging, sentiment scoring, and full-text search.
These repos are the official open-source clients that make calling the API easy from your stack of choice.
Same retry / pagination / parameter-validation / typed-error story across every language.
| Language / Runtime | Repo | Package |
|---|---|---|
| Python | python-client | newsdataapi on PyPI |
| Node.js | newsdata-nodejs-client | newsdata-nodejs-client on npm |
| React (hooks) | newsdata-reactjs-client | newsdataapi on npm |
| PHP | php-client | newsdataio/newsdataapi on Packagist |
| Java | newsdata-java-sdk | io.newsdata:newsdataapi on Maven Central |
| .NET | newsdata-dotnet-sdk | Newsdata.Api on NuGet |
| Go | newsdata-go-client | pkg.go.dev |
| Dart / Flutter | newsdata-flutter-client | newsdataapi on pub.dev |
| Tool | Repo | Distribution |
|---|---|---|
| MCP Server — use Newsdata.io from Claude Desktop, Claude Code, Cursor, Zed, Cline, VS Code Copilot, Windsurf, ChatGPT, and any MCP-compatible client | newsdata.io-mcp | newsdata-mcp on PyPI — uvx newsdata-mcp |
newsdata.io-free-datasets — curated news datasets in CSV / JSON for ML, NLP, and sentiment analysis. Categories: business, sports, entertainment, health, science & tech, world politics, COVID-19, Ukraine, and more. Released under CC BY 4.0 with rich metadata and AI-extracted annotations (tag, region, org, sentiment) — skip the preprocessing and get straight to your model.
pip install newsdataapifrom newsdataapi import NewsDataApiClient
with NewsDataApiClient("YOUR_API_KEY") as client:
response = client.latest_api(q="bitcoin", country="us", language="en")
for article in response["results"]:
print(article["title"], "-", article["link"])Pick a different language from the table above for the equivalent quickstart in JS, PHP, Java, .NET, Go, or Dart/Flutter.
- 🌐 Main site — https://newsdata.io
- 📚 API documentation — https://newsdata.io/documentation
- 🔑 Free API key — https://newsdata.io/register (no credit card)
- 📊 Free news datasets — https://github.com/newsdataapi/newsdata.io-free-datasets
- 💬 Support & feedback — file an issue on any of the client repos above
