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

NameTypeDescription
url requiredstringThe page to fetch.

Request

Response

200 · application/json
  1. {
  2. "url": "https://example.com",
  3. "statusCode": 200,
  4. "headers": { "content-type": "text/html; charset=UTF-8", "server": "ECS" },
  5. "html": "<!doctype html><html><head><title>Example Domain</title>..."
  6. }

Response fields

FieldTypeDescription
statusCodeintegerHTTP status of the fetch.
headersobjectResponse headers returned by the server.
htmlstringThe raw response body.

Only public URLs are supported — private/internal addresses are blocked (403). See Errors.