网络链接扫描仪 API

Web Link Scanner 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: 

Web链接扫描器API是一个强大而高效的工具,旨在方便地提取网页中包含的所有链接。该API非常适合希望轻松自动收集URL的开发人员,无论是构建网络爬虫、分析网站链接结构,还是执行与链接提取相关的任何任务。通过简单的界面,只需提交目标页面的URL,API就会返回完整的链接列表,消除了复杂手动过程的需要。此外,它支持广泛的网页,使其成为数据分析项目、SEO优化、网站变更监控以及任何需要大规模链接收集的项目的多功能解决方案。以JSON格式的结构化响应确保轻松集成到现代应用程序中,提供快速可靠的链接信息访问。该API经过速度和准确性优化,是开发人员和分析师的必备解决方案

API 文档

端点


将网页的URL发送到端点,以接收该页面中包含的链接的完整列表,以JSON格式。



                                                                            
GET https://www.zylalabs.com/api/5299/web+link+scanner+api/6840/fetch+all+links
                                                                            
                                                                        

获取所有链接 - 端点功能

对象 描述
url [必需] Page to search for links
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        [{"name":null,"url":"https:\/\/www.nytimes.com\/\/"},{"name":null,"url":"https:\/\/www.nytimes.com\/2024\/10\/23\/technology\/characterai-lawsuit-teen-suicide.html"},{"name":"100 Best Books of the 21st Century","url":"https:\/\/www.nytimes.com\/interactive\/2024\/books\/best-books-21st-century.html"},{"name":"13 days What\u2019s at Stake: The Pace of Change Erica L. Green White House correspondent Kamala Harris is not offering sweeping change, even as voters express dissatisfaction about the direction of the country. She\u2019s an institutionalist who wants to preserve democratic ideals, and an incrementalist who believes progress takes time. That means her pragmatic approach could be frustrating to some supporters. Read the story A Harris Win Would Be Historic, but Her Changes Would Come \u2018Step-by-Step\u2019","url":"https:\/\/www.nytimes.com\/2024\/08\/22\/us\/politics\/kamala-harris-policy-change.html"},{"name":"2024 Elections","url":"https:\/\/www.nytimes.com\/news-event\/2024-election"},{"name":"36 Hours","url":"https:\/\/www.nytimes.com\/column\/36-hours"},{"name":"5 Minutes to Make You Love Music","url":"https:\/\/www.nytimes.com\/interactive\/2023\/10\/27\/arts\/music\/music-fivemins-collection.html"},{"name":"51 Men Accused","url":"https:\/\/www.nytimes.com\/2024\/09\/02\/world\/europe\/france-husband-rape-drug-trial-mazan.html"},{"name":"A Modi-Xi Meeting Could Signal a Thaw Between India and ChinaThe meeting between Narendra Modi of India and Xi Jinping of China came just two days after they settled a tense border dispute in the Himalayas.4 min readSergey Bobylev\/BRICS-Rossia2024.ru, via EPA, via Shutterstock","url":"https:\/\/www.nytimes.com\/2024\/10\/23\/world\/asia\/modi-xi-putin-brics.html"},{"name":"Abortion","url":"https:\/\/www.nytimes.com\/spotlight\/abortion-news"},{"name":"Accessibility","url":"https:\/\/help.nytimes.com\/hc\/en-us\/articles\/115015727108-Accessibility"},{"name":"Advertise","url":"https:\/\/advertising.nytimes.com\/"},{"name":"Africa","url":"https:\/\/www.nytimes.com\/section\/world\/africa"},{"name":"Ahn Young-Joon\/Associated Press","url":"https:\/\/www.nytimes.com\/2024\/10\/23\/us\/politics\/north-korea-russia-military-ukraine.html"},{"name":"Air Purifier","url":"https:\/\/www.nytimes.com\/wirecutter\/reviews\/best-air-purifier\/"},{"name":"All Lifestyle","url":"https:\/\/www.nytimes.com\/spotlight\/lifestyle"},{"name":"Americas","url":"https:\/\/www.nytimes.com\/section\/world\/americas"},{"name":"Appliances","url":"https:\/\/www.nytimes.com\/wirecutter\/appliances\/"},{"name":"Artificial Intelligence","url":"https:\/\/www.nytimes.com\/spotlight\/artificial-intelligence"},{"name":"Arts","url":"https:\/\/www.nytimes.com\/section\/arts"},{"name":"Asia","url":"https:\/\/www.nytimes.com\/section\/world\/asia"},{"name":"Ask Well","url":"https:\/\/www.nytimes.com\/column\/ask-well"},{"name":"Audio","url":"https:\/\/www.nytimes.com\/spotlight\/podcasts"},{"name":"AudioOur editors share their favorite listens from the New York Times Audio app.","url":"https:\/\/www.nytimes.com\/newsletters\/audio"},{"name":"AudioPodcasts and narrated articles covering news, tech, culture and more.","url":"https:\/\/www.nytimes.com\/spotlight\/podcasts"},{"name":"Australia","url":"https:\/\/www.nytimes.com\/section\/world\/australia"},{"name":"Baby and Kid","url":"https:\/\/www.nytimes.com\/wirecutter\/baby-kid\/"},{"name":"Best Sellers","url":"https:\/\/www.nytimes.com\/books\/best-sellers"},{"name":"Boeing\u2019s C.E.O. Calls for \u2018Culture Change\u2019 as It Reports $6.2 Billion LossAs Kelly Ortberg presented his strategic vision, more than 33,000 striking employees of the aerospace manufacturer were expected to vote on a new contract.4 min read","url":"https:\/\/www.nytimes.com\/2024\/10\/23\/business\/boeing-earnings-strike-vote.html"},{"name":"Book Review","url":"https:\/\/www.nytimes.com\/section\/books"},{"name":"Book ReviewThe podcast that takes you inside the literary world.","url":"https:\/\/www.nytimes.com\/column\/book-review-podcast"},{"name":"Breakfast","url":"https:\/\/cooking.nytimes.com\/topics\/breakfast"},{"name":"Brent StaplesThe Legacy of Reagan\u2019s Attack on the Education Department2 min read","url":"https:\/\/www.nytimes.com\/live\/2024\/10\/22\/opinion\/thepoint\/reagan-trump-education-department"},{"name":"Bret Stephens","url":"https:\/\/www.nytimes.com\/by\/bret-stephens"},{"name":"Bret StephensThere\u2019s One Main Culprit if Donald Trump Wins4 min read","url":"https:\/\/www.nytimes.com\/2024\/10\/22\/opinion\/trump-kamala-harris-democrats.html"},{"name":"Brit Huckabay\/National Senior Games Association, via Associated PressJulia Hawkins, Centenarian Sprinter, Dies at 108She took up running after her 100th birthday at the encouragement of her children, and went on to set two world records in the 100-meter dash.4 min read","url":"https:\/\/www.nytimes.com\/2024\/10\/23\/sports\/julia-hawkins-dead.html"},{"name":"Business","url":"https:\/\/www.nytimes.com\/section\/business"},{"name":"Business","url":"https:\/\/www.nytimes.com\/section\/opinion\/business-economics"},{"name":"California","url":"https:\/\/www.nytimes.com\/spotlight\/california-news"},{"name":"Can A.I. Be Blamed for a Teen\u2019s Suicide?The mother of a 14-year-old Florida boy says he became obsessed with a chatbot on Character.AI before his death.12 min read","url":"https:\/\/www.nytimes.com\/2024\/10\/23\/technology\/characterai-lawsuit-teen-suicide.html"},{"name":"Canada","url":"https:\/\/www.nytimes.com\/\/ca\/"},{"name":"Canada","url":"https:\/\/www.nytimes.com\/section\/world\/canada"},{"name":"Canada","url":"https:\/\/www.nytimes.com\/ca\/"},{"name":"Canada LetterBackstories and analysis from our Canadian correspondents.","url":"https:\/\/www.nytimes.com\/newsletters\/canada-letter"},{"name":"Carlos Lozada","url":"https:\/\/www.nytimes.com\/by\/carlos-lozada"},{"name":"Charles M. Blow","url":"https:\/\/www.nytimes.com\/by\/charles-m-blow"},{"name":"Chase Hall Wrestles With \u2018Hybridity\u2019The artist, who is frank about the issues raised by his mixed race, has a solo show opening in Los Angeles.6 min readArden Wray for The New York Times","url":"https:\/\/www.nytimes.com\/2024\/10\/22\/arts\/design\/chase-hall-wrestles-with-hybridity.html"},{"name":"Chicken","url":"https:\/\/cooking.nytimes.com\/topics\/our-best-chicken-recipes"},{"name":"Clean EverythingStep-by-step advice on how to keep everything in your home squeaky clean.","url":"https:\/\/www.nytimes.com\/newsletters\/clean-everything"},{"name":"Climate","url":"https:\/\/www.nytimes.com\/section\/climate"},{"name":"Climate","url":"https:\/\/www.nytimes.com\/section\/opinion\/environment"},{"name":"College Football Projections","url":"https:\/\/www.nytimes.com\/athletic\/5701128\/2024\/09\/09\/college-football-playoff-projections-odds\/"},{"name":"Comfort Food","url":"https:\/\/cooking.nytimes.com\/topics\/comfort-food"},{"name":"Congress","url":"https:\/\/www.nytimes.com\/topic\/organization\/us-congress"},{"name":"Connections","url":"https:\/\/www.nytimes.com\/games\/connections"},{"name":"ConnectionsGroup words that share a common thread.","url":"https:\/\/www.nytimes.com\/games\/connections?GAMES_connectionsRollout_1130=1_ConnectionsV2"},{"name":"Contact Us","url":"https:\/\/help.nytimes.com\/hc\/en-us\/articles\/115015385887-Contact-Us"},{"name":"Cooking","url":"https:\/\/cooking.nytimes.com\/"},{"name":"CookingRecipes, advice and inspiration for everyday cooking, special occasions and more.","url":"https:\/\/cooking.nytimes.com\/"},{"name":"Cordless Stick Vacuum","url":"https:\/\/www.nytimes.com\/wirecutter\/reviews\/best-cordless-stick-vacuum\/"},{"name":"Critic\u2019s Picks","url":"https:\/\/www.nytimes.com\/spotlight\/critics-picks"},{"name":"Culture","url":"https:\/\/www.nytimes.com\/section\/opinion\/culture"},{"name":"Dance","url":"https:\/\/www.nytimes.com\/section\/arts\/dance"},{"name":"David Brooks","url":"https:\/\/www.nytimes.com\/by\/david-brooks"},{"name":"David French","url":"https:\/\/www.nytimes.com\/by\/david-french"},{"name":"David FrenchHarris\u2019s Broad Coalition is Battling Trump\u2019s Narrow Movement2 min read","url":"https:\/\/www.nytimes.com\/live\/2024\/10\/22\/opinion\/thepoint\/harris-coalition-trump-movement-cheney"},{"name":"David Wallace-WellsWhy Harris and Trump Are Pandering to Crypto Plutocrats5 min read","url":"https:\/\/www.nytimes.com\/2024\/10\/23\/opinion\/crypto-trump-election.html"},{"name":"DealBook","url":"https:\/\/www.nytimes.com\/section\/business\/dealbook"},{"name":"DealBookThe most crucial business and policy news you need to know.","url":"https:\/\/www.nytimes.com\/newsletters\/dealbook"},{"name":"Deals","url":"https:\/\/www.nytimes.com\/wirecutter\/deals\/"},{"name":"Dessert","url":"https:\/\/cooking.nytimes.com\/topics\/desserts"},{"name":"Dinner","url":"https:\/\/cooking.nytimes.com\/topics\/dinner-recipes"},{"name":"Donald Trump","url":"https:\/\/www.nytimes.com\/spotlight\/donald-trump"},{"name":"Download the Audio app on iOS.","url":"https:\/\/www.nytimes.com\/audio\/app"},{"name":"Draft-Dodging Scandal in Ukraine Forces a Top Official to Quit4 min read","url":"https:\/\/www.nytimes.com\/2024\/10\/23\/world\/europe\/ukraine-draft-scandal-conscription.html"},{"name":"Early Voting We\u2019re tracking in-person and mailed ballots by state.","url":"https:\/\/www.nytimes.com\/interactive\/2024\/us\/elections\/early-vote-tracker-2024.html"},{"name":"Easy","url":"https:\/\/cooking.nytimes.com\/topics\/easy-recipes"},{"name":"Easy ModeGet an easy version of one of the hardest crossword puzzles of the week.","url":"https:\/\/www.nytimes.com\/newsletters\/easy-mode"},{"name":"Easy Weeknight","url":"https:\/\/cooking.nytimes.com\/topics\/easy-weeknight"},{"name":"Economy","url":"https:\/\/www.nytimes.com\/section\/business\/economy"},{"name":"Editorials","url":"https:\/\/www.nytimes.com\/section\/opinion\/editorials"},{"name":"Education"},{"_note":"Response truncated for documentation purposes"}]
                                                                                                                                                                                                                    
                                                                                                    

获取所有链接 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/5299/web+link+scanner+api/6840/fetch+all+links?url=https://www.nytimes.com/' --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返回该页面上所有链接的列表

网页链接扫描器API从网页中提取所有链接,提供JSON格式的完整列表以供分析和其他应用

接收网页的URL并以JSON格式返回该页面上所有链接的结构化列表

构建爬虫以进行大规模的URL收集 进行SEO分析以检查链接结构 监测网站链接的变化

每分钟200个请求适用于所有计划

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

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

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

API返回一个JSON数组,其中包含在指定网页上找到的所有链接。每个链接条目包括链接名称(如果可用)和其URL字段

响应数据中的关键字段是"name"和"url"。"name"字段表示与链接相关的文本,而"url"字段包含实际的网页地址

响应数据被构造成一个 JSON 数组,其中每个元素是一个表示链接的对象。每个对象包含 "name" 和 "url" 字段,便于解析和集成

该API提供有关网页上所有超链接的信息,包括内部链接和外部链接,可以用于各种分析,如SEO和网页爬虫

当前,API 接受一个参数:要扫描的网页的 URL。用户可以指定任何有效的 URL,从该特定页面检索链接

数据直接来源于指定网页的HTML内容 API解析页面以提取所有超链接 确保信息是最新和相关的

通过直接解析请求网页的HTML来保持数据的准确性 该API获取实时数据 确保返回的链接反映页面的当前状态

典型的用例包括构建网络爬虫以收集网址执行SEO审核以分析链接结构以及通过跟踪链接的添加或删除来监控网站变化

一般常见问题

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%
 响应时间
1,394ms

类别:


相关 API


您可能还喜欢