{"uid":"cap_hY-sDFFZhjUagxAlRESqC","slug":"puptra-pdf-snapshot-extract-page-links-ece72ac4","name":"Puptra PDF Snapshot – Extract Page Links","description":"Every link on the page as absolute URLs, with optional same-domain-only and visible-only filters.","url":"https://puptra-pdf-snapshot.saastemly.com/v1/links?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"The page (https). Set url or html, not both."},"html":{"type":"string","description":"HTML to render instead of a URL."},"cookies":{"type":"array"},"viewport":{"type":"object"},"userAgent":{"type":"string"},"addStyleTag":{"type":"array"},"bestAttempt":{"type":"boolean"},"gotoOptions":{"type":"object"},"addScriptTag":{"type":"array"},"authenticate":{"type":"object"},"waitForTimeout":{"type":"number"},"waitForSelector":{"type":"object"},"emulateMediaType":{"type":"string"},"visibleLinksOnly":{"type":"boolean","description":"Only links visible on the page (default false)"},"allowResourceTypes":{"type":"array"},"allowRequestPattern":{"type":"array"},"rejectResourceTypes":{"type":"array"},"setExtraHTTPHeaders":{"type":"object"},"excludeExternalLinks":{"type":"boolean","description":"Only same-origin links (default false)"},"rejectRequestPattern":{"type":"array"},"setJavaScriptEnabled":{"type":"boolean"}}},"responseSchema":null,"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_OPqIIsryqjqGgeYB4dIvb","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 every hyperlink from a rendered web page as absolute URLs, with optional filters for same-domain-only or visible-links-only.","exampleAgentPrompt":"Can you extract all the links from https://example.com — only same-domain URLs, and only the ones that are actually visible on the page?","exampleUseCases":[{"title":"SEO internal link audit","prompt":"Pull all the same-domain links from https://myshop.com so I can audit our internal linking structure and find any broken or orphaned pages."},{"title":"Competitor outbound link discovery","prompt":"Get me every outbound link on https://competitor.com/resources — I want to see all the external sites they're linking to, even ones in hidden elements."},{"title":"Site crawl seed URL collection","prompt":"Extract all visible links from https://blog.acme.com that stay within the acme.com domain — I need them as a seed list to kick off a full site crawl."}],"resultDescription":"A list of absolute URLs representing every hyperlink found on the rendered page, optionally filtered to same-domain links only and/or only links visible in the viewport, returned as a JSON array.","failureModes":["Invalid or unreachable URL returns an error with a non-200 status","JavaScript-heavy pages that delay link injection may miss dynamically added links if render timeout is too short","Same-domain filter may behave unexpectedly if the page uses subdomains ambiguously","Pages behind authentication walls will return no or partial links","Rate limiting or bot-detection on target pages may cause empty or partial results"],"whenToPreferThis":"Choose this endpoint when you need a complete, rendered list of hyperlinks from a page that relies on JavaScript to inject links — unlike static HTML parsers, this uses a real headless browser (Puppeteer) so all dynamic links are captured. Prefer it over generic scrapers when you need absolute URL normalization and built-in same-domain or visibility filtering without writing your own post-processing logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:35:23.751Z","isFirstParty":false,"canonicalSlug":"puptra-pdf-snapshot-extract-page-links-ece72ac4"}