全球新闻API-Rapid API

全球新闻API-Rapid API

专用API
个人分享者 个人分享者: Rapid API
【更新时间: 2024.05.14】 RapidAPI是一个提供大量API数据的综合性平台,涵盖了多种领域,如社交媒体、电子商务、天气、地图、金融等。全球新闻API可以帮助用户实现多种功能,并提供丰富的新闻数据。
服务星级:
6星
⭐ ⭐ ⭐ ⭐ ⭐ ⭐ 🌟
调用次数
0
集成人数
0
商用人数
0
! SLA: N/A
! 响应: N/A
! 适用于个人&企业
添加到书签
×
完成
取消
×
书签名称
确定
<
产品介绍
>

什么是全球新闻API-Rapid API?

Connexun是一家具有长期经验和专业知识的AI新闻引擎,推广内容和文本分析API以及适用于开发人员、初创公司、企业甚至消费者的专有技术。它使客户能够实时获取来自数千个信任的在线新闻来源的多语言头条新闻、文章和动态摘要。它通过专有的文本爬取和分类技术为客户提供服务。

什么是全球新闻API-Rapid API接口?

由服务使用方的应用程序发起,以Restful风格为主、通过公网HTTP协议调用全球新闻API-Rapid API,从而实现程序的自动化交互,提高服务效率。

全球新闻API-Rapid API有哪些核心功能?

  • API查找与连接Rapid API平台为开发人员提供了一个集中化的地方,可以查找、连接和管理全球新闻相关的API。这使得开发人员能够轻松地找到他们需要的新闻API,并快速集成到他们的项目中。
  • 实时性能指标Rapid API提供实时性能指标,帮助开发人员了解API的性能和稳定性。这对于确保新闻数据的及时性和准确性至关重要。
  • 团队协作与共享通过Rapid API for Teams功能,开发人员可以共享和协作处理内部API,包括全球新闻API。这有助于团队成员之间的协同工作,提高开发效率。
  • 企业范围的API管理Rapid API Enterprise为组织提供了一个集中式中心环境,用于管理企业范围内的API使用。这包括全球新闻API的治理、可见性和安全性,确保数据的安全性和合规性。
  • 文档和教程支持Rapid API平台提供了详细的API文档和教程,帮助开发人员快速上手全球新闻API。这些文档和教程包括API的使用方法、参数说明、示例代码等,为开发人员提供了全面的技术支持。
  • 丰富的新闻数据全球新闻API提供了来自多个新闻源和机构的新闻数据,包括新闻标题、内容、发布日期、图片、视频等多媒体内容。这使得开发人员能够获取全面、及时的新闻资讯,满足用户的不同需求。
  • 定制化的新闻数据开发人员可以根据自己的需求,通过全球新闻API获取特定主题、地区或时间段的新闻数据。这有助于他们为用户提供更加精准、个性化的新闻服务。

全球新闻API-Rapid API的核心优势是什么?

 

丰富的API
丰富的API
RapidAPI聚合了数千个API,覆盖了各个领域,包括天气、行业数据、社交媒体、机器学习、文本分析等等,满足了开发者的各种需求
统一化管理
统一化管理
RapidAPI提供了一个统一的平台,开发者可以在这里发现、测试和使用API,也可以在一个仪表板上追踪和管理所有API的使用情况
速度快捷
速度快捷
开发者可以在RapidAPI平台上迅速找到所需的API,并快速进行测试和集成,大大提高了开发效率
开发者友好
开发者友好
RapidAPI为每个API提供了清晰的文档和示例代码,简化了开发者理解和使用API的过程
灵活的定价模式
灵活的定价模式
RapidAPI上的API具有多种定价模式,包括免费、按需付费、包月等,可以满足不同开发者的需求
开放性
开放性
任何人都可以在这个平台上发布自己的API,并通过RapidAPI进行推广和销售

 

在哪些场景会用到全球新闻API-Rapid API接口?

  • 新闻聚合应用:新闻聚合应用需要实时获取来自多个新闻源的新闻内容,以便为用户提供一站式的新闻阅读体验。通过调用全球新闻API,这些应用可以快速获取各种新闻,包括标题、内容、图片、视频等,并按需进行展示。
  • 社交媒体平台:社交媒体平台经常需要嵌入新闻内容,以增强用户的参与度和活跃度。全球新闻API可以帮助这些平台快速获取最新的新闻资讯,并在平台上进行分享和讨论。
  • 企业信息监控:许多企业需要密切关注与其业务相关的新闻动态,以便及时调整市场策略。通过调用全球新闻API,企业可以实时监控特定主题或关键词的新闻,获取最新的市场情报和竞争对手信息。
  • 智能助手和聊天机器人:智能助手和聊天机器人通常需要为用户提供实时的新闻资讯。通过集成全球新闻API,这些应用可以为用户提供最新的新闻摘要、推荐阅读等服务,增强用户的满意度和忠诚度。
  • 个性化新闻推荐:随着人工智能和大数据技术的发展,个性化新闻推荐已成为可能。通过调用全球新闻API并结合用户的行为数据和偏好,可以为用户提供个性化的新闻推荐服务,提高用户的阅读体验和满意度。
<
使用指南
>

<
产品问答
>
?
我的支付信息安全吗?
通过符合 PCI 标准的银行合作伙伴处理信用卡。
?
为什么免费API也需要提供信用卡?
我们与API提供商直接合作,为开发者实施清晰透明的定价。如果计划中有配额和超额费用,提供商可能需要信用卡。如果您不再想使用API,您可以随时在RapidAPI仪表板的计费部分点击“取消订阅”按钮取消订阅计划。
?
如果超出了我的订阅计划呢?
根据您的订阅计划详情,您将承担超额费用或被暂停服务。
?
我何时会被收费?
我们会在您订阅API计划时立即向您的信用卡收取费用,并在下一个循环周期收取费用。
?
如何处理退款?
退款,请通过 support@rapidapi.com 与我们联系
API接口列表
主题搜索接口
国家新闻接口
加密货币新闻接口
新闻动态接口
世界趋势接口
语言信息接口
类别信息接口
获取国家信息接口
主题搜索接口
1.1 简要描述
使用主题搜索接口来查找谈论特定主题的新闻。主题可以是特定关键词,人名,地名,或两者的组合。结果可以按照标题或新闻文本中出现的主题进行过滤,默认情况下同时过滤标题和文本。
1.2 请求URL
https://news67.p.rapidapi.com/v2/topic-search
1.3 请求方式
GET
1.4 入参
参数名 参数类型 默认值 是否必传 描述
RapidAPIApp string RapidAPI平台创建的用户APPID
RequestURL string 请求地址
X-RapidAPI-Key string 请求头中参数,用户在RapidAPI中的key。
X-RapidAPI-Host string 请求头中参数,域名地址。
languages String 语言
search String 关键词
1.5 出参
参数名 参数类型 默认值 描述
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 示例
请求参数{
    "RapidAPIApp": "default-application_8338329",
    "RequestURL": "rapidapi.com",
    "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c",
    "X-RapidAPI-Host": "news67.p.rapidapi.com",
    "languages": "en",
    "search": "新闻"
}

返回参数
{
    "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 简要描述
返回特定国家的新闻,您可以使用不同的过滤器来获取有关国家的本地新闻,有关该国的国际新闻,或者涉及两个国家的国际新闻。
2.2 请求URL
https://news67.p.rapidapi.com/v2/country-news
2.3 请求方式
GET
2.4 入参
参数名 参数类型 默认值 是否必传 描述
RapidAPIApp string RapidAPI平台创建的用户APPID
RequestURL string 请求地址
X-RapidAPI-Key string 请求头中参数,用户在RapidAPI中的key。
X-RapidAPI-Host string 请求头中参数,域名地址。
skip Int 下一页页码
batchSize Int 总数
fromCountry String 使用此参数来过滤来自特定国家的新闻。
languages String 使用两个字母的ISO代码来按语言过滤内容。使用逗号分隔的代码可以获取多种语言的结果。使用/languages资源获取语言代码。默认为全部。
onlyInternational String 是否只查询国际新闻
aboutCountry String 国家相关信息
2.5 出参
参数名 参数类型 默认值 描述
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 示例
请求参数{
    "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": ""
}

返回参数
{
    "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 简要描述
获取关于区块链和加密货币的最新新闻和话题,使用令牌过滤器来获取您想要关注的令牌的新闻。
3.2 请求URL
https://news67.p.rapidapi.com/v2/crypto
3.3 请求方式
GET
3.4 入参
参数名 参数类型 默认值 是否必传 描述
RapidAPIApp string RapidAPI平台创建的用户APPID
RequestURL string 请求地址
X-RapidAPI-Key string 请求头中参数,用户在RapidAPI中的key。
X-RapidAPI-Host string 请求头中参数,域名地址。
token string
languages string
sentiment string
publishedAfter string
publishedBefore string
sortOrder string
batchSize int
skip int
3.5 出参
参数名 参数类型 默认值 描述
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 示例
请求参数{
    "RapidAPIApp": "default-application_8338329",
    "RequestURL": "rapidapi.com",
    "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c",
    "X-RapidAPI-Host": "news67.p.rapidapi.com",
    "token": "输入代币符号以获取特定货币的新闻。默认为我们处理的所有代币。",
    "languages": "两个字母的ISO语言代码,用于过滤新闻。可以通过传递逗号分隔的字符串选择多种语言。默认为全部。",
    "sentiment": "使用“positive”或“negative”的情感值来过滤内容。默认为两者。",
    "publishedAfter": "日期字段,用于获取输入日期后发布的新闻。日期必须在当前日期的最后30天内,从UTC时间中的当前时间到30分钟前。格式为YYYY-MM-DDTHH:MM:SS默认为最后30天。",
    "publishedBefore": "日期字段,用于获取输入日期之前发布的新闻。日期必须在当前日期的最后30天内,从UTC时间中的当前时间到30分钟前。格式为YYYY-MM-DDTHH:MM:SS默认为最后30天。",
    "sortOrder": "使用此参数根据捕获的发布日期将新闻输出排序为“最新”新闻优先或“最旧”新闻优先。默认为最新。",
    "batchSize": "使用此参数来限制每个结果的新闻数量。默认为15,最大为30。",
    "skip": "使用此参数进行分页以获取下一批结果。默认为0。"
}

返回参数
{
    "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"
}
新闻动态接口
4.1 简要描述
这个接口获取了最新发布的新闻。您可以使用此接口在您的仪表板上获取新闻的连续动态。可以根据需求应用各种过滤器来获取新闻动态。主题将在我们的管道处理完它们后立即提供,从而提供几乎实时的输出。
4.2 请求URL
https://news67.p.rapidapi.com/v2/feed
4.3 请求方式
GET
4.4 入参
参数名 参数类型 默认值 是否必传 描述
RapidAPIApp string RapidAPI平台创建的用户APPID
RequestURL string 请求地址
X-RapidAPI-Key string 请求头中参数,用户在RapidAPI中的key。
X-RapidAPI-Host string 请求头中参数,域名地址。
categoryCode string
batchSize int
languages string ISO
sortOrder string
sources string
sentiment string
skip int batchSize
4.5 出参
参数名 参数类型 默认值 描述
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 示例
请求参数{
    "RapidAPIApp": "default-application_8338329",
    "RequestURL": "rapidapi.com",
    "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c",
    "X-RapidAPI-Host": "news67.p.rapidapi.com",
    "categoryCode": "根据IPTC分类代码过滤新闻动态。使用/categories-info资源获取值。",
    "batchSize": "每次调用返回的新闻元素数量。默认为10,最大为30。",
    "languages": "两字母",
    "sortOrder": "通过传递“oldest”或“latest”来按发布时间的降序或升序对最终结果进行排序,默认为最旧。",
    "sources": "根据不同来源筛选新闻源。接受以逗号分隔的值。",
    "sentiment": "根据正面或负面情绪筛选新闻源。默认为全部。",
    "skip": "用于获取下一批结果的参数,其值应为前一次调用时的"
}

返回参数
{
    "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 简要描述
使用此接口获取全球范围内的热门新闻话题。我们通过考虑涉及相同话题的唯一来源和国籍,以及发布该话题的各种语言,来确定热门新闻话题。因此,提供了一个无偏见的全球热门话题列表。
5.2 请求URL
https://news67.p.rapidapi.com/v2/trending
5.3 请求方式
GET
5.4 入参
参数名 参数类型 默认值 是否必传 描述
RapidAPIApp string RapidAPI平台创建的用户APPID
RequestURL string 请求地址
X-RapidAPI-Key string 请求头中参数,用户在RapidAPI中的key。
X-RapidAPI-Host string 请求头中参数,域名地址。
relatedNewsLimit int 限制列表内返回的新闻数量
languages string 使用两字母的 ISO 代码按语言过滤内容。使用逗号分隔的代码可以获取多种语言的结果。使用 /languages 资源获取语言代码。默认为所有语言。
top string 限制返回的热门话题数量。默认为 10。
skip string 用于获取下一批结果的参数,其值应为前一次调用的 top 参数值的增量。
5.5 出参
参数名 参数类型 默认值 描述
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 示例
请求参数{
    "RapidAPIApp": "default-application_8338329",
    "RequestURL": "rapidapi.com",
    "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c",
    "X-RapidAPI-Host": "news67.p.rapidapi.com",
    "relatedNewsLimit": "",
    "languages": "",
    "top": "",
    "skip": ""
}

返回参数
{
    "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 入参
参数名 参数类型 默认值 是否必传 描述
RapidAPIApp string RapidAPI平台创建的用户APPID
RequestURL string 请求地址
X-RapidAPI-Key string 请求头中参数,用户在RapidAPI中的key。
X-RapidAPI-Host string 请求头中参数,域名地址。
6.5 出参
参数名 参数类型 默认值 描述
Languages.{language} String
Languages.{code} String
6.6 错误码
错误码 错误信息 描述
200 success 成功
503
6.7 示例
请求参数{
    "RapidAPIApp": "default-application_8338329",
    "RequestURL": "rapidapi.com",
    "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c",
    "X-RapidAPI-Host": "news67.p.rapidapi.com"
}

返回参数
{
    "Languages.{language}": "",
    "Languages.{code}": ""
}

错误码
{
    "200": "success",
    "503": ""
}
类别信息接口
7.1 简要描述
获取IPTC媒体类别标签和代码列表,以过滤我们的新闻提要。
7.2 请求URL
https://news67.p.rapidapi.com/v2/categories-info
7.3 请求方式
GET
7.4 入参
参数名 参数类型 默认值 是否必传 描述
RapidAPIApp string RapidAPI平台创建的用户APPID
RequestURL string 请求地址
X-RapidAPI-Key string 请求头中参数,用户在RapidAPI中的key。
X-RapidAPI-Host string 请求头中参数,域名地址。
7.5 出参
参数名 参数类型 默认值 描述
result.response string
result.newsCount int
result.skipped int
categories.{code} string
categories.{label} string
7.6 错误码
错误码 错误信息 描述
200 success 成功
7.7 示例
请求参数{
    "RapidAPIApp": "default-application_8338329",
    "RequestURL": "rapidapi.com",
    "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c",
    "X-RapidAPI-Host": "news67.p.rapidapi.com"
}

返回参数
{
    "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 入参
参数名 参数类型 默认值 是否必传 描述
RapidAPIApp string RapidAPI平台创建的用户APPID
RequestURL string 请求地址
X-RapidAPI-Key string 请求头中参数,用户在RapidAPI中的key。
X-RapidAPI-Host string 请求头中参数,域名地址。
8.5 出参
参数名 参数类型 默认值 描述
result.response string
result.message string
8.6 错误码
错误码 错误信息 描述
200 success 成功
503
8.7 示例
请求参数{
    "RapidAPIApp": "default-application_8338329",
    "RequestURL": "rapidapi.com",
    "X-RapidAPI-Key": "c190bdc334msh3494f583d06a9fep1a7818jsn9d6d3a40906c",
    "X-RapidAPI-Host": "news67.p.rapidapi.com"
}

返回参数
{
    "result.response": "",
    "result.message": ""
}

错误码
{
    "200": "success",
    "503": ""
}
<
使用指南
>

<
依赖服务
>
<
产品问答
>
?
我的支付信息安全吗?
通过符合 PCI 标准的银行合作伙伴处理信用卡。
?
为什么免费API也需要提供信用卡?
我们与API提供商直接合作,为开发者实施清晰透明的定价。如果计划中有配额和超额费用,提供商可能需要信用卡。如果您不再想使用API,您可以随时在RapidAPI仪表板的计费部分点击“取消订阅”按钮取消订阅计划。
?
如果超出了我的订阅计划呢?
根据您的订阅计划详情,您将承担超额费用或被暂停服务。
?
我何时会被收费?
我们会在您订阅API计划时立即向您的信用卡收取费用,并在下一个循环周期收取费用。
?
如何处理退款?
退款,请通过 support@rapidapi.com 与我们联系