网页内容提取 API

网络内容提取API轻松从新闻文章和博客中提取核心内容和元数据,为分析或集成到应用程序中提供结构化数据
通过 MCP 从您的 AI 代理使用此 API
支持 OpenClaw、Claude Code/Desktop、Cursor、Windsurf、Cline 以及任何兼容 MCP 的 AI 客户端。
文档和设置
通过封装此 MCP 创建技能: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

关于API: 

通过文章网页内容提取API,访问新闻或博客文章的主要内容和元数据变得简单而高效。该API旨在捕获文章的基本信息,使您能够从给定的URL获取主要文本、标题、作者、发布日期和其他关键信息。非常适合需要将内容集成到其应用程序中的用户,无需处理手动抓取过程的复杂性,该API提供了结构良好的JSON响应。应用程序可以将数据用于多种目的,如内容分析、创建自动摘要或社交网络上的舆情研究。该API与流行的新闻网站和博客兼容,是那些希望用最新和易于访问的数据优化工作流程的用户的可靠工具。

API 文档

端点


发送带有url参数的GET请求以接收文章的主要内容和元数据。响应以结构化的JSON格式返回数据



                                                                            
GET https://www.zylalabs.com/api/5376/web+content+extraction+api/6957/article+content
                                                                            
                                                                        

文章内容 - 端点功能

对象 描述
url [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        [{"url":"https://www.nytimes.com/athletic/5891368/2024/11/01/inter-miami-neymar-move/","title":"Gerardo Martino dismisses speculation about Neymar joining Messi, Suarez at Inter Miami","description":"Inter Miami coach Gerardo Martino said speculation about Neymar joining Inter Miami is just that — speculation — and would likely need a change in Major League Soccer (MLS) salary rules to be a real possibility.\nSpeaking at the team’s training session before Saturday’s playoff game in Atlanta, Martino was asked about the possibility of Neymar joining the team in 2025 following a Wall Street Journal report that the Brazilian winger purchased a waterfront lot in Miami for $26 million.\n&#8220;Everyone that buys at home here is going to come to play?” Martino asked, with a laugh. \n“I...","links":["https://www.nytimes.com/athletic/5891368/2024/11/01/inter-miami-neymar-move/"],"image":"https://static01.nyt.com/athletic/uploads/wp/2024/11/01142712/GettyImages-2180026734-1-scaled-e1730485664868.jpg?width=1200&height=630&fit=cover","content":"<div><p><span>Inter Miami coach Gerardo Martino said speculation about Neymar joining Inter Miami is just that — speculation — and would likely need a change in Major League Soccer (MLS) salary rules to be a real possibility.</span></p><p><span>Speaking at the team’s training session before Saturday’s playoff game in Atlanta, Martino was asked about the possibility of Neymar joining the team in 2025 following a <a target=\"_blank\" href=\"https://www.wsj.com/real-estate/luxury-homes/neymar-miami-home-ed7b99a6\">Wall Street Journal report</a> that the Brazilian winger purchased a waterfront lot in Miami for $26 million.</span></p><p><span>“Everyone that buys at home here is going to come to play?” Martino asked, with a laugh. </span></p><p><span>“</span><span>I arrived in Barcelona at the same time as [Neymar]. It was a good year and for me being able to coach such highly-regarded players will always be a very special memory. Nothing more than that,” he said.</span></p><p><span>Reporters continued to press Martino on the potential for a reunion considering the fact that four former Barcelona players — Lionel Messi, Luis Suarez, Jordi Alba and Sergio Busquets — have already reunited with the MLS club in South Florida.</span></p><p><span>Could he imagine a scenario with all five together?</span></p><p><span>“With [Lionel Messi] and the rest of the boys already here, anything can happen,” Martino said. “What I can’t imagine is if the league doesn’t make the salary cap more flexible, how it would be carried out. After writing it or saying it in the media, it’s all good, nothing happens, it doesn’t have any consequences. But what would the implementation be like? No one explains that. And the reality is that if there is something that the MLS has, it is that the rules are strict and can’t be broken, unless the MLS decides to change.”</span></p><p><span>“What’s happening is throwing out names just to throw them out.”</span></p><p><span>A reporter pointed out a recent report from </span><i><span>The Athletic</span></i><span> that <a target=\"_blank\" href=\"https://www.nytimes.com/athletic/5865369/2024/10/23/mls-calendar-fall-spring/\">MLS is considering changing the format of its calendar as early as 2026</a>, and Martino quipped that those changes would be in two years’ time, not a few months.</span></p><p><span>“The truth is that one cannot talk so easily and freely about whether a player could come or not,” Martino said. “It seems to me that when we talk about this, another type of support is needed. We cannot talk or mention a player because he bought a house here or has a girlfriend from Fort Lauderdale.</span></p><p><span>“It’s nonsense, you have to speak conclusively. First you have to analyze what the league offers and if this is really possible. Starting from that base, today this is impossible, so there is no reason to continue the conversation.”</span></p><h2><strong>What would Miami need to do to sign Neymar?</strong></h2><p><span>Martino is right. Under MLS rules, Neymar could not fit on to Inter Miami’s roster as it’s currently constructed — at least not as a designated player.</span></p><p><span>In MLS, teams are heavily restricted in how their owners are able to spend money on rosters, with the bulk of the outlay focused on the top three to six spots on the roster. </span></p><p><span>Teams are given two options of how to build their roster. They can have three designated players (DPs): players whose budget hit, calculated by acquisition costs and salary, are unlimited, but who hit the cap at the “maximum budget charge;” and three under-22 initiative players: players aged 22 or younger whose acquisition costs do not count toward the cap, but whose salary is restricted to the league’s “maximum salary budget charge.”</span></p><p><span>Teams can also opt to carry just two designated players and have four “U-22 players.” Those teams also receive a payment of up to $2 million in “allocation money” which is, essentially, an accounting currency that provides extra cap space in the form of “dollars”.</span></p><p><span>OK, take a breath. Rub your eyes. </span></p><p><span>Let’s try to sort out what that means for Miami.</span></p><p><span>Currently, Inter Miami have opted for the 2-and-4 format: two DPs, Lionel Messi and Sergio Busquets, and four U-22s: Tomás Avilés, Diego Gómez, Federico Redondo and Benjamin Cremaschi.</span></p><p><span>It’s important to recognize that this format opens up more cap space for teams because U-22 players hit the budget at a lower cap number and the league provides that $2 million in GAM, which can be used to buy down other players’ cap hits. </span></p><p><span>In 2025, DPs will hit the cap at $743,750, while U-22s will hit the cap at either $150,000 (aged 20 or below) or $200,000 (aged 21 or 22). Which means Inter Miami is saving about $550,000 in cap space by taking a fourth U-22 rather than a third DP — and that’s without accounting for the extra $2 million in GAM. That matters for Inter Miami because they are carrying multiple players who make significant money, but aren’t DPs, including Alba, Suarez, Julian Gressel and Nico Freire.</span></p><p><span>In order to fit Neymar, Inter Miami would need one of two scenarios to play out. </span></p><p><span>The first is easy: Neymar would have to agree to come on a deal similar to Alba and Suarez. That is, take a discount to play with his friends. That was made easier for Alba, in part, because he was being paid out many millions of dollars still from Barcelona. Neymar is out of contract in Saudi Arabia in the summer. Would there be a payout if he agreed to leave early? Would he be willing to make a maximum of $1.744 million in 2025? </span></p><p><span>If so, he could fit — as long as Miami found a way to cut salary elsewhere to accommodate his arrival.</span></p><p><span>Second, Miami could opt to switch to a 3-and-3 format: three designated player and three U-22s. This would be very difficult to achieve on multiple levels. First, Miami would have to get rid of not one, but two U-22s. So while Gomez’s sale to Brighton seems to be all wrapped up for January, Miami would have to move another U-22 because Facundo Farias is on a U-22 deal and will be coming back from his season-ending injury.</span></p><p><span>Then, after selling or trading a U-22 player, Miami would have to make sure they had the requisite cap space open to accommodate a third DP hitting the books at that $743,750 — which, in theory, could be easier than taking him on that $1.744 number, but not when you get rid of the $2 million in allocation money the team is getting from MLS in the 2-and-4 format. </span></p><p><span>In other words, making Neymar a DP would likely necessitate multiple player sales, both from the team’s arsenal of U-22 players and also from the rest of the roster.</span></p><p><span>Not impossible, but difficult. And complicated. </span></p><p><em>(Francois Nel/Getty Images)</em></p>\n</div><div><p><span><strong><a href=\"https://www.nytimes.com/athletic/author/paul-tenorio/\" target=\"_blank\">Paul Tenorio</a></strong>  is a senior writer for The Athletic who covers soccer. He has previously written for the Washington Post, the Orlando Sentinel, FourFourTwo, ESPN and MLSsoccer.com.</span> <span>Follow Paul on Twitter <strong><a target=\"_blank\" href=\"https://twitter.com/PaulTenorio\">@PaulTenorio</a></strong></span></p></div>","author":"Paul Tenorio","favicon":"https://www.nytimes.com/athletic/static/img/athletic-icon-144x144.png","source":"nytimes.com","published":"2024-11-01t18:37:31+00:00","ttr":222,"type":"article"}]
                                                                                                                                                                                                                    
                                                                                                    

文章内容 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/5376/web+content+extraction+api/6957/article+content?url=https://www.nytimes.com/athletic/5891368/2024/11/01/inter-miami-neymar-move/' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 网页内容提取 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
标头
标头 描述
授权 [必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

简单透明的定价

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

🚀 企业版

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

客户喜爱的功能

  • ✔︎ 仅支付成功请求
  • ✔︎ 7 天免费试用
  • ✔︎ 多语言支持
  • ✔︎ 一个 API 密钥,所有 API。
  • ✔︎ 直观的仪表板
  • ✔︎ 全面的错误处理
  • ✔︎ 开发者友好的文档
  • ✔︎ Postman 集成
  • ✔︎ 安全的 HTTPS 连接
  • ✔︎ 可靠的正常运行时间

网页内容提取 API FAQs

将要分析的文章的URL作为参数发送以获取主要内容和元数据

网络内容提取是一个API,它以结构化格式从新闻文章和博客中提取内容和元数据

接收文章 URL 并返回主要内容 标题 作者 和其他元数据以 JSON 格式

创建新闻和博客的自动摘要 收集内容分析的数据 监测新闻和博客以进行公共舆论分析

每分钟190个请求在所有计划中

有不同的计划适合每个人,包括针对少量请求的免费试用,但它的速率是有限的以防止滥用服务

API使用API密钥进行身份验证 要访问API,请在请求头中包含您的API密钥 API密钥在注册时提供并应保密

该API返回关于域名年龄和历史的详细信息,包括自创建以来的年、月和天数,以及到期和更新日期

文章内容端点返回包括主要文本、标题、作者、发布日期、描述、链接和与文章相关的图片的结构化数据

响应数据中的关键字段包括“url”“标题”“描述”“链接”和“图片”它们提供了关于文章的基本信息

响应数据以JSON格式组织,每篇文章的信息被封装在一个包含相关字段的对象中,以便于访问和集成

该终点提供了文章的主要内容、标题、作者、出版日期和相关媒体等信息,适合用于各种分析目的

用户可以通过指定他们希望分析的文章的URL来自定义请求,从而实现对内容和元数据的针对性提取

数据来源于热门新闻网站和博客,确保为用户提供广泛的当前和相关内容

数据准确性是通过自动提取过程保持的,这些过程定期更新以适应网站结构和内容格式的变化

典型的使用案例包括内容分析 自动总结文章以及根据新闻和博客内容监测舆论趋势

一般常见问题

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 日之前提交请求,您的付款将在此时间范围内处理。


相关 API


您可能还喜欢