{"uid":"cap_xQ-xH_YG5YORmHk393QvI","slug":"screenshot-x402-take-screenshot-a38145de","name":"Screenshot-x402 Take Screenshot","description":"Screenshot-x402 is a pay-per-request screenshot API for AI agents. No API keys, no subscriptions, x402 payments, Cloudflare Browser Rendering, optional vision.","url":"https://screenshotx402.com/tool/take_screenshot?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Absolute https URL to capture"},"delay":{"type":"number","default":0,"maximum":30000,"minimum":0,"description":"Extra wait after load (ms)"},"width":{"type":"number","default":1920,"maximum":3840,"minimum":100,"description":"Viewport width"},"format":{"enum":["png","jpeg"],"type":"string","default":"png","description":"Output image format"},"height":{"type":"number","default":1080,"maximum":2160,"minimum":100,"description":"Viewport height"},"cacheTtl":{"type":"number","default":86400,"maximum":2592000,"minimum":0,"description":"Cache TTL seconds; 0 disables cache reads (still writes)"},"fullPage":{"type":"boolean","default":false,"description":"Capture full scrollable page"},"colorScheme":{"enum":["light","dark","no-preference"],"type":"string","default":"no-preference","description":"Emulates prefers-color-scheme before navigation"},"hideSelectors":{"type":"array","items":{"type":"string","maxLength":500,"minLength":1},"default":[],"maxItems":40,"description":"CSS selectors to hide with display:none before capture"},"deviceScaleFactor":{"type":"number","default":1,"maximum":3,"minimum":1,"description":"Viewport pixel ratio (1=normal, 2=Retina-style sharpness)"}}},"responseSchema":{"type":"json","example":{"_meta":{"cached":false,"renderTimeMs":1200},"content":[{"data":"iVBORw0KGgo=","type":"image","mimeType":"image/png"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_ADDHqdH4RwVM_DkMWQxjJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Captures a screenshot of any HTTPS URL and returns the image as base64-encoded PNG or JPEG, billed per request via x402 micropayments","exampleAgentPrompt":"Take a full-page screenshot of https://example.com in PNG format at 1920x1080, wait 2000ms after load, hide the cookie banner using selector '#cookie-banner', and use dark color scheme.","exampleUseCases":[{"title":"Monitor competitor landing pages visually","prompt":"Take a screenshot of https://competitor.com/pricing every day and flag any visual changes to the layout or pricing table so I can track when they update their offers."},{"title":"Visual QA for deployed website","prompt":"Capture a full-page screenshot of our staging site at https://staging.myapp.com after each deployment and compare it against the last known good version to catch any broken layouts or missing images."},{"title":"Generate social preview for blog post","prompt":"Render a high-quality screenshot of https://myblog.com/latest-post at 1200x630 in PNG format so I can use it as the social media preview image for sharing on Twitter and LinkedIn."}],"resultDescription":"A JSON object containing a base64-encoded image (PNG or JPEG) of the rendered webpage, along with metadata including whether the result was served from cache and the render time in milliseconds.","failureModes":["Invalid or non-HTTPS URL returns a 4xx error","URL is unreachable or times out during browser rendering","Payment not accepted or x402 handshake fails, blocking request","CSS selector list exceeds 40 items","Viewport dimensions outside allowed range (100–3840 width, 100–2160 height)","delay value exceeds 30000ms maximum","deviceScaleFactor outside 1–3 range"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to visually render a live webpage and obtain a pixel-accurate image — especially for vision model pipelines, visual verification tasks, or content monitoring — without managing API keys or subscriptions. Prefer it over headless browser infrastructure when pay-per-use x402 micropayment billing is acceptable and Cloudflare-backed rendering quality is desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:35:44.464Z","isFirstParty":false,"canonicalSlug":"screenshot-x402-take-screenshot-a38145de"}