freeapis

GNews

搜索来自多个来源的新闻

认证方式
API Key
HTTPS
Yes
CORS
Yes
分类
新闻
文档 / URL
https://gnews.io/

简介

GNews 是新闻 API,聚合数千来源的头条和文章,可按国家、语言、分类和关键词筛选。干净的 JSON、支持 CORS,免费层对业余新闻应用和面板足够。

快速开始

按分类/国家的头条(替换 YOUR_KEY):

curl "https://gnews.io/api/v4/top-headlines?category=technology&lang=en&apikey=YOUR_KEY"

关键词搜索:

curl "https://gnews.io/api/v4/search?q=openai&lang=en&apikey=YOUR_KEY"

认证方式

  • 在 gnews.io 注册获取免费 API 密钥(即时生效)。
  • 通过 apikey 查询参数携带。

速率限制与注意事项

  • 免费层:100 次请求/天——每天刷新几次的小组件够用。
  • 免费层只支持 10 个国家和 6 种语言(付费档扩展)。
  • 响应包含标题、描述、图片、来源、发布日期和 content 摘要。
  • 已启用 CORS——浏览器可调用。

常见问题

GNews 免费吗? 免费层:100 次请求/天;更多请求、国家和语言需要付费。

如何获取密钥? 在 gnews.io 注册——密钥立即显示。

可以在浏览器直接调用吗? 可以——已启用 CORS。

新闻 分类更多

APIAuthHTTPSCORS
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
Feedbin

RSS reader

OAuthYesUnknown