{"uid":"cap_gRI6IJbjMWrVZSNlx1ET6","slug":"scrooge-x402-link-graph-extractor-d198fdb6","name":"Scrooge X402 Link Graph Extractor","description":"Extract the outbound link graph of a public HTML page: final url, title, unique links as {href, text?}, and count. POST JSON {\"url\":\"https://example.com\",\"maxLinks\":50}. Optional maxLinks is an integer 1–50 (default 50). Skips #, javascript, mailto, tel, and data links. Public http(s) only. $0.03 USDC on Base (eip155:8453). No API key.","url":"https://scrooge-x402-tool-mill.vercel.app/v1/link-graph?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","properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL to fetch (SSRF-safe; private/link-local blocked)"},"maxLinks":{"type":"string","description":"Optional maxLinks query string (1–50; handler clamps)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["url","title","links","count"],"properties":{"url":{"type":"string","format":"uri","description":"Final URL after redirects"},"count":{"type":"integer","maximum":50,"minimum":0,"description":"links.length"},"links":{"type":"array","items":{"type":"object","required":["href"],"properties":{"href":{"type":"string","format":"uri","description":"Absolute link URL"},"text":{"type":"string","maxLength":200,"description":"Anchor text; omitted when empty"}},"additionalProperties":false},"maxItems":50},"title":{"type":["string","null"],"description":"HTML title, or null"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rJfivqCP5-a30myeqjbUE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the outbound link graph of a public HTML page, returning the final URL, page title, unique links with anchor text, and total link count.","exampleAgentPrompt":"Can you pull all the outbound links from https://news.ycombinator.com — give me the href and anchor text for each one, up to 50 links?","exampleUseCases":[{"title":"SEO competitor link audit","prompt":"Grab all the outbound links from https://www.competitor-site.com/blog — I want to see where they're linking to and what anchor text they use, up to 50 links."},{"title":"Content research link discovery","prompt":"Pull the link graph from https://en.wikipedia.org/wiki/Artificial_intelligence so I can see all the pages it references — show me each href and the link text."},{"title":"Broken link detection prep","prompt":"Extract all outbound links from https://mycompany.com/resources so I can check which ones might be broken — get up to 50 links with their anchor text."}],"resultDescription":"Returns a JSON object with: `url` (final URL after redirects), `title` (HTML page title or null), `links` (array of up to 50 objects each with `href` and optional `text` anchor), and `count` (total number of unique links returned). Fragment (#), javascript:, mailto:, tel:, and data: links are excluded.","failureModes":["Private or link-local URLs (e.g. 192.168.x.x, localhost) are blocked for SSRF safety","Non-public or non-http(s) URLs will be rejected","Pages with no outbound links return count: 0 and empty links array","Heavily JavaScript-rendered pages may return fewer links than expected (static HTML only)","maxLinks values outside 1–50 are clamped to the valid range","Payment failure results in 402 response requiring 0.03 USDC on Base"],"whenToPreferThis":"Choose this endpoint when you need to enumerate outbound hyperlinks from a specific public HTML page, especially for SEO audits, content graph mapping, or link discovery workflows. It is purpose-built for link extraction with anchor text, unlike general page scrapers that return raw HTML or plain text. Prefer it over full-page content extractors when you specifically need href/anchor-text pairs rather than readable body text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:19:15.912Z","isFirstParty":false,"canonicalSlug":"scrooge-x402-link-graph-extractor-d198fdb6"}