{"uid":"cap_ZHBcA2wwvVkQj3aUQ-yCp","slug":"apiacre-web-link-extractor-015f0e42","name":"APIAcre Web Link Extractor","description":"Extract and classify links from one public page or safely crawl up to 10 same-origin pages into an agent-ready site map with page provenance, depth limits, and robots.txt enforcement.","url":"https://apiacre.com/v1/web/links","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string"},"max_depth":{"type":"integer"},"max_pages":{"type":"integer"},"respect_robots":{"type":"boolean"},"include_external":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"data":{"url":"https://example.com/","count":1,"crawl":{"enabled":true,"maxDepth":2,"maxPages":3,"pagesFetched":1,"pagesAttempted":1},"links":[{"url":"https://iana.org/domains/example","text":"Learn more","external":true}],"pages":[{"url":"https://example.com/","depth":0,"title":"Example Domain","statusCode":200,"discoveredFrom":null}],"errors":[],"origin":"https://example.com","skipped":[],"external":1,"internal":0},"meta":{"cached":false,"sources":[],"warnings":[],"duration_ms":42,"next_actions":[{"path":"/v1/web/robots-sitemap","title":"Robots and sitemap audit","method":"POST","reason":"Compare crawl-discovered pages with robots.txt rules and declared XML sitemap...","service":"web.robots-sitemap"}]},"service":"web.links","version":"1","request_id":"018f1f54-7f38-7ba2-8dc3-5f90272d9f1a"}},"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_t5QANUMahDlqnnPrFBl2g","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, normalizes, and classifies all internal and external hyperlinks from a public web page URL.","exampleAgentPrompt":"Can you pull all the internal and external links from https://example.com/blog and tell me which ones go off-site?","exampleUseCases":[{"title":"SEO outbound link audit","prompt":"Grab all the links from https://mybrand.com/homepage and separate the internal ones from the external ones — I want to audit where we're sending people off-site."},{"title":"Competitor backlink discovery","prompt":"Extract every link from https://competitor.com/resources and classify them as internal or external so I can see which third-party sites they reference."},{"title":"Broken link pre-check pipeline","prompt":"Pull all the links from https://docs.myapp.com/getting-started and normalize the URLs — I need a clean list to run a broken-link check against."}],"resultDescription":"A structured list of all hyperlinks found on the given web page, each normalized to a full absolute URL and classified as either internal (same domain) or external (different domain), along with any relevant metadata such as anchor text or link type.","failureModes":["Non-public or paywalled URL returns an error or empty result","Malformed or non-HTTP URL causes a 400-level validation error","Page with JavaScript-rendered links may miss dynamically injected anchors","Rate limiting or network timeout if the target page is slow to respond","Pages that block scrapers via robots.txt or IP filtering may return empty or error"],"whenToPreferThis":"Choose this endpoint when you need a structured, normalized breakdown of all hyperlinks on a single public web page — especially when you need internal vs. external classification built in. It is ideal for SEO auditing, link graph construction, or pre-processing pages before a crawl, and avoids building your own HTML parser and URL normalization logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:43:48.160Z","isFirstParty":false}