{"uid":"cap_tXfT84lew7gWSMApZ8vpM","slug":"x402-deployer-x402-deployer-workers-dev-27519b78","name":"Website Screenshot API (URL to PNG/JPG)","description":"URL to PNG / JPG / website screenshot tool. Configurable viewport, retina, crop/fit, transparent BG, JPG quality, JS wait conditions. CloudConvert capture.","url":"https://x402-deployer.x402-deployer.workers.dev/website-screenshot?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["url"],"properties":{"fit":{"type":"string","description":"How the capture fits the requested width/height: \"max\", \"crop\", or \"scale\". Optional."},"url":{"type":"string","description":"Webpage URL to capture. Must be http or https."},"width":{"type":"number","description":"Output image width in pixels. Optional; 1-8000."},"format":{"enum":["png","jpg"],"type":"string","description":"Output image format, \"png\" or \"jpg\". Optional; defaults to \"png\"."},"height":{"type":"number","description":"Output image height in pixels. Optional; 1-8000."},"quality":{"type":"number","description":"JPG compression quality. Optional; 1-100, jpg format only."},"screen_width":{"type":"number","description":"Browser viewport width in pixels. Optional; 320-3840."},"screen_height":{"type":"number","description":"Browser viewport height in pixels. Optional; 240-4320."},"device_scale_factor":{"type":"number","description":"Device pixel ratio for the capture. Optional; 1-4."},"transparent_background":{"type":"boolean","description":"If true, renders a transparent background instead of white. Optional, png format only."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"format":{"type":"string"},"image_url":{"type":"string"},"file_size_bytes":{"type":"integer"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PZcTh4eh4Rc3tHLvmkQA5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Captures a screenshot of any URL and returns a PNG or JPG image, with configurable viewport, retina resolution, crop/fit modes, transparent background, JPEG quality, and JavaScript wait conditions via CloudConvert.","exampleAgentPrompt":"Take a screenshot of https://stripe.com and give me a retina-quality PNG at 1280x800 viewport, cropped to fit, with no transparent background.","exampleUseCases":null,"resultDescription":"A rendered PNG or JPG image file of the target webpage, captured according to specified viewport size, resolution, crop/fit mode, background transparency settings, and JPG quality level.","failureModes":["URL is unreachable or returns an error — screenshot capture fails","JavaScript wait condition times out — partial or blank page render","Invalid URL format — request rejected","Unsupported image format specified — error returned","CloudConvert service unavailable — upstream failure"],"whenToPreferThis":"Use this endpoint when you need a visual render of a web page as a PNG or JPG image, especially when you require fine-grained control over viewport size, retina display, crop/fit behavior, transparent backgrounds, JPG quality, or JS-dependent content rendering. Prefer over alternatives when CloudConvert-backed fidelity and configurable capture parameters matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T15:36:08.315Z","isFirstParty":false,"canonicalSlug":"x402-deployer-x402-deployer-workers-dev-071eaf8e"}