{"uid":"cap_-JQnnI_O5bzHgleSCIlqL","slug":"agentreader-link-extractor-2d1ee841","name":"AgentReader Link Extractor","description":"Extract every hyperlink on a web page as structured JSON: resolved absolute URL, anchor text, internal-vs-external classification and nofollow flag, up to 2000 unique links. The building block for agent crawlers that need to decide where to go next, plus broken-link sweeps, backlink and SEO analysis, and site mapping.","url":"https://agentreader.dev/links","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":"Absolute http(s) URL of the page"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MmoA-admpR3iStKGaqZ5r","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 web page as structured JSON, including absolute URL, anchor text, internal/external classification, and nofollow flag, up to 2000 unique links.","exampleAgentPrompt":"Can you extract all the hyperlinks from https://example.com/blog and tell me which ones are external and which have nofollow set?","exampleUseCases":[{"title":"SEO audit of outbound links","prompt":"Pull all the links from https://mysite.com/homepage and show me which ones are external and whether they have nofollow on them — I'm doing an SEO audit."},{"title":"Site crawl seed list generation","prompt":"Extract every link from https://docs.acmecorp.com/overview so I can use them as the starting URLs for a full site crawl."},{"title":"Competitor backlink profile check","prompt":"Grab all the hyperlinks on https://competitor.com/resources and separate out the internal links from the external ones for me."}],"resultDescription":"A structured JSON array of up to 2000 unique hyperlinks found on the page, each containing the absolute URL, anchor text, a flag indicating whether the link is internal or external to the page's domain, and a nofollow boolean flag derived from the rel attribute.","failureModes":["Invalid or unreachable URL returns an error response","Pages with JavaScript-rendered links may not return dynamically injected anchors","Pages behind authentication or paywalls may return no links or an error","Pages with more than 2000 links will be truncated to the first 2000 unique links","Malformed HTML may result in incomplete link extraction"],"whenToPreferThis":"Choose this endpoint when you specifically need a structured, enumerated list of hyperlinks from a page with metadata like anchor text, internal/external classification, and nofollow status. It is ideal for SEO audits, crawler seed generation, and site mapping. Prefer it over general-purpose content extraction endpoints when links — not page text or metadata — are the primary output needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:42:10.110Z","isFirstParty":false}