{"uid":"cap_HDdEqZgPjrMSE44GKsym0","slug":"agishub-page-snapshot-html-screenshot-markdown-accessibility-tree-78254edc","name":"AGISHub Page Snapshot (HTML + Screenshot + Markdown + Accessibility Tree)","description":"Capture several representations of a page in one call — rendered HTML plus a PNG screenshot by default, and optionally Markdown and the accessibility tree. Backed by a headless browser. Saves round-trips when an agent needs both the content and a visual of a page.","url":"https://api.agishub.com/v1/snapshot","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"enum":["http"],"type":"string"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"Full http/https URL to capture."},"width":{"type":"integer","minimum":0,"description":"Viewport width in pixels (default 1280).","exclusiveMinimum":true},"height":{"type":"integer","minimum":0,"description":"Viewport height in pixels (default 800).","exclusiveMinimum":true},"formats":{"type":"array","items":{"enum":["html","screenshot","markdown","accessibilityTree"],"type":"string"},"description":"Which representations to return (default ['html','screenshot']). Add 'markdown' and/or 'accessibilityTree' as needed."},"full_page":{"type":"boolean","description":"Capture the full scrollable page in the screenshot instead of just the viewport (default false)."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"enum":["json"],"type":"string"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"result":"Capture several representations of a page in one call — rendered HTML plus a PNG screenshot by default, and optionally M"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4ZLH_ByC4fnu6bwAUmosi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Captures multiple representations of a web page in a single call — rendered HTML, PNG screenshot, Markdown, and/or accessibility tree — using a headless browser.","exampleAgentPrompt":"Take a full snapshot of https://example.com — I need the rendered HTML, a PNG screenshot, and the Markdown version, using a 1440px wide viewport and capturing the full scrollable page.","exampleUseCases":[{"title":"Visual QA for deployed webpage","prompt":"Grab a screenshot and rendered HTML of https://staging.myapp.com so I can check how the page looks and what content was actually rendered after deployment."},{"title":"Accessibility audit for a client site","prompt":"Capture the accessibility tree and rendered HTML of https://client-site.com/contact using a 1280px viewport — I need to review the page structure for accessibility issues."},{"title":"Content extraction for AI summarization","prompt":"Snapshot https://techcrunch.com/2024/05/01/some-article and give me the Markdown and screenshot so I can analyze what the article says and how it's laid out visually."}],"resultDescription":"A JSON object containing one or more of: rendered HTML string, base64-encoded PNG screenshot, Markdown text of the page, and/or the accessibility tree — whichever formats were requested. Returned in a single response, saving multiple round-trips.","failureModes":["URL is unreachable or returns a non-2xx status — headless browser may return empty or error body","Page uses heavy JavaScript that times out before rendering completes","Invalid or malformed URL causes a 400 bad request","Requested format not supported returns validation error","Full-page screenshot of very long pages may time out or produce oversized output","Anti-bot protections (CAPTCHA, bot detection) on the target page may block rendering"],"whenToPreferThis":"Use this endpoint when an agent needs both the visual representation and structured content of a page in a single call, avoiding multiple round-trips. Especially useful when you need rendered (JavaScript-executed) HTML rather than raw source, or when you need the accessibility tree for structured understanding. Prefer over generic scraping endpoints when you want a PNG screenshot alongside content, or when Markdown output is needed for downstream LLM processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:47:29.229Z","isFirstParty":false}