将网页的URL发送到端点,以接收该页面中包含的链接的完整列表,以JSON格式。
获取所有链接 - 端点功能
| 对象 | 描述 |
|---|---|
url |
[必需] Page to search for links |
[{"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'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
将页面的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审核以分析链接结构以及通过跟踪链接的添加或删除来监控网站变化
服务级别:
100%
响应时间:
1,302ms
服务级别:
100%
响应时间:
2,680ms
服务级别:
100%
响应时间:
607ms
服务级别:
100%
响应时间:
1,104ms
服务级别:
100%
响应时间:
1,811ms
服务级别:
100%
响应时间:
1,257ms
服务级别:
100%
响应时间:
4,621ms
服务级别:
100%
响应时间:
223ms
服务级别:
100%
响应时间:
349ms
服务级别:
50%
响应时间:
1,253ms
服务级别:
100%
响应时间:
939ms
服务级别:
100%
响应时间:
820ms
服务级别:
100%
响应时间:
1,311ms
服务级别:
100%
响应时间:
596ms
服务级别:
100%
响应时间:
25ms
服务级别:
100%
响应时间:
645ms
服务级别:
100%
响应时间:
22ms
服务级别:
100%
响应时间:
359ms
服务级别:
100%
响应时间:
133ms
服务级别:
100%
响应时间:
854ms