{"uid":"cap_a2uawTVty6uar8QGXyjnX","slug":"page-links-extractor-5d8feb0b","name":"Page Links Extractor","description":"APEX. Pass ?url= and get the links on a page: up to 200 unique absolute URLs in page order, each with anchor text (80 chars), internal or external, nofollow/sponsored/ugc flags and how often it appears, plus counts of internal, external, nofollow, #fragment and mailto/tel/javascript links. Reads the HTML as served (no JavaScript run), first 1.5 MB. Public http(s) hosts on ports 80/443/8080 only.","url":"https://apexfaucet.xyz/api/x402/page-links?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","pattern":"^https?://","description":"The public http(s) page whose links to list."}}}}},"output":{"type":"object"}}},"responseSchema":{"type":"json","schema":{"type":"object","properties":{"ok":{"type":"boolean"},"data":{"type":"object"},"paid":{"type":"number"}}},"example":{"ok":true,"data":{"ok":true,"url":"https://en.wikipedia.org/wiki/Web_crawler","counts":{"ugc":0,"noHref":0,"external":178,"internal":316,"nofollow":116,"sponsored":0,"uniqueUrls":494,"anchorsFound":766,"fragmentOnly":150,"skippedNonHttp":{"tel":0,"other":0,"mailto":0,"javascript":1}},"isHtml":true,"status":200,"finalUrl":"https://en.wikipedia.org/wiki/Web_crawler","returned":200,"reachable":true,"redirects":0,"truncated":false,"contentType":"text/html; charset=UTF-8","baseHrefUsed":null},"paid":0.002}},"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_SJxknPFyZCx_ppu59cF_k","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":"Fetches a webpage and returns up to 200 unique absolute URLs found on the page, with anchor text, internal/external classification, nofollow/sponsored/ugc flags, and link frequency counts.","exampleAgentPrompt":"Can you grab all the links from https://example.com/blog and tell me which ones are external, which have nofollow, and what the anchor text is for each?","exampleUseCases":[{"title":"SEO outbound link audit","prompt":"Pull all the links from https://mybusiness.com/services and show me which ones point to external sites, which have nofollow tags, and how many times each link appears on the page."},{"title":"Competitive link discovery","prompt":"Scrape https://competitor.com/resources and give me a full list of all the URLs they link to, with anchor text, so I can see who they reference."},{"title":"Internal linking structure check","prompt":"Check https://mysite.com/about for all its internal links — I want to know how many internal pages it links to versus external ones, and whether any are fragment-only links."}],"resultDescription":"A JSON object with an ok boolean, a paid amount in USDC, and a data object containing: up to 200 unique absolute URLs in page order, each with its anchor text (truncated to 80 chars), internal/external classification, nofollow/sponsored/ugc rel flags, and occurrence count; plus aggregate counts for internal links, external links, nofollow links, fragment (#) links, and mailto/tel/javascript links.","failureModes":["URL not publicly accessible (private network, authentication-gated) — returns error","Host not on allowed ports (80/443/8080/8443) — rejected","Non-http(s) scheme — rejected","Page exceeds 1.5 MB read limit — only first 1.5 MB parsed","JavaScript-rendered content not visible — only static HTML analyzed","Host DNS resolution failure — returns error","Request timeout on slow servers — returns error"],"whenToPreferThis":"Choose this endpoint when you need a fast, structured list of links from a static HTML page without running JavaScript. It is ideal for SEO audits, link graph analysis, outbound link discovery, and nofollow/rel attribute inspection. It is not suitable for JavaScript-heavy single-page applications where links are rendered dynamically, or for pages requiring authentication.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:38:12.959Z","isFirstParty":false,"canonicalSlug":"page-links-extractor-5d8feb0b"}