{"uid":"cap_aFDm5NOYFRGz8ty5l4pXJ","slug":"swift-bot-labs-toolbox-web-links-extractor-44b0a0b5","name":"Swift Bot Labs Toolbox – Web Links Extractor","description":"62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.","url":"https://x402-toolbox.swiftbotlab.workers.dev/v1/web/links?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string"},"limit":{"type":"string"},"filter":{"enum":["all","internal","external"],"type":"string"}},"additionalProperties":false},"discoverable":{"type":"boolean"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"web-links","result":{"url":"https://news.ycombinator.com/","links":[{"rel":null,"href":"https://www.ycombinator.com/","text":"","scheme":"https","internal":false,"nofollow":false}],"total":197,"external":33,"internal":163,"returned":5}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_J6LiSDkgkT9HZIqwO4uzz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all hyperlinks from a given webpage URL, returning href, anchor text, rel attribute, scheme, and internal/external classification for each link","exampleAgentPrompt":"Can you pull all the external links from https://news.ycombinator.com/ and show me the href and anchor text for each one?","exampleUseCases":[{"title":"SEO audit for outbound links","prompt":"Fetch all the external links from https://myblog.com/article/top-tips and list their URLs and anchor text so I can audit my outbound SEO profile."},{"title":"Competitor reference mapping","prompt":"Extract all links from https://competitor.com/resources — filter to external only — so I can see what third-party sites they reference."},{"title":"Internal navigation structure check","prompt":"Get all the internal links on https://mystore.com/home so I can verify the navigation is pointing to the right pages."}],"resultDescription":"A JSON object containing the target URL, an array of link objects (each with href, rel, anchor text, scheme, internal flag, nofollow flag), and summary counts of total, internal, and external links found versus returned.","failureModes":["Target URL is unreachable or returns non-200 status — ok:false with an error message","Invalid or malformed URL input — schema validation error","Page returns no parseable HTML — empty links array with total:0","Rate-limited or blocked by target server — upstream fetch error","Payment not settled via x402 — 402 Payment Required before response is served"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call link extraction with no account setup, want immediate classification of links as internal vs external, need nofollow detection, or are building a scraping pipeline that pays per-use in USDC via x402 rather than subscribing to a monthly plan.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:36:56.874Z","isFirstParty":false,"canonicalSlug":"swift-bot-labs-toolbox-web-links-extractor-44b0a0b5"}