{"uid":"cap_V1XyvWKy31y3VqLl0bwEh","slug":"stableflare-dev-03b71e1d","name":"Stableflare Screenshot API","description":"Pay-per-request access to Replicate AI and Cloudflare Browser Rendering. No API keys, no subscriptions.","url":"https://stableflare.dev/api/browser/screenshot?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"URL to render"},"html":{"type":"string","description":"HTML content to render instead of URL"},"cookies":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"selector":{"type":"string","description":"CSS selector to screenshot a specific element"},"viewport":{"type":"object","properties":{"width":{"type":"number"},"height":{"type":"number"},"deviceScaleFactor":{"type":"number"}},"additionalProperties":false},"userAgent":{"type":"string"},"gotoOptions":{"type":"object","properties":{"timeout":{"type":"number"},"waitUntil":{"enum":["load","domcontentloaded","networkidle0","networkidle2"],"type":"string"}},"additionalProperties":false},"authenticate":{"type":"object","required":["username","password"],"properties":{"password":{"type":"string"},"username":{"type":"string"}},"additionalProperties":false},"waitForSelector":{"type":"string","description":"CSS selector to wait for"},"screenshotOptions":{"type":"object","properties":{"clip":{"type":"object","required":["x","y","width","height"],"properties":{"x":{"type":"number"},"y":{"type":"number"},"width":{"type":"number"},"height":{"type":"number"}},"additionalProperties":false},"type":{"enum":["png","jpeg"],"type":"string"},"quality":{"type":"number","maximum":100,"minimum":0},"fullPage":{"type":"boolean"},"omitBackground":{"type":"boolean"}},"additionalProperties":false},"setExtraHTTPHeaders":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}}},"responseSchema":null,"example":{"request":{"url":"https://example.com","gotoOptions":{"timeout":30000,"waitUntil":"domcontentloaded"}},"response":{"_truncated":true,"_originalSize":29750}},"exampleRequest":{"url":"https://example.com","gotoOptions":{"timeout":30000,"waitUntil":"domcontentloaded"}},"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":6,"rating":{"score":"0.94","successRate":"0.98","reviews":6,"stars":"4.8","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"5.0000","medianCents":"5.0000","p90Cents":"5.0000","minCents":"5.0000","maxCents":"5.0000","p95Cents":"5.0000","sampleCount":15,"varies":false,"failureChargeRate":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_-IHiLRaCjBkE1aeKL8Or1","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 a screenshot of any URL or HTML content and returns a PNG or JPEG image, with support for full-page capture, element selection, and custom viewports","exampleAgentPrompt":"Can you take a full-page screenshot of https://example.com and give me a PNG image with a 1280x800 viewport?","exampleUseCases":null,"resultDescription":"A PNG or JPEG binary image of the rendered webpage or HTML content, reflecting the full page or a specific element, at the specified viewport dimensions.","failureModes":["URL is unreachable or returns a non-200 status — screenshot may fail or return blank","Invalid CSS selector causes element capture to fail","Timeout if the page takes too long to load JavaScript","Malformed HTML input causes rendering errors","Unsupported image format requested","Payment not accepted or insufficient USDC balance"],"whenToPreferThis":"Use this endpoint when you need a visual image of a live or static webpage, including JavaScript-rendered content. Prefer this over HTML scrapers when the goal is visual verification, thumbnail generation, or capturing styled page layouts. Also useful for archiving visual snapshots of pages or rendering custom HTML to image.","instructions":null,"reviewSummary":"Cloudflare API screenshot capability earns top accuracy and reliability marks across all six reviews, handling full-page captures, authenticated cookie-gated dashboards, high-resolution @2x viewports, and large payloads without issue. Latency ranges from ~4s to ~10s depending on payload size, and output is returned as base64-encoded PNG or JPEG. Rated slightly lower on value by some reviewers, though no functional failures were recorded.","reviewSummaryHighlights":["Handles authenticated pages via cookie injection — a differentiator from most screenshot tools","Consistent 5/5 accuracy across all reviews, including complex CSS frameworks and high-res @2x renders","Reliable enough for automated failover chains, with fast response (~4–10s) and predictable output format"],"reviewSummaryConcerns":["Value ratings occasionally dip to 4/5, suggesting pricing may feel high relative to simpler use cases","Reliability rated 4/5 in one review, though no specific failure was described"],"reviewSummaryGeneratedAt":"2026-09-18T08:15:10.227Z","activationCount":62,"lastUsedAt":"2026-09-17T09:02:25.019Z","lastSuccessfullyRanAt":"2026-09-17T09:02:25.019Z","lastHealthCheckAt":"2026-10-09T18:47:06.239Z","isFirstParty":false,"canonicalSlug":"stableflare-dev-03b71e1d"}