{"uid":"cap_h8E5EIfplNXQkEfY7bW9z","slug":"agishub-page-snapshot-f87c6704","name":"AGISHub Page Snapshot","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/paid/snapshot","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"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},"type":{"enum":["http"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"enum":["json"],"type":"string"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_juakgW5JG0fyoIyCmhLha","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Captures multiple representations of a web page in one call — rendered HTML, PNG screenshot, Markdown, and/or accessibility tree — using a headless browser.","exampleAgentPrompt":"Take a snapshot of https://example.com — I need both the rendered HTML and a PNG screenshot, using a 1440px wide viewport and capturing the full scrollable page.","exampleUseCases":[{"title":"Visual QA of a deployed webpage","prompt":"Go to https://myapp.staging.io/dashboard and grab a full-page screenshot plus the rendered HTML so I can check how it looks after the latest deploy — use a 1280px wide viewport."},{"title":"Accessibility audit data collection","prompt":"Fetch the accessibility tree and rendered HTML from https://shop.example.com/checkout — I want to audit the page structure for screen-reader compatibility."},{"title":"Agent content and layout verification","prompt":"Snapshot https://news.ycombinator.com and return the Markdown and a screenshot so I can see both the readable content and the visual layout in one go."}],"resultDescription":"A JSON object containing the requested representations of the page: rendered HTML string, a base64-encoded PNG screenshot, Markdown text, and/or the accessibility tree — depending on which formats were requested. All are returned in a single response, eliminating the need for multiple round-trips.","failureModes":["Invalid or unreachable URL returns an error with a connection or DNS failure message","Timeout if the target page takes too long to load or render","Invalid format values in the formats array cause a validation error","Width or height of 0 or less is rejected by the schema","Payment failure via x402 protocol results in a 402 response before any capture occurs"],"whenToPreferThis":"Choose this endpoint when you need more than one representation of a page simultaneously — e.g., both visual and HTML or Markdown — and want to avoid multiple round-trips. It is ideal for agents that need to both read page content and verify the visual layout, or that need accessibility tree data alongside rendered content. Prefer the simpler fetch-to-Markdown sibling endpoint if you only need clean text content and no screenshot.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:51:35.641Z","isFirstParty":false}