# Render Your Own HTML

A capture of your own HTML (custom_html) without a url: redirected_url is about:blank.

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

Last updated: 2026-09-24

---
`GET https://api.deepinfo.com/v1/lookup/screenshot?custom_html=%3Ch1%3EHello%20from%20Deepinfo%3C%2Fh1%3E%3Cp%3ERendered%20from%20custom_html.%3C%2Fp%3E`

A capture of your own HTML (custom_html) without a url: redirected_url is about:blank.

Example 3 of 3 in **What to Capture** · [Screenshot Examples](/reference/lookup/screenshot/examples/) · endpoint: [Screenshot](/reference/lookup/screenshot/)

Tags: `param` `custom_html` · `value` `<h1>Hello from Deepinfo</h1><p>Rendered from custom_html.</p>`

Asks for a capture of HTML sent in the request (`custom_html`), with no `url`.

The browser renders the given HTML instead of loading a page: the response has no `url`, `redirected_url` is `about:blank` and the file name starts with `custom-html-`. For long HTML, send it as a JSON body with Screenshot (POST).

## Request

| Parameter | In | Value |
|---|---|---|
| `custom_html` | query | `<h1>Hello from Deepinfo</h1><p>Rendered from custom_html.</p>` |

```bash
curl 'https://api.deepinfo.com/v1/lookup/screenshot?custom_html=%3Ch1%3EHello%20from%20Deepinfo%3C%2Fh1%3E%3Cp%3ERendered%20from%20custom_html.%3C%2Fp%3E' \
  -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
{
  "redirected_url": "about:blank",
  "check_date": "2026-09-24T07:57:08.006Z",
  "connection_status": "success",
  "screenshot_url": "https://diss-999.storage.googleapis.com/202609/24/custom-html-anFeJFlB_Crui-MBJDftyPGU.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=<redacted>&X-Amz-Date=20260924T075708Z&X-Amz-Expires=604800&X-Amz-Signature=<redacted>&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject"
}
```
