{"uid":"cap_O0AwBADdIPS3Tjlo9DQxF","slug":"extract-and-classify-page-links-7db82aa6","name":"Extract and Classify Page Links","description":"Fetch a URL and extract every hyperlink on the page, each resolved to an absolute URL and classified as internal vs external (by registrable host), with its anchor text, rel attributes (nofollow, sponsored, ugc) and whether it opens in a new tab. Returns internal/external/nofollow counts. For SEO link audits, internal-linking analysis and outbound-link/nofollow compliance checks.","url":"https://web.openverbs.com/v1/links?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public http(s) URL to fetch. Private/loopback/link-local addresses are rejected."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_f23_L3mIPkjl9DTH-4jMU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public URL and returns all hyperlinks found on the page, classified by type and attributes","exampleAgentPrompt":"Can you fetch https://www.example.com/blog and extract all the links on that page, classified by type?","exampleUseCases":[{"title":"SEO internal link audit","prompt":"Pull all the links from https://mybrand.com/home and tell me which ones are internal versus external, with their anchor text — I want to audit our internal linking structure."},{"title":"Competitor outbound link discovery","prompt":"Go to https://competitor.com/resources and extract every link on that page — I want to see where they're linking out to and what anchor text they're using."},{"title":"Broken link detection prep","prompt":"Fetch all the hyperlinks from https://docs.mysite.com/getting-started so I can check which ones are broken — give me the full list of URLs with their link text."}],"resultDescription":"A structured list of all hyperlinks found on the fetched page, each entry including the href URL, anchor text, and classification details (e.g. internal vs external, nofollow, type of link). Allows downstream analysis of site structure, outbound references, and link attributes.","failureModes":["Private, loopback, or link-local URLs are rejected with an error","URL is unreachable or returns a non-200 HTTP status","Page contains no extractable links (returns empty list)","URL exceeds the 2048-character maximum length","Malformed URL format rejected by URI validation","JavaScript-rendered links may not be extracted if the page requires client-side rendering","Rate limiting or timeout if the target server is slow"],"whenToPreferThis":"Choose this endpoint when you need to enumerate and classify all hyperlinks from a specific webpage — particularly for SEO audits, link graph construction, outbound link discovery, or pre-crawl link harvesting. Prefer this over a general content extractor when the primary goal is link data (href, anchor text, link type) rather than readable text or structured page data. Best suited for public HTTP/HTTPS URLs that render server-side HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T18:59:08.255Z","isFirstParty":false,"canonicalSlug":"extract-and-classify-page-links-7db82aa6"}