NewsData
来自知名新闻源的突发新闻和头条新闻数据 API
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 新闻
- 文档 / URL
- https://newsdata.io/docs
简介
NewsData.io 聚合 10,000+ 来源、60+ 语言的新闻——最新头条、关键词搜索和分类筛选,通过基于密钥的 API 提供(无效密钥返回 401,已实测)。
快速开始
最新新闻(替换 YOUR_KEY):
curl "https://newsdata.io/api/1/news?apikey=YOUR_KEY&country=us"
{
"status": "success",
"totalResults": 20,
"results": [
{
"title": "...",
"link": "https://...",
"source_id": "reuters",
"language": "english",
"country": ["united states"],
"category": ["technology"],
"pubDate": "2026-08-22 06:00:00"
}
]
}
搜索:
curl "https://newsdata.io/api/1/news?apikey=YOUR_KEY&q=openai&language=en"
按分类:
curl "https://newsdata.io/api/1/news?apikey=YOUR_KEY&category=technology&language=en"
认证方式
- 在 newsdata.io 注册 → 免费 API 密钥。
- 通过
apikey查询参数携带(无效密钥返回 401——已实测)。
速率限制与注意事项
- 免费层:200 次请求/天(数据限 24 小时内);付费档可扩展。
- 筛选:
q(关键词)、category、country、language、timeframe。 - 归档端点(
/api/1/archive)在付费档覆盖历史新闻。 - 响应中的
nextPage令牌用于分页。
常见问题
NewsData 免费吗? 免费层:200 次/天;更多需要付费。
如何获取密钥? 在 newsdata.io 注册——密钥在控制台。
可以按分类筛选吗?
可以——category=technology|business|entertainment|...。
新闻 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Associated Press Search for news and metadata from Associated Press | API Key | Yes | Unknown | ↗ |
| Chronicling America Provides access to millions of pages of historic US newspapers from the Library of Congress | No auth | No | Unknown | ↗ |
| Currents Real-time and historical global news with multilingual support | API Key | Yes | Yes | ↗ |
| DataCube AI Daily curated AI industry news, funding rounds and trends in 8 languages | No auth | Yes | No | ↗ |
| Feedbin RSS reader | OAuth | Yes | Unknown | ↗ |