Display Emulation
Emulate dark mode, reduced motion, print media, timezone, and geographic location.
These flags override browser media features so the page renders as it would for users in those conditions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
dark_mode | boolean | optional | Emulate prefers-color-scheme: dark. Default: false. |
reduced_motion | boolean | optional | Emulate prefers-reduced-motion: reduce. Default: false. |
media_type | string | optional | CSS media emulation: screen (default) or print. |
gpu_rendering | boolean | optional | Enable GPU/hardware acceleration in the browser. Useful for pages that rely on WebGL or CSS GPU compositing. Default: false. |
time_zone | string | optional | IANA timezone for the browser (e.g. America/New_York, Europe/Paris). Default: UTC. |
geolocation_latitude | number | optional | Latitude for geolocation emulation (-90 to 90). Requires geolocation_longitude. |
geolocation_longitude | number | optional | Longitude for geolocation emulation (-180 to 180). Requires geolocation_latitude. |
geolocation_accuracy | number | optional | Geolocation accuracy in metres. Default: 0. |
Code Examples
# Dark mode screenshot
curl "https://screenshotcore.com/api/v1/screenshot?access_key=KEY&url=https://example.com&dark_mode=true" -o dark.png
# Print media type
curl "https://screenshotcore.com/api/v1/screenshot?access_key=KEY&url=https://example.com&media_type=print" -o print.png
# Paris timezone + geolocation
curl "https://screenshotcore.com/api/v1/screenshot?access_key=KEY&url=https://example.com&time_zone=Europe/Paris&geolocation_latitude=48.8566&geolocation_longitude=2.3522" -o paris.pngResponse
(Raw PNG bytes rendered in dark mode, Content-Type: image/png)