全球新聞-Rapid API
專用API
【更新時間: 2024.05.14】
RapidAPI是一個提供大量API數(shù)據(jù)的綜合性平臺,涵蓋了多種領(lǐng)域,如社交媒體、電子商務(wù)、天氣、地圖、金融等。全球新聞API可以幫助用戶實現(xiàn)多種功能,并提供豐富的新聞數(shù)據(jù)。
|
瀏覽次數(shù)
928
采購人數(shù)
122
試用次數(shù)
41
試用
收藏
×
完成
取消
×
書簽名稱
確定
|
相似API
文章關(guān)鍵詞生成
264
文章關(guān)鍵詞生成API利用自然語言處理與機器學(xué)習(xí)技術(shù),從文本中精準(zhǔn)提取代表性關(guān)鍵詞。服務(wù)涵蓋詞頻統(tǒng)計、TF-IDF計算、主題模型分析等,確保關(guān)鍵詞反映原文主旨。
情感傾向分析
717
情感傾向分析API服務(wù)是一種基于人工智能技術(shù)的工具,用于自動識別和量化文本數(shù)據(jù)(如社交媒體帖子、產(chǎn)品評論、新聞文章等)中蘊含的情感色彩
UC新聞資訊
507
UC 新聞資訊,其依托于阿里強大的專業(yè)數(shù)據(jù)挖掘能力,結(jié)合智能推薦算法,并憑借著優(yōu)質(zhì)且豐富的資訊內(nèi)容,致力于為用戶精準(zhǔn)地提供個性化的內(nèi)容推薦服務(wù),讓用戶能夠輕松獲取契合自身需求和興趣的資訊。
- API詳情
- 接口文檔
- 使用指南
- 常見 FAQ
- 相關(guān)推薦

產(chǎn)品介紹

什么是Rapid API的全球新聞?
Connexun是一家具有長期經(jīng)驗和專業(yè)知識的AI新聞引擎,推廣內(nèi)容和文本分析API以及適用于開發(fā)人員、初創(chuàng)公司、企業(yè)甚至消費者的專有技術(shù)。它使客戶能夠?qū)崟r獲取來自數(shù)千個信任的在線新聞來源的多語言頭條新聞、文章和動態(tài)摘要。它通過專有的文本爬取和分類技術(shù)為客戶提供服務(wù)。
什么是Rapid API的全球新聞接口?
由服務(wù)使用方的應(yīng)用程序發(fā)起,以Restful風(fēng)格為主、通過公網(wǎng)HTTP協(xié)議調(diào)用Rapid API的全球新聞,從而實現(xiàn)程序的自動化交互,提高服務(wù)效率。
Rapid API的全球新聞有哪些核心功能?
- API查找與連接:Rapid API平臺為開發(fā)人員提供了一個集中化的地方,可以查找、連接和管理全球新聞相關(guān)的API。這使得開發(fā)人員能夠輕松地找到他們需要的新聞API,并快速集成到他們的項目中。
- 實時性能指標(biāo):Rapid API提供實時性能指標(biāo),幫助開發(fā)人員了解API的性能和穩(wěn)定性。這對于確保新聞數(shù)據(jù)的及時性和準(zhǔn)確性至關(guān)重要。
- 團隊協(xié)作與共享:通過Rapid API for Teams功能,開發(fā)人員可以共享和協(xié)作處理內(nèi)部API,包括全球新聞API。這有助于團隊成員之間的協(xié)同工作,提高開發(fā)效率。
- 企業(yè)范圍的API管理:Rapid API Enterprise為組織提供了一個集中式中心環(huán)境,用于管理企業(yè)范圍內(nèi)的API使用。這包括全球新聞API的治理、可見性和安全性,確保數(shù)據(jù)的安全性和合規(guī)性。
- 文檔和教程支持:Rapid API平臺提供了詳細(xì)的API文檔和教程,幫助開發(fā)人員快速上手全球新聞API。這些文檔和教程包括API的使用方法、參數(shù)說明、示例代碼等,為開發(fā)人員提供了全面的技術(shù)支持。
- 豐富的新聞數(shù)據(jù):全球新聞API提供了來自多個新聞源和機構(gòu)的新聞數(shù)據(jù),包括新聞標(biāo)題、內(nèi)容、發(fā)布日期、圖片、視頻等多媒體內(nèi)容。這使得開發(fā)人員能夠獲取全面、及時的新聞資訊,滿足用戶的不同需求。
- 定制化的新聞數(shù)據(jù):開發(fā)人員可以根據(jù)自己的需求,通過全球新聞API獲取特定主題、地區(qū)或時間段的新聞數(shù)據(jù)。這有助于他們?yōu)橛脩籼峁└泳珳?zhǔn)、個性化的新聞服務(wù)。
Rapid API的全球新聞的核心優(yōu)勢是什么?
豐富的API
統(tǒng)一化管理
速度快捷
開發(fā)者友好
靈活的定價模式
開放性
在哪些場景會用到Rapid API的全球新聞?
- 新聞聚合應(yīng)用:新聞聚合應(yīng)用需要實時獲取來自多個新聞源的新聞內(nèi)容,以便為用戶提供一站式的新聞閱讀體驗。通過調(diào)用全球新聞API,這些應(yīng)用可以快速獲取各種新聞,包括標(biāo)題、內(nèi)容、圖片、視頻等,并按需進行展示。
- 社交媒體平臺:社交媒體平臺經(jīng)常需要嵌入新聞內(nèi)容,以增強用戶的參與度和活躍度。全球新聞API可以幫助這些平臺快速獲取最新的新聞資訊,并在平臺上進行分享和討論。
- 企業(yè)信息監(jiān)控:許多企業(yè)需要密切關(guān)注與其業(yè)務(wù)相關(guān)的新聞動態(tài),以便及時調(diào)整市場策略。通過調(diào)用全球新聞API,企業(yè)可以實時監(jiān)控特定主題或關(guān)鍵詞的新聞,獲取最新的市場情報和競爭對手信息。
- 智能助手和聊天機器人:智能助手和聊天機器人通常需要為用戶提供實時的新聞資訊。通過集成全球新聞API,這些應(yīng)用可以為用戶提供最新的新聞?wù)⑼扑]閱讀等服務(wù),增強用戶的滿意度和忠誠度。
- 個性化新聞推薦:隨著人工智能和大數(shù)據(jù)技術(shù)的發(fā)展,個性化新聞推薦已成為可能。通過調(diào)用全球新聞API并結(jié)合用戶的行為數(shù)據(jù)和偏好,可以為用戶提供個性化的新聞推薦服務(wù),提高用戶的閱讀體驗和滿意度。

使用指南


產(chǎn)品問答

?
我的支付信息安全嗎?
通過符合 PCI 標(biāo)準(zhǔn)的銀行合作伙伴處理信用卡。
?
為什么免費API也需要提供信用卡?
我們與API提供商直接合作,為開發(fā)者實施清晰透明的定價。如果計劃中有配額和超額費用,提供商可能需要信用卡。如果您不再想使用API,您可以隨時在RapidAPI儀表板的計費部分點擊“取消訂閱”按鈕取消訂閱計劃。
?
如果超出了我的訂閱計劃呢?
根據(jù)您的訂閱計劃詳情,您將承擔(dān)超額費用或被暫停服務(wù)。
?
我何時會被收費?
我們會在您訂閱API計劃時立即向您的信用卡收取費用,并在下一個循環(huán)周期收取費用。
?
如何處理退款?
退款,請通過 support@rapidapi.com 與我們聯(lián)系
API接口列表
主題搜索接口
國家新聞接口
加密貨幣新聞接口
新聞動態(tài)接口
世界趨勢接口
語言信息接口
類別信息接口
獲取國家信息接口
主題搜索接口
1.1 簡要描述
使用主題搜索接口來查找談?wù)撎囟ㄖ黝}的新聞。主題可以是特定關(guān)鍵詞,人名,地名,或兩者的組合。結(jié)果可以按照標(biāo)題或新聞文本中出現(xiàn)的主題進行過濾,默認(rèn)情況下同時過濾標(biāo)題和文本。
1.2 請求URL
https://news67.p.rapidapi.com/v2/topic-search
1.3 請求方式
GET
1.4 入?yún)?
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 是否必傳 | 描述 |
---|---|---|---|---|
RapidAPIApp | string | 是 | RapidAPI平臺創(chuàng)建的用戶APPID | |
RequestURL | string | 是 | 請求地址 | |
X-RapidAPI-Key | string | 是 | 請求頭中參數(shù),用戶在RapidAPI中的key。 | |
X-RapidAPI-Host | string | 是 | 請求頭中參數(shù),域名地址。 | |
languages | String | 是 | 語言 | |
search | String | 是 | 關(guān)鍵詞 |
1.5 出參
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 描述 |
---|---|---|---|
result.response | string | ||
result.newsCount | string | ||
result.skipped | string | ||
news.{Title} | string | ||
news.{Source} | string | ||
news.{Url} | string | ||
news.{PublishedOn} | string | ||
news.{Description} | string | ||
news.{Image} | string | ||
news.{SourceNationality} | string | ||
news.{TitleSentiment} | string | ||
news.{sentiment} | string | ||
news.{score} | string | ||
news.Summary | string | ||
news.Countries | string | ||
news.Cities | string | ||
news.Categories | string | ||
news.label | string | ||
news.IPTCCode | string |
1.6 錯誤碼
錯誤碼 | 錯誤信息 | 描述 |
---|---|---|
200 | success | 成功 |
400 | ||
503 |
1.7 示例
請求參數(shù){ "RapidAPIApp": "default-application_8338329", "RequestURL": "rapidapi.com", "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c", "X-RapidAPI-Host": "news67.p.rapidapi.com", "languages": "en", "search": "新聞" } 返回參數(shù) { "result.response": "", "result.newsCount": "", "result.skipped": "", "news.{Title}": "", "news.{Source}": "", "news.{Url}": "", "news.{PublishedOn}": "", "news.{Description}": "", "news.{Image}": "", "news.{SourceNationality}": "", "news.{TitleSentiment}": "", "news.{sentiment}": "", "news.{score}": "", "news.Summary": "", "news.Countries": "", "news.Cities": "", "news.Categories": "", "news.label": "", "news.IPTCCode": "" } 錯誤碼 { "200": "success", "400": "", "503": "" }
國家新聞接口
2.1 簡要描述
返回特定國家的新聞,您可以使用不同的過濾器來獲取有關(guān)國家的本地新聞,有關(guān)該國的國際新聞,或者涉及兩個國家的國際新聞。
2.2 請求URL
https://news67.p.rapidapi.com/v2/country-news
2.3 請求方式
GET
2.4 入?yún)?
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 是否必傳 | 描述 |
---|---|---|---|---|
RapidAPIApp | string | 是 | RapidAPI平臺創(chuàng)建的用戶APPID | |
RequestURL | string | 是 | 請求地址 | |
X-RapidAPI-Key | string | 是 | 請求頭中參數(shù),用戶在RapidAPI中的key。 | |
X-RapidAPI-Host | string | 是 | 請求頭中參數(shù),域名地址。 | |
skip | Int | 否 | 下一頁頁碼 | |
batchSize | Int | 否 | 總數(shù) | |
fromCountry | String | 否 | 使用此參數(shù)來過濾來自特定國家的新聞。 | |
languages | String | 否 | 使用兩個字母的ISO代碼來按語言過濾內(nèi)容。使用逗號分隔的代碼可以獲取多種語言的結(jié)果。使用/languages資源獲取語言代碼。默認(rèn)為全部。 | |
onlyInternational | String | 否 | 是否只查詢國際新聞 | |
aboutCountry | String | 否 | 國家相關(guān)信息 |
2.5 出參
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 描述 |
---|---|---|---|
result.response | string | ||
result.newsCount | string | ||
result.skipped | string | ||
news.{Title} | string | ||
news.{Source} | string | ||
news.{Url} | string | ||
news.{PublishedOn} | string | ||
news.{Description} | string | ||
news.{Image} | string | ||
news.{SourceNationality} | string | ||
news.{TitleSentiment} | string | ||
news.{sentiment} | string | ||
news.{score} | string | ||
news.Summary | string | ||
news.Countries | string | ||
news.Cities | string | ||
news.Categories | string | ||
news.label | string | ||
news.IPTCCode | string |
2.6 錯誤碼
錯誤碼 | 錯誤信息 | 描述 |
---|---|---|
200 | success | 成功 |
400 | ||
503 |
2.7 示例
請求參數(shù){ "RapidAPIApp": "default-application_8338329", "RequestURL": "rapidapi.com", "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c", "X-RapidAPI-Host": "news67.p.rapidapi.com", "skip": "1", "batchSize": "", "fromCountry": "", "languages": "", "onlyInternational": "", "aboutCountry": "" } 返回參數(shù) { "result.response": "", "result.newsCount": "", "result.skipped": "", "news.{Title}": "", "news.{Source}": "", "news.{Url}": "", "news.{PublishedOn}": "", "news.{Description}": "", "news.{Image}": "", "news.{SourceNationality}": "", "news.{TitleSentiment}": "", "news.{sentiment}": "", "news.{score}": "", "news.Summary": "", "news.Countries": "", "news.Cities": "", "news.Categories": "", "news.label": "", "news.IPTCCode": "" } 錯誤碼 { "200": "success", "400": "", "503": "" }
加密貨幣新聞接口
3.1 簡要描述
獲取關(guān)于區(qū)塊鏈和加密貨幣的最新新聞和話題,使用令牌過濾器來獲取您想要關(guān)注的令牌的新聞。
3.2 請求URL
https://news67.p.rapidapi.com/v2/crypto
3.3 請求方式
GET
3.4 入?yún)?
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 是否必傳 | 描述 |
---|---|---|---|---|
RapidAPIApp | string | 是 | RapidAPI平臺創(chuàng)建的用戶APPID | |
RequestURL | string | 是 | 請求地址 | |
X-RapidAPI-Key | string | 是 | 請求頭中參數(shù),用戶在RapidAPI中的key。 | |
X-RapidAPI-Host | string | 是 | 請求頭中參數(shù),域名地址。 | |
token | string | 否 | ||
languages | string | 否 | ||
sentiment | string | 否 | ||
publishedAfter | string | 否 | ||
publishedBefore | string | 否 | ||
sortOrder | string | 否 | ||
batchSize | int | 否 | ||
skip | int | 否 |
3.5 出參
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 描述 |
---|---|---|---|
result.response | string | ||
result.newsCount | int | ||
result.skipped | int | ||
news.{Title} | string | ||
news.{Source} | string | ||
news.{Url} | string | ||
news.{PublishedOn} | string | ||
news.{Description} | string | ||
news.{Image} | string | ||
news.{SourceNationality} | string | ||
news.{TitleSentiment} | string | ||
news.{score} | string | ||
news.Summary | string | ||
news.Countries | string | ||
news.CryptoCurrencies | string |
3.6 錯誤碼
錯誤碼 | 錯誤信息 | 描述 |
---|---|---|
200 | success | 成功 |
3.7 示例
請求參數(shù){ "RapidAPIApp": "default-application_8338329", "RequestURL": "rapidapi.com", "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c", "X-RapidAPI-Host": "news67.p.rapidapi.com", "token": "輸入代幣符號以獲取特定貨幣的新聞。默認(rèn)為我們處理的所有代幣。", "languages": "兩個字母的ISO語言代碼,用于過濾新聞。可以通過傳遞逗號分隔的字符串選擇多種語言。默認(rèn)為全部。", "sentiment": "使用“positive”或“negative”的情感值來過濾內(nèi)容。默認(rèn)為兩者。", "publishedAfter": "日期字段,用于獲取輸入日期后發(fā)布的新聞。日期必須在當(dāng)前日期的最后30天內(nèi),從UTC時間中的當(dāng)前時間到30分鐘前。格式為YYYY-MM-DDTHH:MM:SS默認(rèn)為最后30天。", "publishedBefore": "日期字段,用于獲取輸入日期之前發(fā)布的新聞。日期必須在當(dāng)前日期的最后30天內(nèi),從UTC時間中的當(dāng)前時間到30分鐘前。格式為YYYY-MM-DDTHH:MM:SS默認(rèn)為最后30天。", "sortOrder": "使用此參數(shù)根據(jù)捕獲的發(fā)布日期將新聞輸出排序為“最新”新聞優(yōu)先或“最舊”新聞優(yōu)先。默認(rèn)為最新。", "batchSize": "使用此參數(shù)來限制每個結(jié)果的新聞數(shù)量。默認(rèn)為15,最大為30。", "skip": "使用此參數(shù)進行分頁以獲取下一批結(jié)果。默認(rèn)為0。" } 返回參數(shù) { "result.response": "ok", "result.newsCount": "15", "news.{Title}": "Robinhood_lancia_i_wallet_di_criptovaluta", "news.{Source}": "it.notizie.yahoo.com", "news.{Url}": "https://it.finance.yahoo.com/notizie/robinhood-lancia-wallet-di-criptovaluta-102600853.html", "news.{PublishedOn}": "2022-04-11T10:10:31.341Z", "news.{Description}": "La_popolare_piattaforma_di_trading_al_dettaglio_Robinhood_Markets_Inc", "news.{Image}": "https://s.yimg.com/uu/api/res/1.2/KiO7w2vRKYqAbl3g.6VaJw--~B/aD0zNzU7dz02ODU7YXBwaWQ9eXRhY2h5b24-/https://media.zenfs.com/it/benzinga_italy_839/32f00f309c9e86ca43920b020de2e700", "news.{SourceNationality}": "it", "news.{TitleSentiment}": "positive", "news.{score}": "0.85", "news.Summary": "Giovedì_alla_conferenza_Bitcoin_2022_di_Miami", "news.Countries": "us", "news.CryptoCurrencies": "Ethereum/Bitcoin/Dogecoin" } 錯誤碼 { "200": "success" }
新聞動態(tài)接口
4.1 簡要描述
這個接口獲取了最新發(fā)布的新聞。您可以使用此接口在您的儀表板上獲取新聞的連續(xù)動態(tài)。可以根據(jù)需求應(yīng)用各種過濾器來獲取新聞動態(tài)。主題將在我們的管道處理完它們后立即提供,從而提供幾乎實時的輸出。
4.2 請求URL
https://news67.p.rapidapi.com/v2/feed
4.3 請求方式
GET
4.4 入?yún)?
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 是否必傳 | 描述 |
---|---|---|---|---|
RapidAPIApp | string | 是 | RapidAPI平臺創(chuàng)建的用戶APPID | |
RequestURL | string | 是 | 請求地址 | |
X-RapidAPI-Key | string | 是 | 請求頭中參數(shù),用戶在RapidAPI中的key。 | |
X-RapidAPI-Host | string | 是 | 請求頭中參數(shù),域名地址。 | |
categoryCode | string | 否 | ||
batchSize | int | 否 | ||
languages | string | 否 | ISO | |
sortOrder | string | 否 | ||
sources | string | 否 | ||
sentiment | string | 否 | ||
skip | int | 否 | batchSize |
4.5 出參
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 描述 |
---|---|---|---|
result.response | string | ||
result.newsCount | int | ||
result.skipped | int | ||
news.{Title} | string | ||
news.{Source} | string | ||
news.{Url} | string | ||
news.{PublishedOn} | string | ||
news.{Description} | string | ||
news.{Image} | string | ||
news.{SourceNationality} | string | ||
news.{TitleSentiment} | string | ||
news.{sentiment} | string | ||
news.{score} | string | ||
news.Summary | string | ||
news.Countries | string | ||
news.Cities | string | ||
news.Categories | string | ||
news.label | string | ||
news.IPTCCode | string |
4.6 錯誤碼
錯誤碼 | 錯誤信息 | 描述 |
---|---|---|
200 | success | 成功 |
400 | ||
503 |
4.7 示例
請求參數(shù){ "RapidAPIApp": "default-application_8338329", "RequestURL": "rapidapi.com", "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c", "X-RapidAPI-Host": "news67.p.rapidapi.com", "categoryCode": "根據(jù)IPTC分類代碼過濾新聞動態(tài)。使用/categories-info資源獲取值。", "batchSize": "每次調(diào)用返回的新聞元素數(shù)量。默認(rèn)為10,最大為30。", "languages": "兩字母", "sortOrder": "通過傳遞“oldest”或“l(fā)atest”來按發(fā)布時間的降序或升序?qū)ψ罱K結(jié)果進行排序,默認(rèn)為最舊。", "sources": "根據(jù)不同來源篩選新聞源。接受以逗號分隔的值。", "sentiment": "根據(jù)正面或負(fù)面情緒篩選新聞源。默認(rèn)為全部。", "skip": "用于獲取下一批結(jié)果的參數(shù),其值應(yīng)為前一次調(diào)用時的" } 返回參數(shù) { "result.response": "", "result.newsCount": "", "result.skipped": "", "news.{Title}": "", "news.{Source}": "", "news.{Url}": "", "news.{PublishedOn}": "", "news.{Description}": "", "news.{Image}": "", "news.{SourceNationality}": "", "news.{TitleSentiment}": "", "news.{sentiment}": "", "news.{score}": "", "news.Summary": "", "news.Countries": "", "news.Cities": "", "news.Categories": "", "news.label": "", "news.IPTCCode": "" } 錯誤碼 { "200": "success", "400": "", "503": "" }
世界趨勢接口
5.1 簡要描述
使用此接口獲取全球范圍內(nèi)的熱門新聞話題。我們通過考慮涉及相同話題的唯一來源和國籍,以及發(fā)布該話題的各種語言,來確定熱門新聞話題。因此,提供了一個無偏見的全球熱門話題列表。
5.2 請求URL
https://news67.p.rapidapi.com/v2/trending
5.3 請求方式
GET
5.4 入?yún)?
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 是否必傳 | 描述 |
---|---|---|---|---|
RapidAPIApp | string | 是 | RapidAPI平臺創(chuàng)建的用戶APPID | |
RequestURL | string | 是 | 請求地址 | |
X-RapidAPI-Key | string | 是 | 請求頭中參數(shù),用戶在RapidAPI中的key。 | |
X-RapidAPI-Host | string | 是 | 請求頭中參數(shù),域名地址。 | |
relatedNewsLimit | int | 否 | 限制列表內(nèi)返回的新聞數(shù)量 | |
languages | string | 否 | 使用兩字母的 ISO 代碼按語言過濾內(nèi)容。使用逗號分隔的代碼可以獲取多種語言的結(jié)果。使用 /languages 資源獲取語言代碼。默認(rèn)為所有語言。 | |
top | string | 否 | 限制返回的熱門話題數(shù)量。默認(rèn)為 10。 | |
skip | string | 否 | 用于獲取下一批結(jié)果的參數(shù),其值應(yīng)為前一次調(diào)用的 top 參數(shù)值的增量。 |
5.5 出參
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 描述 |
---|---|---|---|
result.response | String | ||
result.newsCount | Int | ||
result.skipped | Int | ||
news.{Title} | String | ||
news.{Source} | String | ||
news.{Url} | String | ||
news.{PublishedOn} | String | ||
news.{Description} | String | ||
news.{Image} | String | ||
news.{SourceNationality} | String | ||
news.{TitleSentiment} | String | ||
news.{sentiment} | String | ||
news.{score} | String | ||
news.Summary | String | ||
news.Countries | String | ||
news.Cities | String | ||
news.Categories | String | ||
news.label | String | ||
news.IPTCCode | String |
5.6 錯誤碼
錯誤碼 | 錯誤信息 | 描述 |
---|---|---|
200 | success | 成功 |
400 | ||
503 |
5.7 示例
請求參數(shù){ "RapidAPIApp": "default-application_8338329", "RequestURL": "rapidapi.com", "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c", "X-RapidAPI-Host": "news67.p.rapidapi.com", "relatedNewsLimit": "", "languages": "", "top": "", "skip": "" } 返回參數(shù) { "result.response": "", "result.newsCount": "", "result.skipped": "", "news.{Title}": "", "news.{Source}": "", "news.{Url}": "", "news.{PublishedOn}": "", "news.{Description}": "", "news.{Image}": "", "news.{SourceNationality}": "", "news.{TitleSentiment}": "", "news.{sentiment}": "", "news.{score}": "", "news.Summary": "", "news.Countries": "", "news.Cities": "", "news.Categories": "", "news.label": "", "news.IPTCCode": "" } 錯誤碼 { "200": "success", "400": "", "503": "" }
語言信息接口
6.1 簡要描述
獲取我們支持的語言的兩位字母語言代碼。
6.2 請求URL
https://news67.p.rapidapi.com/languages
6.3 請求方式
GET
6.4 入?yún)?
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 是否必傳 | 描述 |
---|---|---|---|---|
RapidAPIApp | string | 是 | RapidAPI平臺創(chuàng)建的用戶APPID | |
RequestURL | string | 是 | 請求地址 | |
X-RapidAPI-Key | string | 是 | 請求頭中參數(shù),用戶在RapidAPI中的key。 | |
X-RapidAPI-Host | string | 是 | 請求頭中參數(shù),域名地址。 |
6.5 出參
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 描述 |
---|---|---|---|
Languages.{language} | String | ||
Languages.{code} | String |
6.6 錯誤碼
錯誤碼 | 錯誤信息 | 描述 |
---|---|---|
200 | success | 成功 |
503 |
6.7 示例
請求參數(shù){ "RapidAPIApp": "default-application_8338329", "RequestURL": "rapidapi.com", "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c", "X-RapidAPI-Host": "news67.p.rapidapi.com" } 返回參數(shù) { "Languages.{language}": "", "Languages.{code}": "" } 錯誤碼 { "200": "success", "503": "" }
類別信息接口
7.1 簡要描述
獲取IPTC媒體類別標(biāo)簽和代碼列表,以過濾我們的新聞提要。
7.2 請求URL
https://news67.p.rapidapi.com/v2/categories-info
7.3 請求方式
GET
7.4 入?yún)?
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 是否必傳 | 描述 |
---|---|---|---|---|
RapidAPIApp | string | 是 | RapidAPI平臺創(chuàng)建的用戶APPID | |
RequestURL | string | 是 | 請求地址 | |
X-RapidAPI-Key | string | 是 | 請求頭中參數(shù),用戶在RapidAPI中的key。 | |
X-RapidAPI-Host | string | 是 | 請求頭中參數(shù),域名地址。 |
7.5 出參
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 描述 |
---|---|---|---|
result.response | string | ||
result.newsCount | int | ||
result.skipped | int | ||
categories.{code} | string | ||
categories.{label} | string |
7.6 錯誤碼
錯誤碼 | 錯誤信息 | 描述 |
---|---|---|
200 | success | 成功 |
7.7 示例
請求參數(shù){ "RapidAPIApp": "default-application_8338329", "RequestURL": "rapidapi.com", "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c", "X-RapidAPI-Host": "news67.p.rapidapi.com" } 返回參數(shù) { "result.response": "", "result.newsCount": "", "result.skipped": "", "categories.{code}": "", "categories.{label}": "" } 錯誤碼 { "200": "success" }
獲取國家信息接口
8.1 簡要描述
獲取兩字母國家代碼列表
8.2 請求URL
https://news67.p.rapidapi.com/countries
8.3 請求方式
GET
8.4 入?yún)?
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 是否必傳 | 描述 |
---|---|---|---|---|
RapidAPIApp | string | 是 | RapidAPI平臺創(chuàng)建的用戶APPID | |
RequestURL | string | 是 | 請求地址 | |
X-RapidAPI-Key | string | 是 | 請求頭中參數(shù),用戶在RapidAPI中的key。 | |
X-RapidAPI-Host | string | 是 | 請求頭中參數(shù),域名地址。 |
8.5 出參
參數(shù)名 | 參數(shù)類型 | 默認(rèn)值 | 描述 |
---|---|---|---|
result.response | string | ||
result.message | string |
8.6 錯誤碼
錯誤碼 | 錯誤信息 | 描述 |
---|---|---|
200 | success | 成功 |
503 |
8.7 示例
請求參數(shù){ "RapidAPIApp": "default-application_8338329", "RequestURL": "rapidapi.com", "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c", "X-RapidAPI-Host": "news67.p.rapidapi.com" } 返回參數(shù) { "result.response": "", "result.message": "" } 錯誤碼 { "200": "success", "503": "" }

使用指南


依賴服務(wù)


產(chǎn)品問答

?
我的支付信息安全嗎?
通過符合 PCI 標(biāo)準(zhǔn)的銀行合作伙伴處理信用卡。
?
為什么免費API也需要提供信用卡?
我們與API提供商直接合作,為開發(fā)者實施清晰透明的定價。如果計劃中有配額和超額費用,提供商可能需要信用卡。如果您不再想使用API,您可以隨時在RapidAPI儀表板的計費部分點擊“取消訂閱”按鈕取消訂閱計劃。
?
如果超出了我的訂閱計劃呢?
根據(jù)您的訂閱計劃詳情,您將承擔(dān)超額費用或被暫停服務(wù)。
?
我何時會被收費?
我們會在您訂閱API計劃時立即向您的信用卡收取費用,并在下一個循環(huán)周期收取費用。
?
如何處理退款?
退款,請通過 support@rapidapi.com 與我們聯(lián)系