OnPage Page Screenshot
/v1/runCapture a high-quality screenshot of a webpage with desktop, mobile, or tablet viewport settings.
Request body
Submit the public SandBase model identifier and screenshot options.
Model identifier. Set to dataforseo/v3/on_page/page_screenshot.
Default: dataforseo/v3/on_page/page_screenshot
Absolute URL of the page to capture.
Viewport preset.
Allowed values: desktop, mobile, tablet
Default: desktop
Capture the full page when true; capture only the viewport when false.
Default: true
Custom viewport width in pixels. Overrides browser_preset.
Range: 240 to 9999
Custom viewport height in pixels. Overrides browser_preset.
Range: 240 to 9999
Custom device scale factor. Overrides browser_preset.
Range: 0.5 to 3
Dismiss cookie-consent dialogs when true.
Default: false
Accept-Language header sent while loading the page.
Custom browser user-agent string.
Proxy pool location.
Allowed values: us, de
Use additional proxy pools when true.
Response Schema
The unified run envelope contains the operation result in outputs[0].data.
Opaque SandBase run identifier.
Current run status.
Allowed values: pending, running, completed, failed, timeout
Public SandBase model name used for this run.
Present when the run completes successfully.
Present for failed or timeout runs.
Usage details when available.