A mobile screenshot API that emulates any phone, tablet, or custom viewport. HiDPI Retina output, touch events, and mobile user-agents, all from a single API parameter.
curl -G "https://screenshotcore.com/api/v1/screenshot" \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "url=https://example.com" \ --data-urlencode "viewport_width=390" \ --data-urlencode "viewport_height=844" \ --data-urlencode "device_scale_factor=3" \ --data-urlencode "viewport_mobile=true" \ --data-urlencode "viewport_has_touch=true" \ --data-urlencode "user_agent=Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X)" \ --output mobile.png
Pass viewport_device=<name> and dimensions, DPR, and UA are set automatically.
+ many more presets available. See the full list in the API docs.
Capabilities
Every signal a website uses to detect mobile: viewport, DPR, touch, and user-agent. All emulated.
Pass viewport_device=iphone-14 and we automatically set the right viewport dimensions, device pixel ratio, and user-agent string.
Set device_scale_factor=3 for @3x Retina output: crisp, uncompressed PNG captures at any pixel density.
Enable viewport_has_touch=true so mobile-optimised sites detect a touch device and render their mobile UI correctly.
Set any viewport_width × viewport_height in pixels. Capture exactly the layout your users see on their screen.
Rotate the viewport with viewport_landscape=true, useful for landscape screenshots of charts and wide layouts.
Capture the entire scrollable page height at mobile width, not just the above-the-fold viewport.
Also available
100 free screenshots per month. No credit card. Full device emulation from day one.
Get your free API key →FAQ
Everything you need to know before you ship.