{"uid":"cap_Grn_phnVomdeXnnCi6LNR","slug":"scrapemole-reader-extract-all-links-from-a-web-page-951576b8","name":"ScrapeMole Reader – Extract All Links from a Web Page","description":"Pay-per-call web reading for agents: any public page as clean Markdown, link-preview/SEO metadata (Open Graph, Twitter card, favicon, JSON-LD), RSS/Atom/JSON feeds normalized, every link on a page (internal/external, rel) and a site's XML sitemap as a URL list. USDC via x402, no accounts or API keys; failed calls are never charged.\n\nPayments: x402 v2, scheme \"exact\", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://reader.scrapemole.workers.dev/terms","url":"https://reader.scrapemole.workers.dev/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","examples":["https://www.sitemaps.org"],"description":"Public http(s) URL of the page."},"type":{"enum":["all","internal","external"],"type":"string","default":"all","description":"Which links to return."},"limit":{"type":"string","default":"500","description":"Max distinct links (1-2000)."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://example.com","count":1,"links":[{"url":"https://iana.org/domains/example","text":"Learn more","count":1,"internal":false}],"finalUrl":"https://example.com/","totalAnchors":1,"externalCount":1,"internalCount":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8GPN8TovgfQKYJa9LDV7x","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches all hyperlinks from any public web page and returns them as a structured list with URL, anchor text, internal/external classification, and occurrence count.","exampleAgentPrompt":"Can you pull all the external links from https://example.com and give me a list with their anchor text? Limit it to 200 links.","exampleUseCases":[{"title":"Outbound link audit for SEO","prompt":"Pull all external links from https://myblog.com/article/seo-tips and list each URL with its anchor text — I want to review where I'm sending readers."},{"title":"Internal navigation mapping","prompt":"Get all internal links from https://docs.myapp.io/getting-started so I can map out the site's navigation structure. Only internal links, up to 500."},{"title":"Competitor backlink discovery","prompt":"Scrape https://competitor.com and give me every external link they're pointing to — I want to see which third-party sites they reference most."}],"resultDescription":"A JSON object containing the source URL, final (redirected) URL, total anchor count, internal link count, external link count, and an array of link objects each with: url, anchor text, internal flag, and occurrence count on the page.","failureModes":["Page not publicly accessible or behind a login wall — returns error, no charge","Invalid or malformed URL provided — request rejected","Page returns non-200 status — call fails and is not charged","Link limit parameter out of range (must be 1–2000) — validation error","Page has no links — returns empty links array with zero counts"],"whenToPreferThis":"Choose this endpoint when you need a structured, deduplicated list of all hyperlinks on a specific page — including anchor text, internal/external classification, and occurrence counts — without needing the full page content. It is ideal for SEO audits, link graph analysis, site structure discovery, and outbound link monitoring. Prefer sibling endpoints for full Markdown content, SEO metadata, or RSS feeds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:41:06.185Z","isFirstParty":false,"canonicalSlug":"scrapemole-reader-extract-all-links-from-a-web-page-951576b8"}