全球新聞-Rapid API

全球新聞-Rapid API

專用API
個(gè)人分享者 個(gè)人分享者: Rapid API
【更新時(shí)間: 2024.05.14】 RapidAPI是一個(gè)提供大量API數(shù)據(jù)的綜合性平臺,涵蓋了多種領(lǐng)域,如社交媒體、電子商務(wù)、天氣、地圖、金融等。全球新聞API可以幫助用戶實(shí)現(xiàn)多種功能,并提供豐富的新聞數(shù)據(jù)。
瀏覽次數(shù)
995
采購人數(shù)
129
試用次數(shù)
45
! SLA: N/A
! 響應(yīng): N/A
! 適用于個(gè)人&企業(yè)
試用
收藏
×
完成
取消
×
書簽名稱
確定
<
產(chǎn)品介紹
>

什么是Rapid API的全球新聞?

Connexun是一家具有長期經(jīng)驗(yàn)和專業(yè)知識的AI新聞引擎,推廣內(nèi)容和文本分析API以及適用于開發(fā)人員、初創(chuàng)公司、企業(yè)甚至消費(fèi)者的專有技術(shù)。它使客戶能夠?qū)崟r(shí)獲取來自數(shù)千個(gè)信任的在線新聞來源的多語言頭條新聞、文章和動(dòng)態(tài)摘要。它通過專有的文本爬取和分類技術(shù)為客戶提供服務(wù)。

什么是Rapid API的全球新聞接口?

由服務(wù)使用方的應(yīng)用程序發(fā)起,以Restful風(fēng)格為主、通過公網(wǎng)HTTP協(xié)議調(diào)用Rapid API的全球新聞,從而實(shí)現(xiàn)程序的自動(dòng)化交互,提高服務(wù)效率。

Rapid API的全球新聞?dòng)心男┖诵墓δ埽?

  • API查找與連接Rapid API平臺為開發(fā)人員提供了一個(gè)集中化的地方,可以查找、連接和管理全球新聞相關(guān)的API。這使得開發(fā)人員能夠輕松地找到他們需要的新聞API,并快速集成到他們的項(xiàng)目中。
  • 實(shí)時(shí)性能指標(biāo)Rapid API提供實(shí)時(shí)性能指標(biāo),幫助開發(fā)人員了解API的性能和穩(wěn)定性。這對于確保新聞數(shù)據(jù)的及時(shí)性和準(zhǔn)確性至關(guān)重要。
  • 團(tuán)隊(duì)協(xié)作與共享通過Rapid API for Teams功能,開發(fā)人員可以共享和協(xié)作處理內(nèi)部API,包括全球新聞API。這有助于團(tuán)隊(duì)成員之間的協(xié)同工作,提高開發(fā)效率。
  • 企業(yè)范圍的API管理Rapid API Enterprise為組織提供了一個(gè)集中式中心環(huán)境,用于管理企業(yè)范圍內(nèi)的API使用。這包括全球新聞API的治理、可見性和安全性,確保數(shù)據(jù)的安全性和合規(guī)性。
  • 文檔和教程支持Rapid API平臺提供了詳細(xì)的API文檔和教程,幫助開發(fā)人員快速上手全球新聞API。這些文檔和教程包括API的使用方法、參數(shù)說明、示例代碼等,為開發(fā)人員提供了全面的技術(shù)支持。
  • 豐富的新聞數(shù)據(jù)全球新聞API提供了來自多個(gè)新聞源和機(jī)構(gòu)的新聞數(shù)據(jù),包括新聞標(biāo)題、內(nèi)容、發(fā)布日期、圖片、視頻等多媒體內(nèi)容。這使得開發(fā)人員能夠獲取全面、及時(shí)的新聞資訊,滿足用戶的不同需求。
  • 定制化的新聞數(shù)據(jù)開發(fā)人員可以根據(jù)自己的需求,通過全球新聞API獲取特定主題、地區(qū)或時(shí)間段的新聞數(shù)據(jù)。這有助于他們?yōu)橛脩籼峁└泳珳?zhǔn)、個(gè)性化的新聞服務(wù)。

Rapid API的全球新聞的核心優(yōu)勢是什么?

 

豐富的API
豐富的API
RapidAPI聚合了數(shù)千個(gè)API,覆蓋了各個(gè)領(lǐng)域,包括天氣、行業(yè)數(shù)據(jù)、社交媒體、機(jī)器學(xué)習(xí)、文本分析等等,滿足了開發(fā)者的各種需求
統(tǒng)一化管理
統(tǒng)一化管理
RapidAPI提供了一個(gè)統(tǒng)一的平臺,開發(fā)者可以在這里發(fā)現(xiàn)、測試和使用API,也可以在一個(gè)儀表板上追蹤和管理所有API的使用情況
速度快捷
速度快捷
開發(fā)者可以在RapidAPI平臺上迅速找到所需的API,并快速進(jìn)行測試和集成,大大提高了開發(fā)效率
開發(fā)者友好
開發(fā)者友好
RapidAPI為每個(gè)API提供了清晰的文檔和示例代碼,簡化了開發(fā)者理解和使用API的過程
靈活的定價(jià)模式
靈活的定價(jià)模式
RapidAPI上的API具有多種定價(jià)模式,包括免費(fèi)、按需付費(fèi)、包月等,可以滿足不同開發(fā)者的需求
開放性
開放性
任何人都可以在這個(gè)平臺上發(fā)布自己的API,并通過RapidAPI進(jìn)行推廣和銷售

 

在哪些場景會用到Rapid API的全球新聞?

  • 新聞聚合應(yīng)用:新聞聚合應(yīng)用需要實(shí)時(shí)獲取來自多個(gè)新聞源的新聞內(nèi)容,以便為用戶提供一站式的新聞閱讀體驗(yàn)。通過調(diào)用全球新聞API,這些應(yīng)用可以快速獲取各種新聞,包括標(biāo)題、內(nèi)容、圖片、視頻等,并按需進(jìn)行展示。
  • 社交媒體平臺:社交媒體平臺經(jīng)常需要嵌入新聞內(nèi)容,以增強(qiáng)用戶的參與度和活躍度。全球新聞API可以幫助這些平臺快速獲取最新的新聞資訊,并在平臺上進(jìn)行分享和討論。
  • 企業(yè)信息監(jiān)控:許多企業(yè)需要密切關(guān)注與其業(yè)務(wù)相關(guān)的新聞動(dòng)態(tài),以便及時(shí)調(diào)整市場策略。通過調(diào)用全球新聞API,企業(yè)可以實(shí)時(shí)監(jiān)控特定主題或關(guān)鍵詞的新聞,獲取最新的市場情報(bào)和競爭對手信息。
  • 智能助手和聊天機(jī)器人:智能助手和聊天機(jī)器人通常需要為用戶提供實(shí)時(shí)的新聞資訊。通過集成全球新聞API,這些應(yīng)用可以為用戶提供最新的新聞?wù)⑼扑]閱讀等服務(wù),增強(qiáng)用戶的滿意度和忠誠度。
  • 個(gè)性化新聞推薦:隨著人工智能和大數(shù)據(jù)技術(shù)的發(fā)展,個(gè)性化新聞推薦已成為可能。通過調(diào)用全球新聞API并結(jié)合用戶的行為數(shù)據(jù)和偏好,可以為用戶提供個(gè)性化的新聞推薦服務(wù),提高用戶的閱讀體驗(yàn)和滿意度。
<
使用指南
>

<
產(chǎn)品問答
>
?
我的支付信息安全嗎?
通過符合 PCI 標(biāo)準(zhǔn)的銀行合作伙伴處理信用卡。
?
為什么免費(fèi)API也需要提供信用卡?
我們與API提供商直接合作,為開發(fā)者實(shí)施清晰透明的定價(jià)。如果計(jì)劃中有配額和超額費(fèi)用,提供商可能需要信用卡。如果您不再想使用API,您可以隨時(shí)在RapidAPI儀表板的計(jì)費(fèi)部分點(diǎn)擊“取消訂閱”按鈕取消訂閱計(jì)劃。
?
如果超出了我的訂閱計(jì)劃呢?
根據(jù)您的訂閱計(jì)劃詳情,您將承擔(dān)超額費(fèi)用或被暫停服務(wù)。
?
我何時(shí)會被收費(fèi)?
我們會在您訂閱API計(jì)劃時(shí)立即向您的信用卡收取費(fèi)用,并在下一個(gè)循環(huán)周期收取費(fèi)用。
?
如何處理退款?
退款,請通過 support@rapidapi.com 與我們聯(lián)系
<
最可能同場景使用的其他API
>
API接口列表
主題搜索接口
國家新聞接口
加密貨幣新聞接口
新聞動(dòng)態(tài)接口
世界趨勢接口
語言信息接口
類別信息接口
獲取國家信息接口
主題搜索接口
1.1 簡要描述
使用主題搜索接口來查找談?wù)撎囟ㄖ黝}的新聞。主題可以是特定關(guān)鍵詞,人名,地名,或兩者的組合。結(jié)果可以按照標(biāo)題或新聞文本中出現(xiàn)的主題進(jìn)行過濾,默認(rèn)情況下同時(shí)過濾標(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 錯(cuò)誤碼
錯(cuò)誤碼 錯(cuò)誤信息 描述
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": ""
}

錯(cuò)誤碼
{
    "200": "success",
    "400": "",
    "503": ""
}
國家新聞接口
2.1 簡要描述
返回特定國家的新聞,您可以使用不同的過濾器來獲取有關(guān)國家的本地新聞,有關(guān)該國的國際新聞,或者涉及兩個(gè)國家的國際新聞。
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 使用兩個(gè)字母的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 錯(cuò)誤碼
錯(cuò)誤碼 錯(cuò)誤信息 描述
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": ""
}

錯(cuò)誤碼
{
    "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 錯(cuò)誤碼
錯(cuò)誤碼 錯(cuò)誤信息 描述
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": "兩個(gè)字母的ISO語言代碼,用于過濾新聞??梢酝ㄟ^傳遞逗號分隔的字符串選擇多種語言。默認(rèn)為全部。",
    "sentiment": "使用“positive”或“negative”的情感值來過濾內(nèi)容。默認(rèn)為兩者。",
    "publishedAfter": "日期字段,用于獲取輸入日期后發(fā)布的新聞。日期必須在當(dāng)前日期的最后30天內(nèi),從UTC時(shí)間中的當(dāng)前時(shí)間到30分鐘前。格式為YYYY-MM-DDTHH:MM:SS默認(rèn)為最后30天。",
    "publishedBefore": "日期字段,用于獲取輸入日期之前發(fā)布的新聞。日期必須在當(dāng)前日期的最后30天內(nèi),從UTC時(shí)間中的當(dāng)前時(shí)間到30分鐘前。格式為YYYY-MM-DDTHH:MM:SS默認(rèn)為最后30天。",
    "sortOrder": "使用此參數(shù)根據(jù)捕獲的發(fā)布日期將新聞輸出排序?yàn)椤白钚隆毙侣剝?yōu)先或“最舊”新聞優(yōu)先。默認(rèn)為最新。",
    "batchSize": "使用此參數(shù)來限制每個(gè)結(jié)果的新聞數(shù)量。默認(rèn)為15,最大為30。",
    "skip": "使用此參數(shù)進(jìn)行分頁以獲取下一批結(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"
}

錯(cuò)誤碼
{
    "200": "success"
}
新聞動(dòng)態(tài)接口
4.1 簡要描述
這個(gè)接口獲取了最新發(fā)布的新聞。您可以使用此接口在您的儀表板上獲取新聞的連續(xù)動(dòng)態(tài)??梢愿鶕?jù)需求應(yīng)用各種過濾器來獲取新聞動(dòng)態(tài)。主題將在我們的管道處理完它們后立即提供,從而提供幾乎實(shí)時(shí)的輸出。
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 錯(cuò)誤碼
錯(cuò)誤碼 錯(cuò)誤信息 描述
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分類代碼過濾新聞動(dòng)態(tài)。使用/categories-info資源獲取值。",
    "batchSize": "每次調(diào)用返回的新聞元素?cái)?shù)量。默認(rèn)為10,最大為30。",
    "languages": "兩字母",
    "sortOrder": "通過傳遞“oldest”或“l(fā)atest”來按發(fā)布時(shí)間的降序或升序?qū)ψ罱K結(jié)果進(jìn)行排序,默認(rèn)為最舊。",
    "sources": "根據(jù)不同來源篩選新聞源。接受以逗號分隔的值。",
    "sentiment": "根據(jù)正面或負(fù)面情緒篩選新聞源。默認(rèn)為全部。",
    "skip": "用于獲取下一批結(jié)果的參數(shù),其值應(yīng)為前一次調(diào)用時(shí)的"
}

返回參數(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": ""
}

錯(cuò)誤碼
{
    "200": "success",
    "400": "",
    "503": ""
}
世界趨勢接口
5.1 簡要描述
使用此接口獲取全球范圍內(nèi)的熱門新聞話題。我們通過考慮涉及相同話題的唯一來源和國籍,以及發(fā)布該話題的各種語言,來確定熱門新聞話題。因此,提供了一個(gè)無偏見的全球熱門話題列表。
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 錯(cuò)誤碼
錯(cuò)誤碼 錯(cuò)誤信息 描述
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": ""
}

錯(cuò)誤碼
{
    "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 錯(cuò)誤碼
錯(cuò)誤碼 錯(cuò)誤信息 描述
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}": ""
}

錯(cuò)誤碼
{
    "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 錯(cuò)誤碼
錯(cuò)誤碼 錯(cuò)誤信息 描述
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}": ""
}

錯(cuò)誤碼
{
    "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 錯(cuò)誤碼
錯(cuò)誤碼 錯(cuò)誤信息 描述
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": ""
}

錯(cuò)誤碼
{
    "200": "success",
    "503": ""
}
<
使用指南
>

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