Tutorial

How to Capture a Full Page Screenshot

Capture entire web pages from top to bottom with automatic scrolling. No manual stitching required.

Steps

  1. Add full_page=trueSet the full_page parameter to true. SnapAPI automatically scrolls the page and stitches the result.
  2. Set a wide viewportUse width=1440 or wider for best results. The page renders at that width and captures everything below.
  3. Handle large pagesLong pages produce large images. Use WebP format with quality=80 to reduce file size.

Code Examples

curl "https://snapapi.tech/v1/screenshot?url=https://example.com&api_key=YOUR_KEY&full_page=true&width=1440" -o full.png
import requests

response = requests.get("https://snapapi.tech/v1/screenshot", params={
    "url": "https://example.com",
    "api_key": "YOUR_KEY",
    "full_page": "true",
    "width": "1440"
})
with open("full-page.png", "wb") as f:
    f.write(response.content)
const res = await fetch(
  "https://snapapi.tech/v1/screenshot?" + new URLSearchParams({
    url: "https://example.com",
    api_key: "YOUR_KEY",
    full_page: "true",
    width: "1440"
  })
);
require("fs").writeFileSync("full-page.png", Buffer.from(await res.arrayBuffer()));
Get Free API KeyFull API Docs