将新闻文章的URL和可选的格式(JSON或纯文本)发送到端点 API将返回文章的主要内容和元数据
获取新闻数据 - 端点功能
| 对象 | 描述 |
|---|---|
url |
[必需] |
format |
可选 Returned format of article content. html returns the article content as HTML, md returns the article content as markdown, and text returns the article content as plain text. Defaults to html. |
{"title":"Lionel Messi feels \u2018like a kid\u2019 after Argentina hat-trick against Bolivia - The Athletic","url":"https:\/\/www.nytimes.com\/athletic\/5846795\/2024\/10\/16\/lionel-messi-hat-trick-argentina-bolivia\/?searchResultPosition=1","author":"Ali Rampling","thumbnailUrl":"https:\/\/static01.nyt.com\/athletic\/uploads\/wp\/2024\/10\/16032704\/GettyImages-2177960715-e1729063644703.jpg?width=1200&height=630&fit=cover","tags":["Inter Miami CF"," Argentina"," Soccer"],"format":"html","content":"<p><a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/lionel-messi-HlEFpLdbHt68CnvJ\/'>Lionel Messi<\/a> says he still feels \u201clike a kid\u201d playing for Argentina after scoring a hat-trick in his country\u2019s 6-0 victory over Bolivia on Tuesday.<\/p><p>The 37-year-old played a role in five of Argentina\u2019s six goals during the World Cup qualifying win at Estadio Mas Monumental in Buenos Aires, providing two assists in addition to his hat-trick.<\/p><p>Advertisement<\/p><p>It took Messi\u2019s tally of senior Argentina goals to 112 \u2014 a figure bettered only by <a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/cristiano-ronaldo-jh1IjFA8SnHLGtwM\/'>Cristiano Ronaldo<\/a>\u2019s 133 for Portugal in men\u2019s international football.<\/p><p>\u201cIt\u2019s really nice to come here, to feel the affection of the people,\u201d Messi said.<\/p><p>\u201cThis drives me. (I\u2019m) enjoying being happy where I am. Despite my age, when I\u2019m here, I feel like a kid because I\u2019m comfortable with this team. As long as I feel good and can keep performing the way I want, I\u2019ll keep enjoying it.\u201d<\/p><img src='https:\/\/static01.nyt.com\/athletic\/uploads\/wp\/2024\/09\/26154131\/GettyImages-1807033621-1024x683.jpg?width=128&height=128&fit=cover&auto=webp'><p>GO DEEPER<\/p><p>How Argentina are preparing for life after Lionel Messi: Wider, more direct but less clinical<\/p><p>Messi gave Argentina the lead after 19 minutes on Tuesday evening, finishing low after <a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/lautaro-martinez-Ce9CtvBqInoKkh9G\/'>Lautaro Martinez<\/a> had capitalised on a defensive slip to win the ball high up in the Bolivia half.<\/p><p>The Argentina captain then turned provider for Martinez as the hosts doubled their advantage on the stroke of half time, squaring the ball to his team-mate and leaving him with an empty net to roll into.<\/p><img src='https:\/\/static01.nyt.com\/athletic\/uploads\/wp\/2024\/10\/16032859\/GettyImages-2177919962-scaled.jpg'><p>Argentina added a third in first-half stoppage time through <a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/julian-alvarez-Gc4ZQQEwFSbwIM9v\/'>Julian Alvarez<\/a> after the Atletico Madrid forward had been found by a quick Messi free-kick.<\/p><p><a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/thiago-almada-lYAzmMNJhNvBXFjZ\/'>Thiago Almada<\/a> extended Argentina\u2019s lead mid-way through the second half, before Messi added his side\u2019s fifth and sixth in the space of three minutes to complete the scoring.<\/p><p>The Inter Miami forward found the bottom corner from just inside the penalty area in the 84th minute, and completed his hat-trick in the 86th with another low strike after combining with <a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/nico-paz-30JZNE0k3zCnSuEf\/'>Nico Paz<\/a>.<\/p><p>The match was just Messi\u2019s second for Argentina since <a href='https:\/\/www.nytimes.com\/athletic\/5637802\/2024\/07\/15\/lionel-messi-injury-copa-america-final\/'>being forced off with an ankle injury in July\u2019s Copa America final<\/a>. He returned to club action in September and has scored five goals in six <a href='https:\/\/www.nytimes.com\/athletic\/football\/mls\/'>Major League Soccer<\/a> (MLS) appearances since his comeback.<\/p><p>Tuesday\u2019s victory leaves Argentina top of their World Cup qualifying group with 22 points from 10 games.<\/p><p>Messi had said in 2022 the Qatar World Cup would be his last, but speaking ahead of the 2024 Copa America\u00a0<a href='https:\/\/www.nytimes.com\/athletic\/5548901\/2024\/06\/07\/lionel-messi-world-cup-2026\/'>he did not rule out playing at the 2026 tournament<\/a>. He will be 38 when the next World Cup, staged in the United States, Mexico and Canada, begins and will turn 39 during the tournament.<\/p><p>Argentina return to action in November against Paraguay.<\/p><img src='https:\/\/static01.nyt.com\/athletic\/uploads\/wp\/2024\/07\/15014045\/0715_COPAMessi01-1024x512.jpg?width=128&height=128&fit=cover&auto=webp'><p>GO DEEPER<\/p><p>Lionel Messi and the unmistakeable sense of an ending<\/p><p>(Top Photo: Luis Robayo\/AFP via Getty Images)<\/p>"}
curl --location --request GET 'https://zylalabs.com/api/5297/article+insight+extractor+api/6838/fetch+news+data?url=https://www.nytimes.com/athletic/5846795/2024/10/16/lionel-messi-hat-trick-argentina-bolivia/?searchResultPosition=1&format=html' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
将文章 URL 发送到端点并以 JSON 或纯文本格式接收主要内容和元数据
文章洞察提取器是一个 API,它从新闻文章中提取主要文本和元数据以进行分析和重用,兼容多种语言的网站
接收文章的URL作为输入,并提供主文本和结构化元数据以JSON或纯文本格式作为输出
为新闻聚合器收集内容 数据挖掘的新闻分析 实时创建总结和分类新闻文章
每小时1000个请求适用于所有计划
有不同的计划适合每个人,包括对少量请求的免费试用,但其速率受到限制以防止滥用服务
API使用API密钥进行身份验证 要访问API,请在请求头中包含您的API密钥 API密钥在注册时提供并应保持安全
API返回有关域名的年龄和历史的详细信息,包括自创建以来的年、月和日,以及到期和更新日期
获取新闻数据的端点返回文章的主要文本内容,以及元数据,例如标题、作者、发布时间、URL、缩略图和相关标签
响应中的关键字段包括“标题”“网址”“作者”“缩略图网址”“标签”“格式”和“内容”每个字段提供了关于文章的基本信息以便进一步分析
API以JSON格式返回数据,结构为键值对。这种格式便于解析和集成到应用程序中,促进自动化数据处理
该端点提供有关文章的主要内容、作者详细信息、出版元数据和相关标签的信息,便于全面分析和分类
用户可以通过指定文章网址并选择响应格式(JSON或纯文本)来定制请求。这种灵活性允许根据应用需求进行量身定制的数据检索
响应数据以JSON对象的形式组织,每个键代表文章的特定属性。这种组织方式使用户可以轻松访问和使用所需的信息
该API从多个网站的各种在线新闻文章中提取数据,包括知名和小众来源,确保分析内容的多样性
该API采用一种专有算法来分析和提取内容,这有助于确保高准确性地识别文章中的主要文本和相关元数据,即使来自不太常见的来源
Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]
此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
服务级别:
100%
响应时间:
2,560ms
服务级别:
100%
响应时间:
472ms
服务级别:
100%
响应时间:
1,374ms
服务级别:
100%
响应时间:
855ms
服务级别:
100%
响应时间:
3,497ms
服务级别:
100%
响应时间:
758ms
服务级别:
100%
响应时间:
8,257ms
服务级别:
97%
响应时间:
616ms
服务级别:
100%
响应时间:
1,434ms
服务级别:
100%
响应时间:
1,196ms
服务级别:
100%
响应时间:
584ms
服务级别:
100%
响应时间:
618ms
服务级别:
100%
响应时间:
860ms
服务级别:
98%
响应时间:
3,167ms
服务级别:
100%
响应时间:
910ms
服务级别:
100%
响应时间:
2,537ms
服务级别:
100%
响应时间:
1,147ms
服务级别:
100%
响应时间:
4,368ms
服务级别:
100%
响应时间:
876ms
服务级别:
100%
响应时间:
7,229ms