POST https://api.geekflare.com/screenshot
Basic Screenshot
Capture a screenshot and get back a CDN URL to the image.Response
Response
Full-Page Screenshot
Capture the entire scrollable page, not just the viewport.Image Format and Quality
Choose between PNG, JPEG, or WebP output and control quality for JPEG/WebP.Device Emulation
Emulate a mobile device to capture mobile-specific layouts.Custom Viewport
Set a custom viewport width, height, or page height for partial screenshots.Retina / High-DPI
Capture Retina-quality screenshots using a higher device scale factor.Dark Mode
Render the page in dark mode before capturing.Highlight Links (AI Vision)
Draw visible borders around all clickable links, buttons, and inputs. Useful for AI vision models and LLM web browsing agents.Remove Background
Remove the page background for transparent PNG output. Useful for design tools.Add Timestamp
Add a timestamp watermark to the screenshot for audit trails or monitoring.Proxy Routing
Route the browser through a specific country’s IP to capture geo-specific or localized content.Delayed Screenshot
Wait a set number of seconds after page load before capturing. Useful for pages with animations or slow-loading widgets.Disable Animations
Freeze CSS animations and transitions before capturing. Produces cleaner, more consistent screenshots.All Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
url | string | required | Target URL |
device | desktop | mobile | desktop | Device to emulate |
type | png | jpeg | webp | png | Image format |
fullPage | boolean | false | Capture full scrollable page |
blockAds | boolean | true | Block ads before capturing |
hideCookie | boolean | true | Remove cookie consent banners |
skipCaptcha | boolean | true | Attempt to bypass CAPTCHAs |
proxyCountry | string | — | Route browser through country ISO code |
viewportWidth | number | — | Viewport width in pixels (320–3840) |
viewportHeight | number | — | Viewport height in pixels (240–2160) |
pageHeight | number | — | Page height for partial screenshot (100–5000) |
scaleFactor | number | — | Device pixel ratio (0.1–5). Use 2–3 for Retina |
theme | light | dark | auto | auto | Color scheme |
quality | number | — | Image quality 10–100 (JPEG/WebP only) |
delay | number | — | Seconds to wait after page load (0–10) |
highlightLinks | boolean | false | Draw borders around links/buttons (AI vision) |
removeBackground | boolean | false | Remove page background (PNG only) |
disableAnimations | boolean | false | Freeze CSS animations before capture |
captureBeyondViewport | boolean | — | Capture content beyond viewport |
addTimestamp | boolean | false | Add timestamp watermark |