GET /screenshot

Full-Page Screenshot — Capture Entire Scrollable Page

Capture a complete full-page screenshot including all content below the fold. Ideal for archiving, documentation, and long-form content pages.

Parameters

NameValueDescription
urlhttps://example.comThe public URL to capture
full_pagetrueCapture the entire scrollable page
formatpngOutput image format

cURL Example

cURL
curl -H "X-KEY: your-api-key" "https://api.scrnpix.com/screenshot?url=https://example.com&full_page=true&format=png" -o fullpage.png

SDK Example

Python
import requests

response = requests.get(
    "https://api.scrnpix.com/screenshot",
    headers={"X-KEY": "your-api-key"},
    params={"url": "https://example.com", "full_page": "true", "format": "png"}
)

with open("fullpage.png", "wb") as f:
    f.write(response.content)

Expected Output

Content-Typeimage/png
Credit Cost1 credit

Failure Modes

Page uses infinite scroll or lazy loading

Symptom: Screenshot only captures initially loaded content

Fix: Full-page capture works best with statically sized pages. For infinite-scroll pages, use the /animate endpoint with scroll_duration instead.

Very tall page produces oversized image

Symptom: Response is slow or times out

Fix: Extremely long pages may exceed rendering limits. Consider capturing specific sections using the /animate endpoint with clip parameters.

Frequently Asked Questions

Is there a maximum page height for full-page captures?

Chromium has internal limits on page height rendering. Pages up to roughly 16,000 pixels tall are reliably captured. For extremely long pages, use scrolling animations instead.

Does full-page capture handle sticky headers?

Yes, sticky elements are rendered in their fixed position. The screenshot captures the page as the browser renders it with CSS position:fixed elements in place.

Related Recipes

Ready to try this recipe?

Get your API key and run this recipe in seconds. Free tier includes 50 credits per month.

Get API Key