# Custom Pixel Ratio

A capture at a device pixel ratio of 1.5 (scale=1.5): between a normal and a retina image.

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

Last updated: 2026-09-24

---
`GET https://api.deepinfo.com/v1/lookup/screenshot?url=https%3A%2F%2Fwww.deepinfo.com&scale=1.5`

A capture at a device pixel ratio of 1.5 (scale=1.5): between a normal and a retina image.

Example 8 of 8 in **Viewport and Device** · [Screenshot Examples](/reference/lookup/screenshot/examples/) · endpoint: [Screenshot](/reference/lookup/screenshot/)

Tags: `param` `scale` · `value` `1.5`

Asks for a capture at a device pixel ratio of 1.5 (`scale=1.5`).

`scale` sets how many image pixels draw one CSS pixel, from 0.5 to 4. The page keeps its 1366 × 768 layout and is drawn with 1.5 times as many pixels in each direction. `retina=true` is the ratio 2, and `scale` wins when both are sent. The response links to the image in `screenshot_url`.

## Request

| Parameter | In | Value |
|---|---|---|
| `url` | query | `https://www.deepinfo.com` |
| `scale` | query | `1.5` |

```bash
curl 'https://api.deepinfo.com/v1/lookup/screenshot?url=https%3A%2F%2Fwww.deepinfo.com&scale=1.5' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

## Response

### 200 · OK

`Content-Type: application/json; charset=utf-8` · `ratelimit-limit: 1` · `ratelimit-remaining: 0` · `ratelimit-reset: 1` · `x-ratelimit-limit-second: 1` · `x-ratelimit-remaining-second: 0` · `deepinfo-request-id: 5f0c6a8e-1b2d-4c3e-9f4a-7b8c9d0e1f2a`

```json
{
  "url": "https://www.deepinfo.com",
  "redirected_url": "https://www.deepinfo.com/",
  "check_date": "2026-09-24T08:38:55.825Z",
  "connection_status": "success",
  "screenshot_url": "https://diss-999.storage.googleapis.com/202609/24/www-deepinfo-com-rsiRsBMlJxIAJbf_nhvufYWp.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=<redacted>&X-Amz-Date=20260924T083855Z&X-Amz-Expires=604800&X-Amz-Signature=<redacted>&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject"
}
```
