Warning: session_start(): open(/opt/alt/php83/var/lib/php/session/sess_13ajju9tefo660puivmol4ce8m, O_RDWR) failed: Disk quota exceeded (122) in /home/u824038126/domains/shoslhgera.com/public_html/siteshot/includes/bootstrap.php on line 21

Warning: session_start(): Failed to read session data: files (path: /opt/alt/php83/var/lib/php/session) in /home/u824038126/domains/shoslhgera.com/public_html/siteshot/includes/bootstrap.php on line 21
How to Take a Full Page Screenshot with an API — Site-Shot
Tutorials · June 2, 2026 · 5 min

How to Take a Full Page Screenshot with an API

Capturing a full page screenshot means rendering the entire scrollable height of a website, not just what fits inside the browser viewport. This is essential for archiving pages, generating previews, or building visual regression tests.

Why full_page matters

Most screenshot tools only capture the visible area unless told otherwise. By passing full_page=1 to the API, the rendering engine scrolls through the entire page and stitches the result into one continuous image.

Example request

GET /api/screenshot?url=https://example.com&full_page=1&key=YOUR_API_KEY

Combine this with the format parameter to choose between PNG for crisp detail or JPEG for smaller file sizes.

Common pitfalls

  • Infinite-scroll pages may never finish loading — set a reasonable delay.
  • Lazy-loaded images can appear blank if the capture happens too fast.
  • Very tall pages increase processing time and output size.

With the right parameters, full page screenshots become a reliable building block for documentation, QA, and marketing workflows.

← Back to blog