Skip to main content
Control the browser viewport size and capture behavior.

Viewport Dimensions

ParameterDefaultRangeDescription
viewport.width1920100-3840Width in pixels
viewport.height1080100-2160Height in pixels
{
  "url": "https://example.com",
  "viewport": {
    "width": 1280,
    "height": 720
  }
}

Common Viewport Sizes

DeviceWidthHeight
Desktop HD19201080
Desktop1280720
Laptop1366768
Tablet Portrait7681024
Tablet Landscape1024768
Mobile375667
Mobile Large414896

Full Page Capture

Capture the entire scrollable page, not just the visible viewport.
{
  "url": "https://example.com",
  "isFullPage": true
}
Full page captures may take longer and produce larger files for long pages.

Viewport vs Full Page

OptionCapturesBest For
isFullPage: falseVisible viewport onlyAbove-the-fold content
isFullPage: trueEntire scrollable pageFull page archives, PDFs

Examples

Desktop Screenshot

{
  "url": "https://example.com",
  "viewport": {
    "width": 1920,
    "height": 1080
  }
}

Mobile Screenshot

{
  "url": "https://example.com",
  "viewport": {
    "width": 375,
    "height": 667
  }
}

Full Page PDF

{
  "url": "https://example.com",
  "format": "pdf",
  "isFullPage": true
}

Custom Aspect Ratio

{
  "url": "https://example.com",
  "viewport": {
    "width": 1200,
    "height": 630
  }
}
The 1200x630 size is ideal for social media OG images.