freeapis

TheNews

聚合头条、头版故事和实时新闻的 JSON API

认证方式
API Key
HTTPS
Yes
CORS
Yes
分类
新闻
数据来源
public-apis + marcelscruz

简介

TheNews 提供聚合头条和实时新闻——基于密钥(无效 token 返回 401,已实测)。

快速开始

头条新闻(替换 YOUR_KEY):

curl "https://api.thenewsapi.com/v1/news/top?api_token=YOUR_KEY&locale=us&limit=1"
{ "error": { "code": "invalid_api_token", "message": "An invalid API token was supplied." } }

认证方式

  • 在 thenewsapi.com 注册 → API token。
  • 通过 api_token 查询参数携带(无效 → 401,已实测)。

速率限制与注意事项

  • 免费层带限额(看文档);付费档可扩展。
  • 头条、头条故事、实时新闻。

常见问题

TheNews 免费吗? 免费层带限额;更多需要付费。

为什么 401? 无效 token 返回 401(已实测)——请注册拿密钥。

认证风格是什么? api_token 查询参数。

新闻 分类更多

APIAuthHTTPSCORS
APITube News API

Real-time and historical news from 300,000+ sources in 177 countries and 59 languages, enriched with sentiment, entities and topics, with 65+ search filters

API KeyYesUnknown↗
Associated Press

Search for news and metadata from Associated Press

API KeyYesUnknown↗
Chronicling America

Provides access to millions of pages of historic US newspapers from the Library of Congress

No authNoUnknown↗
Currents

Real-time and historical global news with multilingual support

API KeyYesYes↗
DataCube AI

Daily curated AI industry news, funding rounds and trends in 8 languages

No authYesNo↗