DataForSEO OnPage API icon

DataForSEO OnPage API

DataForSEO

Get Page Screenshot

AI-generated

Summary

Request a live screenshot of a specified webpage from DataForSEO’s OnPage API. Choose whether to capture the full page, and optionally set language, user agent, browser viewport, cookie popup handling, and proxy settings.

Inputs

  • Page URL (required) — URL of the page to capture.
  • Language Header for Accessing the Website — Optional Accept-Language header sent when accessing the page.
  • Custom User Agent — Optional user agent string used to access the page.
  • Preset for Browser Screen Parameters — Optional browser preset: Desktop, Mobile, or Tablet.
  • Browser Screen Width — Optional viewport width in pixels.
  • Browser Screen Height — Optional viewport height in pixels.
  • Browser Screen Scale Factor — Optional browser screen scale factor.
  • Disable the Cookie Popup? — Whether to disable the page’s cookie popup.
  • Switch Proxy Pool? — Whether to switch the proxy pool.
  • Take a Screenshot of the Full Page? — Capture the full page when enabled (default); when disabled, capture only the initially visible area.
  • Proxy Pool — Optional proxy pool location: US or DE.

Output shape

A single item containing the DataForSEO API response as JSON.

The operation makes a direct live request to the page_screenshot endpoint and returns its response without polling for a later task result. The screenshot data is part of the API response; the node does not return a separate binary file.

Links

Discussion