{"slug":"puptra-pdf-snapshot-saastemly-com-v1-screenshot-4d3dc3","title":"Capture a PNG, JPEG or WebP screenshot with Puppeteer's page.screenshot() option","host":"puptra-pdf-snapshot.saastemly.com","method":"POST","resource":"https://puptra-pdf-snapshot.saastemly.com/v1/screenshot","category":"other","description":"Capture a PNG, JPEG or WebP screenshot with Puppeteer's page.screenshot() options (fullPage, clip, omitBackground, quality 0-100 for jpeg/webp only).","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":344,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"screenshotOptions":{"fullPage":true,"type":"png"},"url":"https://example.com/"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"addScriptTag":{"type":"array"},"addStyleTag":{"type":"array"},"allowRequestPattern":{"type":"array"},"allowResourceTypes":{"type":"array"},"authenticate":{"type":"object"},"bestAttempt":{"type":"boolean"},"cookies":{"type":"array"},"deliver":{"description":"{store, name?}: keep the image in file storage","type":"object"},"emulateMediaType":{"type":"string"},"gotoOptions":{"description":"{waitUntil, timeout}","type":"object"},"html":{"description":"HTML to render instead of a URL.","type":"string"},"rejectRequestPattern":{"type":"array"},"rejectResourceTypes":{"type":"array"},"screenshotOptions":{"description":"Puppeteer page.screenshot() options as documented at pptr.dev/api/puppeteer.screenshotoptions.","properties":{"captureBeyondViewport":{"type":"boolean"},"clip":{"description":"{x,y,width,height,scale?}","type":"object"},"fromSurface":{"type":"boolean"},"fullPage":{"type":"boolean"},"omitBackground":{"type":"boolean"},"optimizeForSpeed":{"type":"boolean"},"quality":{"description":"0-100, jpeg/webp only","type":"number"},"type":{"description":"png|jpeg|webp (default png)","type":"string"}},"type":"object"},"scrollPage":{"description":"Scroll the page before capturing (lazy content)","type":"boolean"},"selector":{"description":"Screenshot this element instead of the page","type":"string"},"setExtraHTTPHeaders":{"type":"object"},"setJavaScriptEnabled":{"type":"boolean"},"url":{"description":"The page to capture (https). Set url or html, not both.","type":"string"},"userAgent":{"type":"string"},"viewport":{"description":"{width,height,deviceScaleFactor,...}; default 1920x1080","type":"object"},"waitForSelector":{"type":"object"},"waitForTimeout":{"type":"number"}},"required":[],"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":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":344,"error":null}],"description_full":"Capture a PNG, JPEG or WebP screenshot with Puppeteer's page.screenshot() options (fullPage, clip, omitBackground, quality 0-100 for jpeg/webp only).","last_updated":"2026-10-01T18:12:49.837Z","schemes":["exact"]}