{"slug":"stableflare-dev-api-browser-screenshot-af4e81","title":"Capture a screenshot of any URL or HTML","host":"stableflare.dev","method":"POST","resource":"https://stableflare.dev/api/browser/screenshot","category":"image","description":"Capture a screenshot of any URL or HTML. Returns a PNG or JPEG image. Supports full-page, element selection, custom viewport.","price_listed":0.05,"price_asked":0.05,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":295,"reported_calls_30d":34,"reported_payers_30d":5,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"authenticate":{"additionalProperties":false,"properties":{"password":{"type":"string"},"username":{"type":"string"}},"required":["username","password"],"type":"object"},"cookies":{"items":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"type":"array"},"gotoOptions":{"additionalProperties":false,"properties":{"timeout":{"type":"number"},"waitUntil":{"enum":["load","domcontentloaded","networkidle0","networkidle2"],"type":"string"}},"type":"object"},"html":{"description":"HTML content to render instead of URL","type":"string"},"screenshotOptions":{"additionalProperties":false,"properties":{"clip":{"additionalProperties":false,"properties":{"height":{"type":"number"},"width":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y","width","height"],"type":"object"},"fullPage":{"type":"boolean"},"omitBackground":{"type":"boolean"},"quality":{"maximum":100,"minimum":0,"type":"number"},"type":{"enum":["png","jpeg"],"type":"string"}},"type":"object"},"selector":{"description":"CSS selector to screenshot a specific element","type":"string"},"setExtraHTTPHeaders":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"},"url":{"description":"URL to render","format":"uri","type":"string"},"userAgent":{"type":"string"},"viewport":{"additionalProperties":false,"properties":{"deviceScaleFactor":{"type":"number"},"height":{"type":"number"},"width":{"type":"number"}},"type":"object"},"waitForSelector":{"description":"CSS selector to wait for","type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":295,"error":null}],"description_full":"Capture a screenshot of any URL or HTML. Returns a PNG or JPEG image. Supports full-page, element selection, custom viewport.","last_updated":"2026-09-17T09:02:22.988Z","schemes":["exact"]}