将新闻文章的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采用一种专有算法来分析和提取内容,这有助于确保高准确性地识别文章中的主要文本和相关元数据,即使来自不太常见的来源
服务级别:
100%
响应时间:
3,497ms
服务级别:
100%
响应时间:
463ms
服务级别:
100%
响应时间:
884ms
服务级别:
75%
响应时间:
1,498ms
服务级别:
100%
响应时间:
4,048ms
服务级别:
100%
响应时间:
3,321ms
服务级别:
100%
响应时间:
1,374ms
服务级别:
100%
响应时间:
758ms
服务级别:
100%
响应时间:
2,560ms
服务级别:
100%
响应时间:
1,434ms