# Screenshot Examples

Worked Screenshot examples: one per option, from viewport and device to image format, page loading, browser settings, injected CSS and custom HTML.

Source: https://docs.deepinfo.com/reference/lookup/screenshot/examples/

Last updated: 2026-09-24

---
`GET https://api.deepinfo.com/v1/lookup/screenshot` · endpoint: [Screenshot](/reference/lookup/screenshot/)

Worked examples for the Screenshot lookup: the default capture, then one example for every option except `proxy`, grouped as viewport and device, image output, page loading, browser settings, custom styles and what to capture. Most examples capture `https://www.deepinfo.com`, so they differ only in the option they show.

Every example is a real response from September 24, 2026. The response does not contain the image: `screenshot_url` links to it. The link is signed and expires after 7 days (`X-Amz-Expires=604800`), and its credential and signature are shown as `<redacted>` on this page, so the links here do not open. Send the request yourself to get a working link.

Most options change only the image, so their responses look like the default one apart from the file name. A few change the response itself: `mode` and `timeout` (a capture that runs out of time has no `screenshot_url`), `image_output` (the file type), `custom_html` (no page is loaded) and options a site answers with a redirect, such as `accept_languages` in Page Language From Accept-Language.

Boolean options take `true` or `false`. Options can be combined freely, as the mobile landscape and full-page lazy-load examples show.

## Parameters Without an Example

As of September 24, 2026, these parameters have no worked example.

| Parameter | Why |
|---|---|
| `proxy` | Needs a proxy server of your own, with its credentials (`user:password@host:port`); the page is then loaded through it. |

Each example links to its own page with the request and the response.

## Viewport and Device

| Example | Param | Value |
|---|---|---|
| [Default Screenshot](/reference/lookup/screenshot/examples/default/) | `url` | `https://www.deepinfo.com` |
| [Full-Page Screenshot](/reference/lookup/screenshot/examples/full-page/) | `full_page` | `true` |
| [Custom Viewport Size](/reference/lookup/screenshot/examples/viewport-size/) | `width`<br>`height` | `1920`<br>`1080` |
| [Mobile Device](/reference/lookup/screenshot/examples/mobile/) | `mobile` | `true` |
| [Mobile Device in Landscape](/reference/lookup/screenshot/examples/mobile-landscape/) | `mobile`<br>`landscape` | `true` |
| [Touch Screen Emulation](/reference/lookup/screenshot/examples/touchscreen/) | `touchscreen` | `true` |
| [Retina Resolution](/reference/lookup/screenshot/examples/retina/) | `retina` | `true` |
| [Custom Pixel Ratio](/reference/lookup/screenshot/examples/scale/) | `scale` | `1.5` |

## Image Output

| Example | Param | Value |
|---|---|---|
| [PNG Instead of JPEG](/reference/lookup/screenshot/examples/png/) | `image_output` | `png` |
| [Lower JPEG Quality](/reference/lookup/screenshot/examples/jpeg-quality/) | `quality` | `50` |
| [A Thumbnail](/reference/lookup/screenshot/examples/thumbnail/) | `thumbnail_width` | `400` |

## Page Loading

| Example | Param | Value |
|---|---|---|
| [Slow Mode on a Page That Never Goes Idle](/reference/lookup/screenshot/examples/mode-slow/) | `mode` | `slow` |
| [A Timeout Too Short for the Page](/reference/lookup/screenshot/examples/timeout/) | `timeout` | `100` |
| [Extra Delay Before the Capture](/reference/lookup/screenshot/examples/delay/) | `delay` | `3000` |
| [Load Lazy Images on a Full Page](/reference/lookup/screenshot/examples/lazy-load/) | `full_page`<br>`lazy_load` | `true` |
| [Without Ads and Cookie Banners](/reference/lookup/screenshot/examples/block-ads-cookie-banners/) | `block_ads`<br>`no_cookie_banners` | `true` |
| [JavaScript Disabled](/reference/lookup/screenshot/examples/no-js/) | `no_js` | `true` |

## Browser Settings

| Example | Param | Value |
|---|---|---|
| [Page Language From Accept-Language](/reference/lookup/screenshot/examples/accept-languages/) | `accept_languages` | `de-DE` |
| [A Browser Location](/reference/lookup/screenshot/examples/geolocation/) | `latitude`<br>`longitude` | `48.8584`<br>`2.2945` |
| [A Custom User Agent](/reference/lookup/screenshot/examples/user-agent/) | `user_agent` | `https://www.deepinfo.com`<br>`Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0` |
| [Cookies Set Before Loading](/reference/lookup/screenshot/examples/cookies/) | `cookies` | `theme=dark; lang=en` |
| [Extra Request Headers](/reference/lookup/screenshot/examples/headers/) | `headers` | `DNT:1; Sec-GPC:1` |

## Custom Styles

| Example | Param | Value |
|---|---|---|
| [Inject Your Own CSS](/reference/lookup/screenshot/examples/css/) | `css` | `https://www.deepinfo.com`<br>`body { filter: grayscale(100%) }` |
| [Inject a Stylesheet by URL](/reference/lookup/screenshot/examples/css-url/) | `css_url` | `https://example.com`<br>`https://cdn.jsdelivr.net/npm/water.css@2/out/dark.css` |

## What to Capture

| Example | Param | Value |
|---|---|---|
| [One Element Only](/reference/lookup/screenshot/examples/selector/) | `url`<br>`selector` | `https://example.com`<br>`h1` |
| [Scroll to an Element Before the Capture](/reference/lookup/screenshot/examples/scroll-to-element/) | `scroll_to_element` | `footer` |
| [Render Your Own HTML](/reference/lookup/screenshot/examples/custom-html/) | `custom_html` | `<h1>Hello from Deepinfo</h1><p>Rendered from custom_html.</p>` |
