Skip to main content

Full Page Screenshots

By default, DomShot captures only the visible viewport area. Use the fullPage parameter to capture the entire scrollable page.

Basic full page screenshot

bash
curl "https://api.domshot.com/shot?key=YOUR_API_KEY&url=https://example.com&fullPage=true" \
  --output fullpage.png

Full page with viewport preset

bash
curl "https://api.domshot.com/shot?key=YOUR_API_KEY&url=https://example.com&fullPage=true&viewportType=mobile" \
  --output fullpage-mobile.png

Full page with custom format

bash
curl "https://api.domshot.com/shot?key=YOUR_API_KEY&url=https://example.com&fullPage=true&format=jpeg&quality=80" \
  --output fullpage.jpg

Viewport vs Full Page

FeatureViewport (default)Full Page
Capture areaVisible area onlyEntire scrollable page
Processing timeFastSlower (depends on page length)
File sizeConsistentVaries with page length
Best forHero sections, previewsDocumentation, archiving

Performance considerations

Full page screenshots have longer processing times and larger file sizes. Consider these factors:
  • Very long pages may exceed processing timeout
  • File size increases with page length
  • Higher quality settings multiply file size
Recommendations:
  • Use JPEG or WebP format for long pages to reduce file size
  • Set quality to 80-90 for good balance of size and clarity
  • Consider breaking very long pages into sections

Parameters

ParameterTypeDefaultDescription
fullPagebooleanfalseCapture the full scrollable page instead of viewport

See also