All options

Every public parameter, its type, default and limits.

144 parameters. Unknown parameters are rejected with request_not_valid rather than silently ignored, so a typo fails immediately instead of producing a subtly wrong capture.

Essentials

ParameterDescription
url
Public HTTP or HTTPS URL to capture.
html
Inline HTML to render instead of a URL. POST only.
markdown
Inline Markdown rendered through a deterministic template. POST only.
format
Output format. Defaults to `jpg` on /take and `mp4` on /animate.
png · jpeg · jpg · webp · gif · jp2 · tiff · avif · heif · pdf · html · markdown · text · mp4 · mov · avi · webm
response_type
not cached
How the result is returned: raw bytes, a JSON envelope, or an empty acknowledgement.
by_format · json · empty
selector
Capture only the element matching this CSS selector.
selector_algorithm
How the element is captured: `default` uses the browser element API, `clip` converts the bounding box into a clip rectangle. The selector is always CSS.
default · clip
selector_scroll_into_view
Scroll the selected element into view before capturing.
capture_beyond_viewport
Allow the capture to extend past the viewport bounds.
scroll_into_view
Scroll this selector into view before capturing the viewport.
scroll_into_view_adjust_top
Pixel offset applied after `scroll_into_view`, to clear sticky headers.
request_gpu_rendering
gpu
Route the job to the GPU-backed pool.
include_shadow_dom
Traverse open shadow roots when resolving selectors and serializing HTML.
attachment_name
not cached
Sets Content-Disposition so browsers download the result under this name.
external_identifier
not cached
Your own correlation id, echoed in logs, JSON responses and webhooks.

PDF

ParameterDescription
pdf_print_background
Print CSS backgrounds.
pdf_fit_one_page
Fit the whole document onto a single custom-sized page.
pdf_landscape
Landscape orientation.
pdf_paper_format
Paper size. Ignored when `pdf_fit_one_page` is set.
a0 · a1 · a2 · a3 · a4 · a5 · a6 · letter · legal · tabloid · ledger
pdf_margin
Margin on all sides, in inches.
pdf_margin_top
Top margin in inches. Overrides `pdf_margin`.
pdf_margin_right
Right margin in inches.
pdf_margin_bottom
Bottom margin in inches.
pdf_margin_left
Left margin in inches.
pdf_header_template
HTML rendered in the PDF header. Supports Chromium's date, title, url, pageNumber and totalPages classes.
pdf_footer_template
HTML rendered in the PDF footer. Supports Chromium's date, title, url, pageNumber and totalPages classes.

Vision

ParameterDescription
openai_api_key
secret
Your own OpenAI key. Used once, never stored, redacted from every log.
vision_prompt
Prompt sent along with the rendered image.
vision_max_tokens
Token ceiling for the vision response.

Clip

ParameterDescription
clip_x
Clip origin X, in CSS pixels. On /animate this applies to GIF only.
clip_y
Clip origin Y, in CSS pixels. On /animate this applies to GIF only.
clip_width
Clip width, in CSS pixels. On /animate this applies to GIF only.
clip_height
Clip height, in CSS pixels. On /animate this applies to GIF only.

Full page

ParameterDescription
full_page
Capture the entire scrollable document.
full_page_scroll
scrolling screenshots
Scroll through the page first so lazy content loads.
full_page_scroll_delay
Milliseconds to wait after each scroll step.
full_page_scroll_by
Pixels per scroll step. 0 uses the viewport height.
full_page_max_height
Stop the capture at this document height.
full_page_slices
Return the page as several stitched slices instead of one image.
full_page_slice_height
Height of each slice.
full_page_slice_overlap_height
Overlap between consecutive slices.
full_page_algorithm
Full-page strategy: one capture of the whole document, or section-by-section for very tall pages.
default · by_sections

Viewport and device

ParameterDescription
viewport_device
Device preset id. Sets width, height, scale, touch, mobile and user agent together.
viewport_width
Viewport width in CSS pixels.
viewport_height
Viewport height in CSS pixels.
device_scale_factor
Pixel density multiplier (2 = retina).
viewport_mobile
Emulate a mobile browser.
viewport_has_touch
Advertise touch support.
viewport_landscape
Swap width and height of the selected device preset.

Image

ParameterDescription
image_quality
Encoder quality for lossy formats.
image_width
Resize output width. Aspect ratio is preserved when height is omitted.
image_height
Resize output height.
omit_background
Render with a transparent background where the format supports alpha.

Emulation

ParameterDescription
dark_mode
Emulate `prefers-color-scheme: dark`.
reduced_motion
Emulate `prefers-reduced-motion: reduce`.
media_type
CSS media type to emulate.
screen · print

Page customization

ParameterDescription
hide_selectors
Selectors to hide before capturing.
scripts
JavaScript executed in the page context, in order.
scripts_wait_until
Navigation state to reach before running scripts.
load · domcontentloaded · networkidle
styles
CSS injected into the page.
click
Selector clicked before capturing.
hover
Selector hovered before capturing.
error_on_selector_not_found
Fail when the capture, hide or wait selector does not match, instead of skipping it.
error_on_click_selector_not_found
Fail when the `click` selector does not match.
error_on_hover_selector_not_found
Fail when the `hover` selector does not match.
bypass_csp
Bypass the page Content Security Policy. Opt-in and recorded.

Blocking

ParameterDescription
block_cookie_banners
Remove consent banners using known rules.
block_banners_by_heuristics
Also try a heuristic pass for banners with no known rule.
block_chats
Remove live chat widgets.
block_ads
Block ad networks.
block_trackers
Block analytics and tracking requests.
block_requests
Glob patterns or domains to block.
block_resources
Resource types to block.
document · stylesheet · image · media · font · script · texttrack · xhr · fetch · eventsource · websocket · manifest · other

Geolocation

ParameterDescription
geolocation_latitude
Latitude reported to the Geolocation API.
geolocation_longitude
Longitude reported to the Geolocation API.
geolocation_accuracy
Accuracy in metres.

Request and context

ParameterDescription
ip_country_code
ip location
Country the managed proxy pool exits from. The catalog is served at /v1/regions.
us · ca · mx · br · pe · gb · ie · is · de · fr · it · es · cn · jp · kr · in · au · nz
proxy
secret
Your own proxy, as `http://user:pass@host:port`.
proxy_bypass_hosts
Hosts that skip the proxy.
user_agent
Custom User-Agent header.
authorization
secret
Authorization header sent to the target.
cookies
secret
Cookies as `name=value; Domain=…; Path=…` strings.
headers
secret
Extra request headers as `Name: value` strings.
time_zone
IANA time zone for the browser context.

Navigation and waiting

ParameterDescription
wait_until
Navigation state to wait for. `networkidle0` waits for zero in-flight requests, `networkidle2` for at most two.
load · domcontentloaded · networkidle0 · networkidle2
delay
Extra seconds to wait after the navigation state.
timeout
Total budget for the capture, in seconds.
navigation_timeout
Budget for navigation alone, in seconds.
wait_for_selector
Wait until this CSS selector appears.
wait_for_selector_algorithm
How many nodes satisfy the wait: the first visible match, or every match currently rendering. The selector is always CSS.
at_least_one · at_least_by_count

Cache

ParameterDescription
cache
not cached
Serve and store this capture from the cache. Cache hits are never charged.
cache_ttl
not cached
Cache lifetime in seconds. Minimum and default 4 hours, maximum 30 days.
cache_key
not cached
Custom cache key, scoped to your organization.

Storage

ParameterDescription
store
not cached
Upload the result to your own bucket.
storage_config_id
not cached
Use a storage configuration saved in the dashboard instead of inline credentials.
storage_path
not cached
Object key template. Supports {request_id}, {timestamp}, {external_identifier}, {format}, {organization_id}.
storage_endpoint
not cached
S3-compatible endpoint.
storage_access_key_id
secretnot cached
Access key id for the destination bucket.
storage_secret_access_key
secretnot cached
Secret access key for the destination bucket.
storage_bucket
not cached
Destination bucket.
storage_class
not cached
Storage class applied to the uploaded object.
storage_acl
not cached
ACL applied to the uploaded object.
storage_return_location
not cached
Include the stored object location in the JSON response.

Metadata

ParameterDescription
metadata_image_size
Include the rendered image dimensions.
metadata_fonts
Include the fonts the page actually used.
metadata_icon
Include the favicon URL.
metadata_open_graph
Include Open Graph tags.
metadata_page_title
Include the page title.
metadata_content
Include the rendered page content.
metadata_content_format
Format of the returned content.
text · html · markdown
metadata_http_response_status_code
Include the main response status code.
metadata_http_response_headers
Include allow-listed response headers. Set-Cookie and auth headers are always removed.

Async and webhooks

ParameterDescription
async
not cached
Return 202 immediately and process in the background.
webhook_url
not cached
HTTPS endpoint notified when the capture finishes.
webhook_sign
not cached
Sign the webhook body with HMAC-SHA256.
webhook_errors
not cached
Also send the webhook when the capture fails.

Failure policy

ParameterDescription
ignore_host_errors
Capture the page even when it responds with 4xx or 5xx.
fail_if_request_failed
Fail if a request matching any of these patterns fails.
fail_if_content_missing
Fail if the rendered page is missing any of these strings.
fail_if_content_contains
Fail if the rendered page contains any of these strings.
fail_if_gpu_rendering_fails
Fail instead of falling back to CPU when GPU rendering is unavailable.

Animation

ParameterDescription
scenario
What the recording does: hold the page, or scroll through it.
default · scroll
duration
Recording length in seconds.
width
Output width in pixels. Defaults to the viewport width.
height
Output height in pixels. Defaults to the viewport height.
aspect_ratio
Derive the missing dimension from this ratio.
16:9 · 4:3 · 1:1 · 9:16 · 3:4
scroll_delay
Milliseconds between scroll steps.
scroll_duration
Duration of each scroll step, in milliseconds.
scroll_by
Pixels per scroll step. 0 uses the viewport height.
scroll_start_immediately
Start scrolling as soon as recording begins.
scroll_start_delay
Milliseconds to hold at the top before scrolling.
scroll_back
Return to the top when the scroll finishes.
scroll_back_algorithm
`once` returns to the top a single time, `repeat` loops down and back for the whole recording.
once · repeat
scroll_back_after_duration
Milliseconds into the recording at which the return to the top starts. Defaults to when the scroll ends.
scroll_complete
Hold the recording for the full `duration` even when the scroll finishes earlier.
scroll_stop_after_duration
Milliseconds of scrolling before it stops, regardless of how much page is left.
scroll_easing
Easing applied to scroll motion.
linear · ease_in_sine · ease_out_sine · ease_in_out_sine · ease_in_quad · ease_out_quad · ease_in_out_quad · ease_in_cubic · ease_out_cubic · ease_in_out_cubic · ease_in_quart · ease_out_quart · ease_in_out_quart · ease_in_quint · ease_out_quint · ease_in_out_quint
scroll_try_navigate
Look for a link matching `scroll_navigate_link_hints` and follow it mid-recording, producing a site tour.
scroll_navigate_after
Milliseconds into the recording at which navigation happens. Defaults to half the duration.
scroll_navigate_to_url
Navigate to this URL instead of following a hinted link. Subject to the same egress policy as `url`.
scroll_navigate_link_hints
Link text fragments the tour looks for when `scroll_try_navigate` is set.
scroll_till_selector
Stop the scroll when this CSS selector is reached.
scroll_till_selector_adjust_top
Pixel offset applied to the `scroll_till_selector` stop position.
scroll_to_end_after
Milliseconds after which the scroll jumps straight to the bottom of the page.

Run this without writing code

These tools call the endpoint documented on this page. Whatever you configure there carries into the playground with you.