{"uid":"cap_sSYBoz1UutjlgNEhpzPaF","slug":"x402-web-tools-link-extractor-17d6b0b7","name":"x402 Web Tools – Link Extractor","description":"Every distinct link on a public web page as absolute URLs with their anchor text, marked internal or external and nofollow, up to 500.","url":"https://q7w9tnp09rjt5ccj.68r.lambda-web.us-east-1.on.aws/v1/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"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"https URL of the page"},"only":{"enum":["all","internal","external"],"type":"string","description":"which links to return (default all)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"links":{},"unique":{},"external":{},"internal":{}}}}}}},"responseSchema":{"type":"json","example":{"links":[{"url":"https://github.com/x402-foundation/x402","text":"GitHub","internal":false,"nofollow":false}],"unique":19,"external":17,"internal":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qWrwGW-E1LUoFyXbpAJ_o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts every distinct link from a public web page as absolute URLs with anchor text, classified as internal or external and nofollow-flagged, up to 500 links.","exampleAgentPrompt":"Can you extract all the links from https://example.com/blog — I want to see every URL with its anchor text and whether each one is internal or external?","exampleUseCases":[{"title":"SEO internal linking audit","prompt":"Pull all the links from https://mystore.com/products and show me which ones are internal vs external, so I can audit the internal linking structure."},{"title":"Competitive outbound link analysis","prompt":"Extract all outbound external links from https://competitor.com/resources — I want to see every URL they link to and the anchor text they use."},{"title":"Content crawler seed extraction","prompt":"Get me every link on https://news.ycombinator.com so I can use them as seed URLs for a crawler — just the full list with internal and external flagged."}],"resultDescription":"A JSON object containing an array of up to 500 link objects, each with the absolute URL, anchor text, an internal boolean, and a nofollow boolean. Also includes summary counts: total unique links, number of external links, and number of internal links.","failureModes":["Invalid or non-HTTPS URL returns an error","Private or authentication-gated pages may return no links or an access error","Pages with JavaScript-only rendered links may be missed (static HTML parsing only)","Pages with more than 500 links are truncated at 500","Malformed HTML may result in incomplete link extraction","Slow or unresponsive pages may time out"],"whenToPreferThis":"Use this endpoint when you need a structured, classified list of all hyperlinks on a public web page — particularly when you care about distinguishing internal vs external links, nofollow attributes, and anchor texts. Prefer it over full-page scraping tools when you only need link data, not page content, as it returns clean structured output rather than raw HTML or Markdown.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:35:50.124Z","isFirstParty":false,"canonicalSlug":"x402-web-tools-link-extractor-17d6b0b7"}