Skip to main content
screenshot returns a link to a JPEG of the page. The link works for 7 days.

Take a screenshot

Get an API key in the Quickstart. This request captures the visible part of a page.

Read the response

data.screenshot is a public link to the image. To keep the image longer than 7 days, download it.

Capture a full page at phone size

Send the format as an object to change what is captured. This request captures the whole page in a 390 by 844 window at JPEG quality 80.
screenshotCropped is true when the page is taller than 15,000 pixels and the bottom is cut off. The field is left out when the whole page fits.

Options

With mobile set to true and no viewport, the window is 390 by 844. See Waiting and rendering.

Limits and errors

  • A full page is captured up to 15,000 pixels tall. Taller pages come back with screenshotCropped: true.
  • quality above 100 returns 400 invalidRequest with the message formats.0.quality: Send a number of at most 100.
  • A screenshot is kept as a file, so you cannot combine it with zeroDataRetention. That combination returns 400 invalidRequest.
  • A PDF cannot be captured. It comes back as Markdown only.
  • A screenshot reads the page in a browser, so it takes a few seconds.
  • To capture the page after a click or a scroll, add browser actions. Those screenshots come back in data.actions.screenshots.

Price

$1 per 1,000 pages, the same as any page. A screenshot adds nothing.