Google新闻内容API作为一个强大的工具,适用于希望将实时新闻内容集成到其应用程序和平台中的用户。这个由Google提供的API,允许访问来自众多来源的丰富新闻文章、博客和其他网页内容。虽然关键特性往往最引人注目,但理解Google新闻内容API在标题之外可以提供的更广泛的功能同样重要。
Google新闻内容API充当了用户与丰富新闻数据世界之间的桥梁。它允许用户以编程方式访问和检索新闻文章、标题、图像等。借助Google新闻内容API,用户可以创建个性化的新闻体验,提供实时更新,并深入了解热门话题。
API最引人注目的一个方面是其广泛的数据源。它从全球数千家信誉良好的出版商处聚合新闻内容。这些来源涵盖各种类别,如政治、体育、技术、娱乐、健康和科学。来源的多样性确保开发者可以访问根据其特定需求和受众量身定制的新闻内容。
Google新闻内容API通过可定制的查询提供灵活性。用户可以通过指定关键词来调整搜索参数。这种定制水平使得提取高度相关的新闻内容成为可能,无论是针对小众应用还是更广泛的新闻聚合器。
Google的基础设施确保Google新闻内容API具有高度的可扩展性和可靠性。用户可以放心,他们的应用程序能够处理大量请求而不影响性能。这种可扩展性对于经历不同用户流量级别的应用程序至关重要。
在新闻世界中,Google新闻内容API作为一个访问的灯塔,为用户提供了交付及时、相关和引人入胜的新闻内容所需的工具。尽管其关键特性往往突出,但欣赏API更广泛的能力同样重要,包括可定制的查询、实时更新,以及提供更全面的新闻信息流的能力。随着技术的持续发展,Google新闻内容API仍然是那些希望利用新闻数据的力量来告知、吸引和激励的用户的重要资源。
它将接收参数并提供给您一个JSON。
新闻聚合器:创建一个基于用户偏好的定制新闻聚合应用程序,收集新闻文章。
内容选择平台:为内容策展平台提供各种主题的最新新闻文章。
金融分析工具:集成金融新闻更新,以向投资者和交易员提供信息。
情感分析:通过跟踪新闻趋势和特定话题的情感分析公众情感。
重大新闻警报:根据用户的兴趣和位置向用户发送实时重大新闻警报。
每分钟3个请求。
基础计划:3000个API调用。每秒10个请求。
专业计划:7000个API调用。每秒10个请求。
专业增强计划:18000个API调用。每秒50个请求。
要使用此端点,您必须在参数中指明一个关键字
按关键词的新闻 - 端点功能
| 对象 | 描述 |
|---|---|
query |
[必需] |
[{
"author": null,
"authorTopicId": null,
"date": 1735016220,
"domain": "www.bloomberg.com",
"image": "https://assets.bwbx.io/images/users/iqjWHBFdfxIU/is7XYC6XQHiQ/v0/1200x800.jpg",
"isVideo": false,
"link": "https://www.bloomberg.com/news/articles/2024-12-24/china-s-finance-ministry-vows-greater-faster-spending-in-2025",
"preview": "China's finance ministry reaffirmed it will increase public spending with a greater focus on boosting consumption to support the economy...",
"pubLogo": "https://encrypted-tbn1.gstatic.com/faviconV2?url=https://www.bloomberg.com&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
"pubLogoLarge": "https://lh3.googleusercontent.com/NGEszdY4BPKjXpMWL2fgAHQasyKjNgr-yPt6p2ELILT6x6SV6gjNxJgplAAFTRD6-UhwMebPlA",
"publisher": "Bloomberg",
"title": "China’s Finance Ministry Vows Greater, Faster Spending in 2025"
}, {
"author": "Post Staff",
"authorTopicId": "CAAqKAgKIiJDQkFTRXdvTkwyY3ZNVEZ0TkRKNU5USnNkeElDWlc0b0FBUAE",
"date": 1735127799,
"domain": "www.jpost.com",
"image": null,
"isVideo": false,
"link": "https://www.jpost.com/breaking-news/article-834837",
"preview": "Shlomi Heizler, Director-General of the Finance Ministry, has informed Finance Minister Bezalel Smotrich of hi.",
"pubLogo": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.jpost.com&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
"pubLogoLarge": "https://lh3.googleusercontent.com/TW_uvmveircXWTyroSLoydsTHhb2dG5daDv_1cLWab593SS_Zp_ky0Xf1Czw2Yb4CDOLRXjw",
"publisher": "The Jerusalem Post",
"title": "Director-General of Finance Ministry submits resignation to Smotrich"
}, {
"author": "Jennifer Taylor",
"authorTopicId": "CAAqKAgKIiJDQkFTRXdvTkwyY3ZNVEZ3ZGpSMFozaG9jUklDWlc0b0FBUAE",
"date": 1735135308,
"domain": "finance.yahoo.com",
"image": "https://s.yimg.com/ny/api/res/1.2/J3zjHOw8X4DgqjfchvJeOQ--/YXBwaWQ9aGlnaGxhbmRlcjt3PTY0MDtoPTM2MA--/https://media.zenfs.com/en/gobankingrates_644/76e43d12098957544006498bc626604b",
"isVideo": false,
"link": "https://finance.yahoo.com/news/suze-orman-top-5-tips-140148812.html",
"preview": "The thought of retirement may sound exhilarating. However, you need to get your finances in order so your golden years can shine bright.",
"pubLogo": "https://encrypted-tbn1.gstatic.com/faviconV2?url=https://finance.yahoo.com&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
"pubLogoLarge": "https://lh3.googleusercontent.com/L57n4HUzUS8lNXBPYNGQScsyxaqqx42Nym3-tUk8NzkTvMsa95NhzEqC8KMqVPFpAFpCuPFdlA",
"publisher": "Yahoo Finance",
"title": "Suze Orman’s Top 5 Tips That Will Save Retirees From Financial Disaster"
}, {
"author": null,
"authorTopicId": null,
"date": 1735128823,
"domain": "www.timesofisrael.com",
"image": "https://static-cdn.toi-media.com/www/uploads/2024/12/F240212YS27.jpg",
"isVideo": false,
"link": "https://www.timesofisrael.com/liveblog_entry/finance-ministry-chief-quits-apparently-amid-apparent-disagreements-with-smotrich/",
"preview": "Finance Ministry director general Shlomi Heisler has informed Finance Minister Bezalel Smotrich that he is resigning, Hebrew-language media...",
"pubLogo": "https://encrypted-tbn3.gstatic.com/faviconV2?url=https://www.timesofisrael.com&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
"pubLogoLarge": "https://lh3.googleusercontent.com/KL7VFUdHpnRzWYFwHNMM0Mui8KZ2POO9h_bhISFR8jJpS5s8hImnur4ZeGoyeAEtfzrWvAkLBg",
"publisher": "The Times of Israel",
"title": "Finance Ministry chief quits, apparently amid apparent disagreements with Smotrich"
}, {
"author": "Gleb Bryanski",
"authorTopicId": "CAAqKAgKIiJDQkFTRXdvTkwyY3ZNVEZzYldzNVgyWTRjQklDWlc0b0FBUAE",
"date": 1735126956,
"domain": "www.reuters.com",
"image": "https://www.reuters.com/resizer/v2/7FPAOC4VDRLXBFHR2GB3TFJUP4.jpg?auth=c07c6b88086fbb6b5adbe99b3856559c1b7dafacb0b358e37d3055c4a51b6fb5&width=3500&quality=80",
"isVideo": false,
"link": "https://www.reuters.com/markets/currencies/russia-is-using-bitcoin-foreign-trade-finance-minister-says-2024-12-25/",
"preview": "Russian companies have begun using bitcoin and other digital currencies in international payments following legislative changes that allowed...",
"pubLogo": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.reuters.com&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
"pubLogoLarge": "https://lh3.googleusercontent.com/OzNZmYwP-Zl3sTWa8dzzyws9hou0ZihOGJ_-qanon-1iB5KwyqcHOwPxYZj54cGMZwD5qXui",
"publisher": "Reuters",
"title": "Russia is using bitcoin in foreign trade, finance minister says"
}, {
"author": null,
"authorTopicId": null,
"date": 1735098852,
"domain": "www.aljazeera.com",
"image": "https://www.aljazeera.com/wp-content/uploads/2024/12/2024-11-25T021624Z_1710855009_RC2SBBATP1Z4_RTRMADP_3_USA-DAILYLIFE-1735095658.jpg?resize=1920%2C1440",
"isVideo": false,
"link": "https://www.aljazeera.com/economy/2024/12/25/imf-egypt-reach-deal-to-unlock-one-to-two-billion-dollars",
"preview": "Washington-based lender says Cairo agreed to raise tax-to-revenue ratio and accelerate divestment of state-owned firms.",
"pubLogo": "https://encrypted-tbn0.gstatic.com/faviconV2?url=https://www.aljazeera.com&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
"pubLogoLarge": "https://lh3.googleusercontent.com/l-Ps9rkWuApN8G3MB5uZC_a5G7iKCTITjMdpZFhm2rQf3U2M2Yr_KTYpzpmOPxDiUKgb9yN9ha8",
"publisher": "Al Jazeera English",
"title": "IMF, Egypt reach deal to unlock $1.2bn to shore up strained public finances"
}, {
"author": "Debadrita Sur",
"authorTopicId": "CAAqKAgKIiJDQkFTRXdvTkwyY3ZNVEZ5YzNGMmRqaDROeElDWlc0b0FBUAE",
"date": 1735076982,
"domain": "www.the-express.com",
"image": "https://cdn-images.the-express.com/img/dynamic/25/1200x630/304963.jpg",
"isVideo": false,
"link": "https://www.the-express.com/finance/personal-finance/158511/amex-chase-bank-of-america-credit-card-points",
"preview": "It is common practice for consumers to rack up credit card points and then redeem them for hotel stays, and flights or even get cashback.",
"pubLogo": "https://encrypted-tbn1.gstatic.com/faviconV2?url=https://www.the-express.com&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
"pubLogoLarge": "https://lh3.googleusercontent.com/0Bl6zCHJZdkVAThczrc_4ifgc6rk-rHU_0mgrU_UOAifn8BnntSeF0RFgBXS_fbjJugvtOx9LRI",
"publisher": "Daily Express US",
"title": "Amex, Chase & Bank of America face backlash for quietly making huge change to credit cards"
}, {
"author": "Leila Abboud",
"authorTopicId": "CAAqKAgKIiJDQkFTRXdvTkwyY3ZNVEZtZVc0M2VUazFiQklDWlc0b0FBUAE",
"date": 1734996735,
"domain": "www.ft.com",
"image": "https://www.ft.com/__origami/service/image/v2/images/raw/https%3A%2F%2Fd1e00ek4ebabms.cloudfront.net%2Fproduction%2Fccacc9fc-a39f-4104-80c0-37d2419aeb8c.jpg?source=next-article&fit=scale-down&quality=highest&width=700&dpr=1",
"isVideo": false,
"link": "https://www.ft.com/content/84930dc8-b409-41e9-9d95-ddb4d6753f8c",
"preview": "France's new prime minister François Bayrou has selected Eric Lombard, head of state-backed financial group Caisse des Dépôts, as finance...",
"pubLogo": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.ft.com&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
"pubLogoLarge": "https://lh3.googleusercontent.com/281oPpXmEcGU9cV4N2LudyLEG2aBqbqG2iDoMoXUXKl-SWD4AUdO5652KVTGNmcduSWZB_7j",
"publisher": "Financial Times",
"title": "France’s new premier selects Eric Lombard as finance minister"
}, {
"author": "Mike Butcher",
"authorTopicId": "CAAqKAgKIiJDQkFTRXdvTkwyY3ZNVEZrZUdJeGNEVmZPQklDWlc0b0FBUAE",
"date": 1735056822,
"domain": "techcrunch.com",
"image": "https://techcrunch.com/wp-content/uploads/2022/07/GettyImages-1314165902.jpg",
"isVideo": false,
"link": "https://techcrunch.com/2024/12/24/revenue-based-financing-startups-continue-to-raise-capital-in-mena-where-the-model-just-works/",
"preview": "In an era where it has become tougher to raise venture capital, many companies have turned to non-dilutive, revenue-based financing (RBF) as...",
"pubLogo": "https://encrypted-tbn1.gstatic.com/faviconV2?url=https://techcrunch.com&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
"pubLogoLarge": "https://lh3.googleusercontent.com/YU3Zt-UhXeMKfv2S4O8DBE5mgjPf17NSuKEy1qe_tZM-K79CQJe5T5xp055KYVAVWXXJDcRF",
"publisher": "TechCrunch",
"title": "Revenue-based financing startups continue to raise capital in MENA, where the model just works"
}, {
"author": "Luc Jose Adjinacou",
"authorTopicId": "CAAqKAgKIiJDQkFTRXdvTkwyY3ZNVEZ3WHpkcmExOXVaeElDWlc0b0FBUAE",
"date": 1735135500,
"domain": "www.cointribune.com",
"image": "https://www.cointribune.com/app/uploads/2024/12/Sinapi-355.png",
"isVideo": false,
"link": "https://www.cointribune.com/en/decentralized-finance-in-2025-a-game-changer-for-investments/",
"preview": "Discover how Bitcoin, the tokenization of real assets, and AI will revolutionize the DeFi ecosystem in 2025.",
"pubLogo": "https://encrypted-tbn0.gstatic.com/faviconV2?url=https://www.cointribune.com&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
"pubLogoLarge": "https://lh3.googleusercontent.com/8t2lnz81NkNqGiCSshI_9drTyDvn9ysIZ4Ta1VOOXvA37DU7WflDRUP_2gUO0M-ZzszsrUf-Mw",
"publisher": "Cointribune EN",
"title": "Decentralized Finance : The Tech Revolution You Can't Miss In 2025"
}, {
"author": null,
"authorTopicId": null,
"date": 1735069326,
"domain": "www.globenewswire.com",
"image": "https://ml.globenewswire.com/Resource/Download/b2b4171d-d251-4ddb-9ab8-602e60a4992e",
"isVideo": false,
"link": "https://www.globenewswire.com/news-release/2024/12/24/3001762/0/en/Trending-RWA-Platform-Rexas-Finance-Sells-Out-10th-Presale-Stage-Raise-Hits-33-125-000.html"},{"_note":"Response truncated for documentation purposes"}]
curl --location --request GET 'https://zylalabs.com/api/2559/google+news+content+api/2550/news+by+keyword?query=football' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
要使用此API,用户必须指明一个关键词以获取相关的新闻
有不同的计划适合每个人,包括对少量请求的免费试用,但其速率受到限制以防止滥用服务
Zyla为几乎所有编程语言提供了广泛的集成方法。您可以根据需要使用这些代码与您的项目集成
谷歌新闻内容API是一个工具,用户只需输入关键词即可轻松获取谷歌的新闻
每个端点返回一个包含新闻文章的JSON对象,包括标题、作者、发布日期、出版商和文章预览等字段。它还包括指向完整文章和相关图片的链接
响应数据中的关键字段包括“标题”“作者”“日期”“链接”“预览”“发行人”和“图像”这些字段提供了关于每个新闻文章的必要信息
响应数据被组织为一个对象数组,每个对象代表一篇新闻文章。每个对象包含多个字段,描述文章的属性,使解析和利用变得简单
该端点的主要参数是“关键字”,允许用户指定感兴趣的主题。附加参数可能包括日期范围或特定来源的过滤器,具体取决于API的功能
此端点提供对广泛信息的访问,包括新闻文章 博客 和涵盖政治 技术 健康 和娱乐等各类的多媒体内容
数据来自全球数千家信誉良好的出版商,确保了多样化的观点和主题。这包括主要新闻机构和专业出版物
数据准确性通过与可信的新闻来源建立合作伙伴关系以及持续监控内容质量得以维护 API 从经过验证的出版商处汇总信息以确保可靠性
典型的用例包括构建新闻聚合平台 创建内容策展工具 集成投资者的金融新闻 和基于热门新闻话题开发情感分析应用程序
服务级别:
83%
响应时间:
3,176ms
服务级别:
100%
响应时间:
822ms
服务级别:
100%
响应时间:
684ms
服务级别:
100%
响应时间:
1,397ms
服务级别:
100%
响应时间:
2,612ms
服务级别:
100%
响应时间:
1,162ms
服务级别:
100%
响应时间:
1,284ms
服务级别:
100%
响应时间:
39ms
服务级别:
100%
响应时间:
8,596ms
服务级别:
100%
响应时间:
872ms
服务级别:
97%
响应时间:
2,966ms
服务级别:
100%
响应时间:
484ms
服务级别:
100%
响应时间:
111ms
服务级别:
100%
响应时间:
1,779ms
服务级别:
100%
响应时间:
3,147ms
服务级别:
100%
响应时间:
235ms
服务级别:
100%
响应时间:
1,409ms
服务级别:
100%
响应时间:
231ms
服务级别:
100%
响应时间:
17,040ms
服务级别:
100%
响应时间:
114ms