Render HTML/CSS to PDF in headless Chrome with page size, margins, header and fo
Render HTML/CSS to PDF in headless Chrome with page size, margins, header and footer with page numbers; scripts off, no network access. Prints HTML/CSS with headless Chrome 148 (puppeteer-core) in a fresh incognito context per call. Scripts in the document are disabled and every network request is blocked (only inline and data: resources), so no foreign URL is fetched; blocked requests are counted.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
1194 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://format.halowerk.com/v1/html-to-pdf
| Category | Everything else |
|---|---|
| Provider host | format.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.005 | 1321 ms |
| 2026-11-25 | valid payment request | 402 | $0.005 | 1188 ms |
| 2026-11-24 | valid payment request | 402 | $0.005 | 1210 ms |
| 2026-11-23 | valid payment request | 402 | $0.005 | 1194 ms |
| 2026-11-22 | valid payment request | 402 | $0.005 | 1177 ms |
| 2026-11-21 | valid payment request | 402 | $0.005 | 1181 ms |
| 2026-11-20 | valid payment request | 402 | $0.005 | 1214 ms |
| 2026-11-19 | valid payment request | 402 | $0.005 | 1161 ms |
| 2026-11-18 | valid payment request | 402 | $0.005 | 349 ms |
| 2026-11-17 | valid payment request | 402 | $0.005 | 378 ms |
| 2026-11-16 | valid payment request | 402 | $0.005 | 329 ms |
| 2026-11-15 | valid payment request | 402 | $0.005 | 323 ms |
| 2026-11-14 | valid payment request | 402 | $0.005 | 331 ms |
| 2026-11-13 | valid payment request | 402 | $0.005 | 349 ms |
Example input (from the provider)
{
"body": {
"footer": {
"right": "Page {page} of {pages}"
},
"html": "<h1>Delivery note 4711</h1><p>2 \u00d7 pressure sensor</p>",
"page_size": "A4"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"footer": {
"additionalProperties": false,
"properties": {
"center": {
"maxLength": 200,
"type": "string"
},
"left": {
"maxLength": 200,
"type": "string"
},
"right": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"header": {
"additionalProperties": false,
"properties": {
"center": {
"maxLength": 200,
"type": "string"
},
"left": {
"maxLength": 200,
"type": "string"
},
"right": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"header_footer_font_pt": {
"default": 9,
"maximum": 14,
"minimum": 6,
"type": "number"
},
"height_mm": {
"maximum": 1000,
"minimum": 25,
"type": "number"
},
"html": {
"maxLength": 3000000,
"minLength": 1,
"type": "string"
},
"landscape": {
"default": false,
"type": "boolean"
},
"margin_mm": {
"additionalProperties": false,
"properties": {
"bottom": {
"maximum": 100,
"minimum": 0,
"type": "number"
},
"left": {
"maximum": 100,
"minimum": 0,
"type": "number"
},
"right": {
"maximum": 100,
"minimum": 0,
"type": "number"
},
"top": {
"maximum": 100,
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"max_pages": {
"default": 200,
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"media": {
"default": "print",
"enum": [
"print",
"screen"
],
"type": "string"
},
"outline": {
"default": false,
"type": "boolean"
},
"page_ranges": {
"maxLength": 100,
"pattern": "^\\d+(-\\d+)?(,\\d+(-\\d+)?)*$",
"type": "string"
},
"page_size": {
"default": "A4",
"enum": [
"A3",
"A4",
"A5",
"Letter",
"Legal"
],
"type": "string"
},
"prefer_css_page_size": {
"default": false,
"type": "boolean"
},
"print_background": {
"default": true,
"type": "boolean"
},
"scale": {
"default": 1,
"maximum": 2,
"minimum": 0.1,
"type": "number"
},
"width_mm": {
"maximum": 1000,
"minimum": 25,
"type": "number"
}
},
"required": [
"html"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}