Appearance
Full Page Screenshots
Capture the entire scrollable page, not just the visible viewport.
Usage
Set fullPage=true to capture the complete page height:
bash
curl "https://api.urlpix.com/v1/screenshot?url=https://github.com&fullPage=true" \
-H "X-API-Key: sk_live_YOUR_KEY" \
-o full-page.pngWhen fullPage is enabled, the height parameter is ignored — the screenshot expands to fit the full document height.
With Custom Width
bash
curl "https://api.urlpix.com/v1/screenshot?url=https://github.com&fullPage=true&width=1440" \
-H "X-API-Key: sk_live_YOUR_KEY" \
-o full-page-wide.pngJavaScript Example
javascript
const params = new URLSearchParams({
url: 'https://github.com',
fullPage: 'true',
format: 'webp',
quality: '90',
})
const response = await fetch(
`https://api.urlpix.com/v1/screenshot?${params}`,
{ headers: { 'X-API-Key': 'sk_live_YOUR_KEY' } }
)Tips
- Full page screenshots can produce very large images on long pages
- Use WebP format with compression for smaller file sizes
- Consider using
clipinstead if you only need a specific section - The
delayparameter is useful for pages that lazy-load content on scroll