Raw HTML
GET /api/v1/raw-html
Get the exact HTML source of any public URL — the unmodified response body, plus the status code and response headers — without writing your own fetcher or worrying about SSRF.
Query parameters
| Name | Type | Description |
|---|---|---|
url required | string | The page to fetch. |
Request
Response
200 · application/json
- {
- "url": "https://example.com",
- "statusCode": 200,
- "headers": { "content-type": "text/html; charset=UTF-8", "server": "ECS" },
- "html": "<!doctype html><html><head><title>Example Domain</title>..."
- }
Response fields
| Field | Type | Description |
|---|---|---|
statusCode | integer | HTTP status of the fetch. |
headers | object | Response headers returned by the server. |
html | string | The raw response body. |
Only public URLs are supported — private/internal addresses are blocked (403). See Errors.