All options

The complete list of options for POST /screenshot (JSON body) and GET /screenshot (query parameters). For worked examples with pictures, see the Guides. Options marked Starter+, Pro+ or Scale require that plan — see plan-gated options.

Content

OptionTypeDescription
urlstringPage to capture.
htmlstringRaw HTML to render instead of a URL.
markdownstringMarkdown rendered to a styled page.
selectorstringCapture only the matching element. See guide.

Output

OptionTypeDescription
formatstringpng, jpeg, webp, pdf (pdf: Starter+).
qualitynumber1–100 for jpeg/webp.
fullPagebooleanCapture the entire scrollable page.
responsestringurl (signed URL, default) or base64.

Rendering

OptionTypeDescription
viewportobject{ width, height, deviceScaleFactor, isMobile }. Pro+ for deviceScaleFactor > 1 or sizes above 1920×1080.
devicestringDevice preset, e.g. iPhone 14 Pro.
orientationstringportrait or landscape.
darkMode / darkModeCSS / darkModeInvertImagesmixedDark rendering, with optional custom dark CSS. Starter+.
geolocation / timezone / autoLocalemixedLocation & locale spoofing.

Waiting & timing

OptionTypeDescription
waitForstringWait for a selector before capturing.
waitUntilstringload, domcontentloaded, networkidle0/2.
timeoutnumberNavigation timeout, 1000–60000 ms.
scrollDistance / scrollDelay / pauseAtViewportmixedFull-page scroll tuning for lazy-loading pages (defaults 100 px / 150 ms / true) — see scrolling screenshots.

Blocking & modification

OptionTypeDescription
blockAds / blockCookieBanners / blockChatWidgets / blockPopupsbooleanContent blocking.
hideSelectorsstring[]Remove matching elements. Pro+.
styles / scriptsstringInject custom CSS (max 100KB) / JavaScript (max 50KB). Scale.
waitAfterScriptnumberMs to wait after scripts run before capturing.
interactionsarrayclick / scroll / hover / type / wait steps (max 50). Pro+.

AI analysis

OptionTypeDescription
ai.ocrbooleanExtract all visible text from the capture. Pro+.
ai.extractobject{ prompt, schema? } — structured data as JSON. Pro+.
ai.analyzeobject{ type?, prompt? } — general / seo / ux / accessibility review. Pro+.

Each task is one AI call from the plan's monthly quota — see the AI analysis guide. Not supported for PDFs.

Caching & delivery

OptionTypeDescription
cache / cacheTtl / forceRefreshmixedCaching controls.
webhookUrl / webhookSecretstringAsync delivery — see guide.