{"slug":"screenshot-api-production-fe7e-up-railway-app-capture-screen-f570c6","title":"Capture a viewport-sized PNG screenshot of an http(s) URL with headless Chromium","host":"screenshot-api-production-fe7e.up.railway.app","method":"POST","resource":"https://screenshot-api-production-fe7e.up.railway.app/capture/screenshot","category":"other","description":"Capture a viewport-sized PNG screenshot of an http(s) URL with headless Chromium; returns a JSON envelope with the PNG base64-encoded under image_base64, plus final_url, title, viewport, and size.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1441,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"height":800,"url":"https://example.com","wait_until":"networkidle","width":1280},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"height":{"description":"Viewport height in pixels (240-3840). Defaults to 800.","type":"integer"},"url":{"description":"The http(s) URL to capture, e.g. 'https://example.com'. Internal/loopback hosts are rejected.","type":"string"},"wait_until":{"description":"Playwright load state to wait for before capture: 'load', 'domcontentloaded', 'networkidle', or 'commit'. Defaults to 'networkidle'.","type":"string"},"width":{"description":"Viewport width in pixels (320-3840). Defaults to 1280.","type":"integer"}},"required":["url"],"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"},"output":{"properties":{"example":{"properties":{"final_url":{"type":"string"},"format":{"type":"string"},"image_base64":{"description":"Base64-encoded PNG bytes of the viewport screenshot.","type":"string"},"size_bytes":{"type":"integer"},"title":{"type":"string"},"url":{"type":"string"},"viewport":{"description":"The clamped viewport used, as {width, height} in pixels.","type":"object"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1441,"error":null}],"description_full":"Capture a viewport-sized PNG screenshot of an http(s) URL with headless Chromium; returns a JSON envelope with the PNG base64-encoded under image_base64, plus final_url, title, viewport, and size.","last_updated":"2026-08-26T06:29:27.597Z","schemes":["exact"]}