{"uid":"cap_RDK_pka9_SX0EbpaLdmbn","slug":"puptra-pdf-snapshot-screenshot-capture-98ef66a9","name":"Puptra PDF Snapshot – Screenshot Capture","description":"Capture a PNG, JPEG or WebP screenshot with Puppeteer's page.screenshot() options (fullPage, clip, omitBackground, quality 0-100 for jpeg/webp only).","url":"https://puptra-pdf-snapshot.saastemly.com/v1/screenshot?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"The page to capture (https). Set url or html, not both."},"html":{"type":"string","description":"HTML to render instead of a URL."},"cookies":{"type":"array"},"deliver":{"type":"object","description":"{store, name?}: keep the image in file storage"},"selector":{"type":"string","description":"Screenshot this element instead of the page"},"viewport":{"type":"object","description":"{width,height,deviceScaleFactor,...}; default 1920x1080"},"userAgent":{"type":"string"},"scrollPage":{"type":"boolean","description":"Scroll the page before capturing (lazy content)"},"addStyleTag":{"type":"array"},"bestAttempt":{"type":"boolean"},"gotoOptions":{"type":"object","description":"{waitUntil, timeout}"},"addScriptTag":{"type":"array"},"authenticate":{"type":"object"},"waitForTimeout":{"type":"number"},"waitForSelector":{"type":"object"},"emulateMediaType":{"type":"string"},"screenshotOptions":{"type":"object","properties":{"clip":{"type":"object","description":"{x,y,width,height,scale?}"},"type":{"type":"string","description":"png|jpeg|webp (default png)"},"quality":{"type":"number","description":"0-100, jpeg/webp only"},"fullPage":{"type":"boolean"},"fromSurface":{"type":"boolean"},"omitBackground":{"type":"boolean"},"optimizeForSpeed":{"type":"boolean"},"captureBeyondViewport":{"type":"boolean"}},"description":"Puppeteer page.screenshot() options as documented at pptr.dev/api/puppeteer.screenshotoptions."},"allowResourceTypes":{"type":"array"},"allowRequestPattern":{"type":"array"},"rejectResourceTypes":{"type":"array"},"setExtraHTTPHeaders":{"type":"object"},"rejectRequestPattern":{"type":"array"},"setJavaScriptEnabled":{"type":"boolean"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1IDYAxHcufmH0wzSl7J0P","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Captures a PNG, JPEG, or WebP screenshot of a webpage using Puppeteer with configurable options like fullPage, clip, omitBackground, and quality.","exampleAgentPrompt":"Take a full-page JPEG screenshot of https://example.com at quality 85 and give me the image back.","exampleUseCases":[{"title":"Visual regression testing snapshot","prompt":"Capture a full-page PNG screenshot of https://staging.myapp.com/dashboard so I can compare it against the last release for any visual regressions."},{"title":"Social media preview thumbnail","prompt":"Take a WebP screenshot of https://myblog.com/latest-post at quality 90 — just the above-the-fold area, not the full page — so I can use it as an open-graph preview image."},{"title":"Transparent UI component capture","prompt":"Screenshot https://design.mycompany.com/button-component as a PNG with the background removed (omitBackground on) so I can drop it onto a dark slide deck."}],"resultDescription":"Returns the rendered screenshot as an image (PNG, JPEG, or WebP) encoded in base64 or as a binary payload, reflecting the requested format, quality, and crop/clip settings applied via Puppeteer's page.screenshot() call.","failureModes":["URL unreachable or returns an error — screenshot may be blank or request fails","Invalid quality value (outside 0-100) — API returns validation error","Quality parameter used with PNG format — ignored or error since quality only applies to JPEG/WebP","Clip region out of bounds — may return empty or partial image","Page load timeout — screenshot may be incomplete or request times out","Unsupported image format string — API returns bad request error"],"whenToPreferThis":"Choose this endpoint when you need a pixel-accurate rendered screenshot of a live webpage in PNG, JPEG, or WebP format with fine-grained control over crop region, full-page vs viewport capture, background transparency, and compression quality. Prefer it over HTML/Markdown extraction endpoints when the visual appearance of the page is what matters, and over PDF endpoints when you need a raster image rather than a vector document.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T21:29:28.753Z","isFirstParty":false,"canonicalSlug":"puptra-pdf-snapshot-screenshot-capture-98ef66a9"}