全球新闻搜索服务-Rapidapi
专用API
个人分享者:
Rapid API
【更新时间: 2024.03.29】
40多种语言新闻搜索,趋势文章订阅。
通过人工智能提供丰富的新闻搜索API体验。
在以下位置进行现场试用:https://webit.re/services/internet-search/news-search-...
|
相似API
- API详情
- 接口文档
- 使用指南
- 常见 FAQ
- 相关推荐
产品介绍
什么是Rapidapi的全球新闻搜索服务?
40多种语言新闻搜索,趋势文章订阅。 通过人工智能提供丰富的新闻搜索API体验。 在以下位置进行现场试用:https://webit.re/services/internet-search/news-search-api/tryout。
什么是Rapidapi的全球新闻搜索服务?
由服务使用方的应用程序发起,以Restful风格为主、通过公网HTTP协议调用Rapidapi的全球新闻搜索服务,从而实现程序的自动化交互,提高服务效率。
Rapidapi的全球新闻搜索服务的核心优势是什么?
丰富的API
统一化管理
速度快捷
开发者友好
灵活的定价模式
开放性
在哪些场景会用到Rapidapi的全球新闻搜索服务?
新闻聚合平台
数字内容营销
百科全书或知识库
多语种社交媒体管理
公共关系管理
市场研究
使用指南
产品问答
?
我的支付信息安全吗?
通过符合 PCI 标准的银行合作伙伴处理信用卡。
?
为什么免费API也需要提供信用卡?
我们与API提供商直接合作,为开发者实施清晰透明的定价。如果计划中有配额和超额费用,提供商可能需要信用卡。如果您不再想使用API,您可以随时在RapidAPI仪表板的计费部分点击“取消订阅”按钮取消订阅计划。
?
如果超出了我的订阅计划呢?
根据您的订阅计划详情,您将承担超额费用或被暂停服务。
?
我何时会被收费?
我们会在您订阅API计划时立即向您的信用卡收取费用,并在下一个循环周期收取费用。
?
如何处理退款?
退款,请通过 support@rapidapi.com 与我们联系
API接口列表
趋势
1.1 简要描述
获得由复杂的人工智能精心挑选的持续更新、丰富的文章
请登录:https://webit.re/services/internet-search/news-search-api/tryout
1.2 请求URL
https://webit-news-search.p.rapidapi.com/trending
1.3 请求方式
GET
1.4 入参
参数名 | 参数类型 | 默认值 | 是否必传 | 描述 |
---|---|---|---|---|
offset | String | 否 | 从偏移开始得到结果。 例如,如果您一次搜索10篇文章(number=10),那么您应该为第1页设置offset=0,为第2页设置offset=10,为第3页设置offset=20,以此类推。 | |
language | String | 否 | 支持语言(ISO 639-1代码): 支持语言(ISO 639-1代码): -稳定:“恩”、“bg‘德’,‘冰’,‘fr‘菲’,‘它’‘ja’,‘nl”、“pl”、“pt‘和合’,‘你’,‘zh; - Beta:“ar”、“ca”、“ko”、“nb”、“sv”、“tr”、“uk”; -阿尔法:“be”、“ca”、“达”、“el’,‘外星人’,‘法’,‘不’,‘gl‘他’,‘嗨’,hr’,‘胡’‘身份证’,‘lv’,‘不’‘叔叔’,‘老’,‘tt’sk,美人”。 | |
category | String | 否 | [即将发布(2021年4月)-目前被忽略]限制文章的类别。 | |
from_sources | String | 否 | [高级- PRO+计划仅限]逗号分隔的源主机列表,从中选择新闻。例如:nytimes.com、digitaltrends.com、……\”,等等。这将排除任何其他来源。 | |
number | String | 否 | 要用单个请求检索的文章数。 每个请求允许的最大结果数: -免费/基本计划的10个结果; - Pro计划的50个结果; Ultra计划50个结果 Mega计划的100个结果 如需任何定制配额,请联系我们的支持团队。 | |
has_image | String | 否 | 将此设置为“True”,以便只获取与图片相关的文章。默认值为“False”。 | |
exclude_sources | String | 否 | [仅限PREMIUM - PRO+计划]要从结果中排除的源主机列表,以逗号分隔。例如:nytimes.com、digitaltrends.com、……\”,等等。 |
1.5 出参
参数名 | 参数类型 | 默认值 | 描述 |
---|---|---|---|
data.number | Int | ||
data.offset | Int | ||
data.results_count | Int | ||
data.language | String | ||
data.results[].date | String | ||
data.results[].description | String | ||
data.results[].id | String | ||
data.results[].title | String | ||
data.results[].url | String | ||
data.results | Array | ||
data | |||
message | String | ||
status | String |
1.6 错误码
错误码 | 错误信息 | 描述 |
---|
1.7 示例
{ "data":{ "number":10, "offset":0, "results_count":10, "language":"en", "results":[ { "date":"2020-10-02 22:15:00", "description":"This week’s Friday gif party is about to get a little...evil. In celebration of Jamie Foxx possibly joining Tom Holland’s Spider-Man 3 as Electr...", "id":"2A51PJE1YGLDLRL2YMW8OZRQSPZT4OG9", "title":"Villains Are Taking Control of the Friday Gif Party", "url":"https://io9.gizmodo.com/villains-are-taking-control-of-the-friday-gif-party-1845252679" }, { "date":"2020-10-02 21:00:00", "image":"https://i.kinja-img.com/gawker-media/image/upload/s--xJOWoaGU--/c_fit,fl_progressive,q_80,w_636/rwu23yn79tkq8pqzqpif.jpg", "description":"One of the first films delayed due to the coronavirus pandemic has just become the latest to do it again. No Time to Die, the 25th James Bond fi...", "id":"CSHJSBMVNTWH6Q8N9NUUFTOBR2D87BDH", "title":"The New James Bond Film Has Been Moved to 2021", "url":"https://io9.gizmodo.com/the-new-james-bond-film-has-been-moved-to-2021-1845257604" }, { "date":"2020-10-02 20:00:00", "image":"https://i.kinja-img.com/gawker-media/image/upload/s--_8LwqKL7--/c_fit,fl_progressive,q_80,w_636/tukcsvdpi4fhedeoioti.png", "description":"Paramount’s Spell—from director Mark Tonderai—comes at a time when people across the world are longing to be able to visit their families, somet...", "id":"PTVOWEYXUKD96VCDCRNW5YWJ7FLPSZXJ", "title":"Spell's First Trailer Is Full of Homesick Misery", "url":"https://io9.gizmodo.com/spells-first-trailer-is-full-of-homesick-misery-1845251693" }, { "date":"2020-10-02 19:15:00", "image":"https://i.kinja-img.com/gawker-media/image/upload/s--jtz2n0p_--/c_fit,fl_progressive,q_80,w_636/fabtrd3a6smwt05ohpx8.png", "description":"With its upcoming move to HBO Max, the R-rated Harley Quinn series’ third season has a chance to both continue telling one of the most heartfelt...", "id":"SH0ZMTF164SLWWOID9NVTZXGJLCKNH2C", "title":"Harley Quinn Season 3 Might Dig Into the Realities of Gotham Being a Failed Police State", "url":"https://io9.gizmodo.com/harley-quinn-season-3-might-dig-into-the-realities-of-g-1845253295" }, { "date":"2020-10-02 18:50:00", "image":"https://i.kinja-img.com/gawker-media/image/upload/s--6t1MNR5V--/c_fit,fl_progressive,q_80,w_636/ckn7e2xrpljzyuadfpzl.jpg", "description":"Earlier today, Ubisoft CEO Yves Guillemot updated his employees about a recent company-wide survey regarding the status of reforms following a s...", "id":"WM9AAYQA6DPT7GINJBFVHDKQ3NX2HMZH", "title":"One In Four Ubisoft Employees Witnessed Or Experienced Misconduct, Internal Survey Finds", "url":"http://kotaku.com/one-in-four-ubisoft-employees-witnessed-or-experienced-1845256218" }, { "date":"2020-10-02 18:00:00", "image":"https://i.kinja-img.com/gawker-media/image/upload/s---2j2tIIN--/c_fit,fl_progressive,q_80,w_636/xzizpkgtbax4al4eppjs.png", "description":"With the world in crisis, just straight-up, feel-good moments are few and far between. So some of us here at Kotaku, for no other reason at all,...", "id":"CX2BEXIQM31TSHL2OYYJ6VFPT5EKIFOV", "title":"Here Are Some Great Video Game Victory Fanfares For No Reason At All", "url":"http://kotaku.com/here-are-some-great-video-game-victory-fanfares-for-no-1845254323" }, { "date":"2020-10-02 17:56:00", "image":"https://cnet2.cbsistatic.com/img/aUz2ECnM6v2liB9TxYely9k0cs4=/300x0/2020/09/16/f9b1bc8a-fb7a-428c-a3b2-d0eacf8f4626/us-bank.png", "description":"The best credit cards for cash back, travel and balance transfers -- plus our top picks for students, Amazon and Whole Foods shoppers and Apple...", "id":"HMRFAATEJ5VYM8TXZBIAEOCPPKXP4O09", "title":"Best credit cards for October 2020 - CNET", "url":"https://www.cnet.com/personal-finance/best-credit-cards-of-2020/" }, { "date":"2020-10-02 17:54:18", "image":"https://cdn.mos.cms.futurecdn.net/EgRdBu69bExCAGhY4RE3gD.jpg", "description":"No matter what kind of PC game you're playing, you're going to need one of the best PC gaming headsets. We're here to help...", "id":"GWTLTMCDWO52OF0GIXH7HJ2BA4DE9HY5", "title":"The best PC gaming headsets of 2020", "url":"https://www.techradar.com/news/computing-components/best-pc-gaming-headset-1322675/" }, { "date":"2020-10-02 17:47:41", "image":"https://cnet3.cbsistatic.com/img/SkKST7LsAE-ATvoPr7YIOIeAW0Y=/300x0/2019/09/12/ee1fcc6f-93bd-4e25-bd32-07c4cbc0658c/pathless.jpg", "description":"Apple Arcade adds more games every week. Here's what we're still waiting on and excited to play next...", "id":"507N4XQFBIQVOD3ANXWF1YTZET27HIJ8", "title":"From The Pathless to Fantasian: All the Apple Arcade games we can't wait to play - CNET", "url":"https://www.cnet.com/news/from-the-pathless-to-fantasian-all-the-apple-arcade-games-we-cant-wait-to-play/" }, { "date":"2020-10-02 17:45:00", "image":"https://cnet4.cbsistatic.com/img/fMRG1ZQjMvx9Vf4hJ4fleFkPtAk=/300x0/2020/04/15/db5b209a-4654-4c05-86c4-410f3120bf78/money-bills-wallet-coins-dollars-0939.jpg", "description":"The House passed a bill that includes a second payment and cements one big change to eligibility for a direct payment...", "id":"0CNEZAEQJJPDZEGMBXN0RFWLE8H2RTHD", "title":"Second stimulus check requirement: Proof that Republicans, Democrats agree on new qualification - CNET", "url":"https://www.cnet.com/personal-finance/second-stimulus-check-requirement-proof-that-republicans-democrats-agree-on-new-qualification/" } ] }, "status":"success" }
搜索
2.1 简要描述
在一个不断更新的数据库中搜索,其中包含数百万篇文章,每分钟都从一个复杂的人工智能选择的来源中精心抓取
请登录:https://webit.re/services/internet-search/news-search-api/tryout
2.2 请求URL
https://webit-news-search.p.rapidapi.com/search
2.3 请求方式
GET
2.4 入参
参数名 | 参数类型 | 默认值 | 是否必传 | 描述 |
---|---|---|---|---|
language | String | 否 | 语言搜索工具。 支持语言(ISO 639-1代码): -稳定:“恩”、“bg‘德’,‘冰’,‘fr‘菲’,‘它’‘ja’,‘nl”、“pl”、“pt‘和合’,‘你’,‘zh; - Beta:“ar”、“ca”、“ko”、“nb”、“sv”、“tr”、“uk”; -阿尔法:“be”、“ca”、“达”、“el’,‘外星人’,‘法’,‘不’,‘gl‘他’,‘嗨’,hr’,‘胡’‘身份证’,‘lv’,‘不’‘叔叔’,‘老’,‘tt’sk,美人”。 | |
exclude_sources | String | 否 | [仅限PREMIUM - PRO+计划]要从结果中排除的源主机列表,以逗号分隔。例如:nytimes.com、digitaltrends.com、……\”,等等。 | |
q | String | 是 | 包含要查找文章的搜索词的字符串 | |
category | String | 否 | [即将发布(2021年4月)-目前被忽略]限制文章的类别。 | |
from_sources | String | 否 | [高级- PRO+计划仅限]逗号分隔的源主机列表,从中选择新闻。例如:nytimes.com、digitaltrends.com、……\”,等等。这将排除任何其他来源。 | |
offset | String | 否 | 从偏移开始得到结果。 例如,如果您一次搜索10篇文章(number=10),那么您应该为第1页设置offset=0,为第2页设置offset=10,为第3页设置offset=20,以此类推。 | |
has_image | String | 否 | 将此设置为“True”,以便只获取与图片相关的文章。默认值为“False”。 | |
number | String | 否 | 要用单个请求检索的文章数。 每个请求允许的最大结果数: -免费/基本计划的10个结果; - Pro计划的50个结果; Ultra计划50个结果 Mega计划的100个结果 如需任何定制配额,请联系我们的支持团队。 |
2.5 出参
参数名 | 参数类型 | 默认值 | 描述 |
---|---|---|---|
data.number | Int | ||
data.offset | Int | ||
data.results_count | Int | ||
data.language | String | ||
data.results[].date | String | ||
data.results[].image | String | ||
data.results[].description | String | ||
data.results[].id | String | ||
data.results[].title | String | ||
data.results[].url | String | ||
data.results | Array | ||
data | |||
message | String | ||
status | String |
2.6 错误码
错误码 | 错误信息 | 描述 |
---|
2.7 示例
{ "data":{ "number":10, "offset":0, "results_count":10, "language":"en", "results":[ { "date":"2020-10-09 14:57:07", "image":"https://feeds.feedburner.com/~r/NDTV-LatestNews/~4/IVO8adwDZ6o", "description":"China on Friday claimed that the coronavirus broke out in the various parts of the world last year but it was the only one to have reported and...", "id":"WX84HXWVTS8DMZP3YDMYRI0JSP6ABIUQ", "title":"China's New Claim: COVID-19 Broke Globally, We Only Reported It First", "url":"http://feedproxy.google.com/~r/NDTV-LatestNews/~3/IVO8adwDZ6o/china-new-claim-covid-19-broke-globally-we-only-reported-it-first-2307810" }, { "date":"2020-10-09 11:47:50", "image":"http://www.telegraph.co.uk/content/dam/news/2020/09/20/GettyImages-1158792190_trans_NvBQzQNjv4BqZgEkZX3M936N5BQK4Va8RWVLDaeaWzlxIQpTU2T6YjQ.jpg", "id":"O6GKGLJWPQGC9YKYORAX8XONJSUKEIG2", "title":"Travel latest news: Confusion over Italy's new testing rules leads Britons to cancel trips", "url":"http://www.telegraph.co.uk/news/2020/10/09/travel-news-quarantine-italy-greek-islands-covid-test-holiday/" }, { "date":"2020-10-09 10:35:27", "description":"<p>Doctors say president can resume public duties</p>...", "id":"S5A6TRXB3S6DF0ZJESUJ8OTQKFT1VEID", "title":"Trump says he’s planning rally for Saturday while ‘muting mic’ to hide cough in interview", "url":"https://www.independent.co.uk/news/world/americas/us-election/trump-covid-cough-interview-fox-news-sean-hannity-rally-saturday-b904643.html" }, { "date":"2020-10-09 09:53:00", "image":"http://i.dailymail.co.uk/1s/2020/10/09/01/34174650-0-image-a-15_1602205120683.jpg", "description":"Ministers have admitted the spread of coronavirus in hotspot areas is 'getting out of control' as Tory MPs warned against imposing 'Hotel Califo...", "id":"NGYICR61BYSDS24AXHJQK6FCWOQ7TIM8", "title":"Vulnerable face shielding for MONTHS with Covid curbs likely until April to stop NHS 'imploding'", "url":"http://www.dailymail.co.uk/news/article-8821789/Vulnerable-face-shielding-MONTHS-Covid-curbs-likely-April-stop-NHS-imploding.html?ns_mchannel=rss&ns_campaign=1490&ito=1490" }, { "date":"2020-10-09 09:51:44", "description":"The region, which was the hardest-hit part of the United States in the spring, is seeing early signs of a second wave. Here’s the latest...", "id":"0XHKQZNS9VTEIQ4KFKZFG1DA8PPBVA2M", "title":"The Northeast Held the Virus in Check. Now Cases Are Inching Up Again.", "url":"https://www.nytimes.com/live/2020/10/09/world/covid-coronavirus" }, { "date":"2020-10-09 09:31:04", "image":"http://i.dailymail.co.uk/1s/2020/10/09/09/34185508-0-image-a-6_1602233594454.jpg", "description":"Jose and Laura Linardi, from Houston, Texas, who have been apart from their family since January because of coronavirus revealed on a Zoom call...", "id":"L6BQEFRZVUFUNTIXZCAKY5OIWLG8HPIG", "title":"Coupe who haven't seen their families all year due to Covid-19 announced pregnancy on Zoom", "url":"http://www.dailymail.co.uk/femail/article-8822529/Coupe-havent-seen-families-year-Covid-19-announced-pregnancy-Zoom.html?ns_mchannel=rss&ns_campaign=1490&ito=1490" }, { "date":"2020-10-09 09:04:47", "image":"http://i.dailymail.co.uk/1s/2020/10/08/15/34151834-0-image-m-3_1602166597567.jpg", "description":"Monthly NHS data shows that daily hospital admissions of Covid-19 patients have surged in September as leaked reports show they could hit and su...", "id":"BSB2Z3R6OJBR9QCWM7XZQ9JGIPT8KQMP", "title":"Hospitals in Blackpool, Newcastle and Liverpool seeing two thirds as many Covid patients as at peak", "url":"http://www.dailymail.co.uk/news/article-8819193/Hospitals-Blackpool-Newcastle-Liverpool-seeing-two-thirds-Covid-patients-peak.html?ns_mchannel=rss&ns_campaign=1490&ito=1490" }, { "date":"2020-10-09 09:01:50", "image":"http://i.dailymail.co.uk/1s/2020/10/09/08/34181386-0-image-m-53_1602228893536.jpg", "description":"Labour leader Sir Keir Starmer renewed his attack on Boris Johnson and the government's coronavirus crisis handling again today as he insisted p...", "id":"DVUQTBZMFA3OJG7KKE04ECRVDPDSELHQ", "title":"Sir Keir Starmer accuses 'arrogant' government of a 'Whitehall knows best' handling of Covid crisis", "url":"http://www.dailymail.co.uk/news/article-8822393/Sir-Keir-Starmer-accuses-arrogant-government-Whitehall-knows-best-handling-Covid-crisis.html?ns_mchannel=rss&ns_campaign=1490&ito=1490" }, { "date":"2020-10-09 09:00:24", "image":"https://i.guim.co.uk/img/media/7e72f10875a0a234e2cdaabdcf8b70fdae62b217/0_271_4096_2457/master/4096.jpg?width=460&quality=85&auto=format&fit=max&s=0c6440dc0c965885d453d0dfd9d7cb2b", "description":"With the US dangerously divided, experts fear the president’s remarks will inspire armed factions to show up at polling places In the final minu...", "id":"T5EISXMTJQFK1LKTAL8LR4G7OHDBUNCS", "title":"'Our worst nightmare': Will militias heed Trump's call to watch the polls?", "url":"https://www.theguardian.com/world/2020/oct/09/us-militias-trump-election-day-covid-guns" }, { "date":"2020-10-09 08:39:36", "image":"http://www.telegraph.co.uk/content/dam/news/2020/03/17/Coronavirus_Find_out_the_latest_number_trans_NvBQzQNjv4Bq-v5mjQtIaFWjIAkxzrquqN2-jbwZxVZZoXJ1WwZY6Xk.jpg", "id":"WDVSIATK1LCDQIAPE8KFRSRKHFMC4BWG", "title":"How many coronavirus cases have there been in your area? Use our tool to find out", "url":"http://www.telegraph.co.uk/news/2020/10/09/covid-19-cases-my-area-near-me-postcode-coronavirus/" } ] }, "status":"success" }
使用指南
依赖服务
产品问答
?
我的支付信息安全吗?
通过符合 PCI 标准的银行合作伙伴处理信用卡。
?
为什么免费API也需要提供信用卡?
我们与API提供商直接合作,为开发者实施清晰透明的定价。如果计划中有配额和超额费用,提供商可能需要信用卡。如果您不再想使用API,您可以随时在RapidAPI仪表板的计费部分点击“取消订阅”按钮取消订阅计划。
?
如果超出了我的订阅计划呢?
根据您的订阅计划详情,您将承担超额费用或被暂停服务。
?
我何时会被收费?
我们会在您订阅API计划时立即向您的信用卡收取费用,并在下一个循环周期收取费用。
?
如何处理退款?
退款,请通过 support@rapidapi.com 与我们联系