{"uid":"cap_hlgcnh0wgz0yuqh8h9dv4","slug":"page-link-extractor-dfe5e516","name":"Page Link Extractor","description":"Extract every link from a public page for crawling agents: de-duplicated absolute URLs with anchor text, internal/external counts, declared feeds and a sitemap hint.","url":"https://api.agentstools.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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public http(s) URL"},"same_host_only":{"type":"boolean","description":"Keep only links on the same host (default false)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_vx9AwxGEGeK8atgTiGg1F","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":"Extracts all de-duplicated, absolute URLs with anchor text from a public webpage, including internal/external link counts, feed declarations, and a sitemap hint.","exampleAgentPrompt":"Can you pull all the links from https://example.com/blog — just the ones staying on the same host — so I can see what pages they link to internally, along with anchor text and any feeds they declare?","exampleUseCases":null,"resultDescription":"A structured response containing de-duplicated absolute URLs paired with anchor text, counts of internal vs external links, any declared RSS/Atom/JSON feeds found on the page, and a hint about the site's sitemap location.","failureModes":["Non-public or paywalled URL returns access error","Invalid or malformed URL returns validation error","Timeout if the target page is slow or unresponsive","Page with no links returns empty link array","Private/intranet URLs not reachable by the crawler"],"whenToPreferThis":"Use this endpoint when an agent needs to enumerate all hyperlinks on a single public page for crawling, site mapping, feed discovery, or link analysis — especially when you need de-duplicated absolute URLs with anchor text and internal/external classification in one call, without building a custom scraper.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:02:32.069Z","isFirstParty":false}