{"uid":"cap_5vM7INkdOlzSrGMEt78_j","slug":"agentshelf-extract-links-958f80e9","name":"AgentShelf Extract Links","description":"Call when an agent needs absolute, de-duplicated links (cap 500) from a public URL or provided HTML. Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/extract-links first.","url":"https://agentshelf.syntexa.ch/v1/extract-links?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","examples":["https://example.com/"],"maxLength":2048,"minLength":8,"description":"Public http(s) URL to fetch. When html is also sent, this is only the base for relative links. Provide url or html."},"html":{"type":"string","examples":["<a href='/about'>About</a><a href='https://example.com/docs' rel='nofollow'>Docs</a>"],"maxLength":200000,"minLength":1,"description":"HTML to parse locally instead of fetching. When both html and url are set, html is used. Provide html or url."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-m0aD-J12vwiXXP8VzNQu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all unique, de-duplicated hyperlinks (up to 500) from a public URL or provided HTML content","exampleAgentPrompt":"Can you pull all the unique links from https://example.com/sitemap and give me a de-duplicated list of up to 500 absolute URLs?","exampleUseCases":[{"title":"Sitemap link inventory for crawl","prompt":"Get me every unique link from https://docs.myproject.io so I can build a list of pages to crawl for indexing."},{"title":"Outbound link audit from HTML","prompt":"I have the HTML of our homepage — can you extract all the unique hyperlinks from it so I can check for broken or outdated URLs?"},{"title":"Competitor page link analysis","prompt":"Fetch all the links on https://competitor.com/resources and give me a clean de-duplicated list so I can see where they're pointing users."}],"resultDescription":"A list of up to 500 absolute, de-duplicated hyperlink URLs extracted from the target page or HTML. Links are normalized to absolute form and duplicates are removed.","failureModes":["URL is private, local, or a metadata address (SSRF-safe rejection)","URL is unreachable or returns a non-200 response","HTML input exceeds 200,000 character limit","No links found on the page — returns empty list","URL string too short (under 8 chars) or too long (over 2048 chars)","Payment not provided or USDC balance insufficient"],"whenToPreferThis":"Use this endpoint when you need a comprehensive, de-duplicated set of all hyperlinks (absolute URLs, up to 500) from a page — not just anchors, canonical tags, or stylesheet links. If you only need anchor hrefs or link[href] elements specifically, prefer the cheaper sibling endpoints. Try the free sandbox POST /v1/sandbox/extract-links first before paying $0.003 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:52:39.717Z","isFirstParty":false,"canonicalSlug":"agentshelf-extract-links-958f80e9"}