{"uid":"cap_D93O5mvi8guJKgsnFcvvJ","slug":"extract-links-from-page-5d8fe7be","name":"Extract Links from Page","description":"Use to list links on a page as structured rows: url, title, desc, rel, nofollow, internal/external, and kind. Not cleaned article body. An empty page returns item error no_links. After filter and dedupe, all unique links are returned; truncated_links is always false.","url":"https://api.qocgpiywhm.com/api/v1/tools/extract_links?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_DK3PyPh8ZUwBELSJ1kqdB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all unique hyperlinks from a given URL as structured rows with URL, title, description, rel attributes, nofollow status, internal/external classification, and link kind.","exampleAgentPrompt":"Can you pull all the links from https://example.com/blog and give me a structured list showing which ones are internal vs external, whether they're nofollow, and what kind of link each one is?","exampleUseCases":[{"title":"SEO link audit for a webpage","prompt":"Go to https://mybrand.com/resources and extract every link — I need to know which are internal vs external, which have nofollow set, and the rel attributes so I can audit our link equity."},{"title":"Competitor outbound link discovery","prompt":"Extract all the links from https://competitor.com/partners so I can see which external sites they're linking to and how they're classified."},{"title":"Navigation structure mapping","prompt":"Pull all links from https://docs.myproduct.com and list them with their titles and kinds so I can understand the site's navigation and internal linking structure."}],"resultDescription":"Returns an array of structured link objects, each containing: url, title, desc (description or anchor context), rel attribute value, nofollow boolean, whether the link is internal or external to the source domain, and a kind classification. All results are filtered and deduplicated; truncated_links is always false. If no links are found, returns an item error with code no_links.","failureModes":["Page has no links — returns item error with code no_links","Target URL is unreachable or returns non-200 status — extraction may fail or return empty","Dynamically rendered (JavaScript-heavy) pages may yield fewer links if JS is not executed","Rate limiting or bot protection on target page may prevent fetching","Malformed or non-HTML content-type pages may return no structured links"],"whenToPreferThis":"Choose this endpoint when you need structured hyperlink metadata from a page — especially when you need rel attributes, nofollow classification, internal/external distinction, and link kind — rather than article body text or general page metadata. Use it for link audits, SEO analysis, site crawling pipelines, or mapping outbound references. It is not suitable for extracting readable article content or page-level metadata like Open Graph tags (use sibling endpoints for those).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T00:38:15.264Z","isFirstParty":false,"canonicalSlug":"extract-links-from-page-5d8fe7be"}