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

NameTypeRequiredDescription
dark_modebooleanoptionalEmulate prefers-color-scheme: dark. Default: false.
reduced_motionbooleanoptionalEmulate prefers-reduced-motion: reduce. Default: false.
media_typestringoptionalCSS media emulation: screen (default) or print.
gpu_renderingbooleanoptionalEnable GPU/hardware acceleration in the browser. Useful for pages that rely on WebGL or CSS GPU compositing. Default: false.
time_zonestringoptionalIANA timezone for the browser (e.g. America/New_York, Europe/Paris). Default: UTC.
geolocation_latitudenumberoptionalLatitude for geolocation emulation (-90 to 90). Requires geolocation_longitude.
geolocation_longitudenumberoptionalLongitude for geolocation emulation (-180 to 180). Requires geolocation_latitude.
geolocation_accuracynumberoptionalGeolocation 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.png

Response

(Raw PNG bytes rendered in dark mode, Content-Type: image/png)