{"uid":"cap_tYd0UXQTg5k6YIASG35Lo","slug":"gateway-d402-xyz-web-page-render-snapshot-50f0a7f1","name":"Web Page Render Snapshot","description":"Paid d402 capability alias for web.render_snapshot@1. Workers render a page in a browser and return snapshot and screenshot content IDs.","url":"https://gateway.d402.xyz/v1/web/render-snapshot?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL to render in a browser."},"sync":{"type":"boolean","description":"Optional d402 sync flag. Defaults to gateway policy."},"fullPage":{"type":"boolean","description":"Capture a full-page screenshot when true. Defaults to true."},"viewport":{"type":"object","properties":{"width":{"type":"number"},"height":{"type":"number"}},"description":"Optional browser viewport. Defaults to 1280x720.","additionalProperties":false},"timeoutMs":{"type":"number","maximum":45000,"minimum":1,"description":"Optional per-request timeout, capped by gateway policy."},"waitForSelector":{"type":"string","description":"Optional selector that must appear before screenshot capture."}},"additionalProperties":false},"responseSchema":{"type":"object","required":["taskId","status"],"properties":{"error":{"type":["string","null"]},"links":{"type":"object","properties":{"task":{"type":"string"},"result":{"type":"string"},"receipt":{"type":"string"}}},"result":{"type":"object","required":["url","snapshotCid","contentHash","renderedAt","snapshotterVersion"],"properties":{"url":{"type":"string"},"title":{"type":["string","null"]},"status":{"type":"number"},"viewport":{"type":"object"},"renderedAt":{"type":"string"},"contentHash":{"type":"string"},"serviceName":{"type":"string"},"snapshotCid":{"type":"string"},"screenshotCid":{"type":["string","null"]},"serviceVersion":{"type":"string"},"screenshotBytes":{"type":["number","null"]},"screenshotMimeType":{"type":["string","null"]},"snapshotterVersion":{"type":"string"}}},"status":{"enum":["accepted","rejected","running","error"],"type":"string"},"taskId":{"type":"string"},"settlement":{"type":["object","null"],"additionalProperties":true},"x402Settlement":{"type":["object","null"],"additionalProperties":true},"validationReceipt":{"type":["object","null"],"additionalProperties":true}}},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TxiUtrnHEPPgNkes9TmKX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"gateway.d402.xyz","brandSlug":"gateway-d402-xyz-x402","brandBaseUrl":"https://gateway.d402.xyz","brandDocsUrl":null,"whatItDoes":"Renders a public URL in a headless browser and returns snapshot evidence including HTML content hash and screenshot as content IDs.","exampleAgentPrompt":"Render https://example.com/product/123 in a browser and give me a full-page screenshot snapshot with the content hash as evidence — use a 1280x720 viewport and wait up to 20 seconds.","exampleUseCases":null,"resultDescription":"Returns a task ID and status, plus a result object containing the rendered page URL, a snapshot CID (content identifier for the HTML snapshot), an optional screenshot CID, a SHA content hash, page title, HTTP status code, render timestamp, and viewport info. Links to the task, result, and payment receipt are also provided.","failureModes":["URL is not publicly accessible or returns non-200 → error status with error message","Timeout exceeded (max 45000ms) before page finishes loading → error status","waitForSelector never appears within timeout → error or incomplete snapshot","Invalid URL format → request rejected with validation error","Page renders but screenshot capture fails → screenshotCid is null","Network or worker infrastructure failure → error status"],"whenToPreferThis":"Choose this endpoint when you need tamper-evident, browser-rendered proof of a webpage's visual appearance and content at a specific moment — especially for archival, compliance, or dispute resolution. Prefer it over plain HTTP fetches when JavaScript-rendered content must be captured, or when a cryptographic content hash plus screenshot are required as evidence. Use when you need both the visual screenshot and a verifiable content fingerprint together.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T22:25:36.080Z","isFirstParty":false,"canonicalSlug":"gateway-d402-xyz-web-page-render-snapshot-50f0a7f1"}