authorizationstring
Authorization header value (e.g. "Bearer <token>")
blockAdsboolean
Block advertisements on the page
blockBannersboolean
Hide cookie consent banners (default: false)
blockChatsboolean
Block live chat widgets on the page
blockRequestsstring[]
URL patterns to block (array of strings)
blockResourcesstring[]
Resource types to block (e.g. ["image", "font"])
blockTrackersboolean
Block tracking scripts on the page
bypassCSPboolean
Bypass Content-Security-Policy on the page
clickstring
CSS selector to click before capturing the screenshot
clipobject
Crop region { x, y, width, height } in pixels
cookiesstring | object[]
Cookies to set — array of "name=value" strings or { name, value, domain? } objects
darkModeboolean
Emulate dark color scheme (default: false)
delayinteger
Milliseconds to wait before capture (default: 0)
deviceScaleFactornumber
Device pixel ratio, use 2 for retina (default: 1)
extractMetadataboolean
Extract page metadata (title, description, OG tags) alongside the screenshot
formatenum
Image format (default: png)
fullPageboolean
Capture the full scrollable page (default: false)
fullPageMaxHeightinteger
Maximum pixel height cap for full-page captures
fullPageScrollboolean
Auto-scroll page before capture to trigger lazy-loaded images
fullPageScrollByinteger
Pixels to scroll per step (default: viewport height)
fullPageScrollDelayinteger
Delay between scroll steps in ms (default: 400)
geolocationobject
Emulate geolocation { latitude, longitude, accuracy? }
headersobject
Extra HTTP headers to send with the request
heightinteger
Viewport height in pixels (default: 720)
hideSelectorsstring[]
Array of CSS selectors to hide before capture
htmlstring
Raw HTML to render (required if no url/markdown)
injectCssstring
Custom CSS to inject before capturing (max 50KB)
injectJsstring
Custom JavaScript to execute before capturing (max 50KB)
markdownstring
Render Markdown content as a screenshot
mediaTypeenum
Emulate CSS media type
navigationTimeoutinteger
Navigation timeout in ms (default: 25000)
omitBackgroundboolean
Transparent background (PNG/WebP only)
qualityinteger
JPEG/WebP quality 1-100 (default: 80)
reducedMotionboolean
Emulate prefers-reduced-motion to disable animations
selectorstring
CSS selector to capture a specific element
session_idstring
Persistent session ID (Starter+ only). Reuse a live browser page created with create_session — browser state (cookies, localStorage, auth) carries over from previous requests in this session.
styleobject
Screenshot styling options — add a macOS/Windows frame, gradient/glass background, shadow, and rounded corners. Use the "theme" shortcut for one-click presets, or customize individual properties.
timeZonestring
Override browser timezone (e.g. "America/New_York")
urlstring
URL to capture (required if no html/markdown)
userAgentstring
Override the browser User-Agent string
viewportDevicestring
Device preset for viewport emulation (e.g. "iphone_14_pro", "macbook_pro_14"). Use list_devices to see all presets.
viewportHasTouchboolean
Enable touch event emulation
viewportLandscapeboolean
Landscape orientation
viewportMobileboolean
Enable mobile meta viewport emulation
waitForSelectorstring
Wait for this CSS selector to appear before capturing
waitUntilenum
When to consider navigation finished (default: networkidle2)
widthinteger
Viewport width in pixels (default: 1280)