Html To Pdf
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. Page size (ISO A3-A5, Letter, Legal, custom or CSS @page), margins, landscape, scale, page ranges, bookmarks, header/footer with {page}/{pages}/{title}/{date}. Limits: 3 MB HTML, 500 pages, 30 MB PDF.
POST https://format.halowerk.com/v1/html-to-pdf
0.005 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"footer": {
"right": "Page {page} of {pages}"
},
"html": "<h1>Delivery note 4711</h1><p>2 × pressure sensor</p>",
"page_size": "A4"
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 73 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 36 ms |
| Paid calls (30d, on-chain) | 978 calls · 7 buyers · shared price cohort of 1537 |
| Facilitator-reported (30d) | 1 calls · 1 payers (CDP Bazaar) |
How to call
POST https://format.halowerk.com/v1/html-to-pdf · input in body · spec from live-challenge
Input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"html"
],
"properties": {
"html": {
"type": "string",
"minLength": 1,
"maxLength": 3000000,
"description": "HTML document or fragment; embed images/fonts as data: URLs."
},
"page_size": {
"type": "string",
"enum": [
"A3",
"A4",
"A5",
"Letter",
"Legal"
],
"default": "A4"
},
"width_mm": {
"type": "number",
"minimum": 25,
"maximum": 1000,
"description": "Custom page width; requires height_mm."
},
"height_mm": {
"type": "number",
"minimum": 25,
"maximum": 1000,
"description": "Custom page height; requires width_mm."
},
"landscape": {
"type": "boolean",
"default": false
},
"margin_mm": {
"type": "object",
"additionalProperties": false,
"description": "Page margins in millimetres.",
"properties": {
"top": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"bottom": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 100
}
}
},
"header": {
"type": "object",
"additionalProperties": false,
"description": "Plain text; placeholders {page} {pages} {title} {date}.",
"properties": {
"left": {
"type": "string",
"maxLength": 200
},
"center": {
"type": "string",
"maxLength": 200
},
"right": {
"type": "string",
"maxLength": 200
}
}
},
"footer": {
"type": "object",
"additionalProperties": false,
"description": "Plain text; placeholders {page} {pages} {title} {date}.",
"properties": {
"left": {
"type": "string",
"maxLength": 200
},
"center": {
"type": "string",
"maxLength": 200
},
"right": {
"type": "string",
"maxLength": 200
}
}
},
"header_footer_font_pt": {
"type": "number",
"minimum": 6,
"maximum": 14,
"default": 9
},
"print_background": {
"type": "boolean",
"default": true
},
"prefer_css_page_size": {
"type": "boolean",
"default": false,
"description": "Use the size from CSS @page rules if present."
},
"media": {
"type": "string",
"enum": [
"print",
"screen"
],
"default": "print"
},
"scale": {
"type": "number",
"minimum": 0.1,
"maximum": 2,
"default": 1
},
"page_ranges": {
"type": "string",
"maxLength": 100,
"pattern": "^\\d+(-\\d+)?(,\\d+(-\\d+)?)*$",
"description": "Pages to print, e.g. \"1-3,5\"."
},
"outline": {
"type": "boolean",
"default": false,
"description": "Add PDF bookmarks generated from h1–h6."
},
"max_pages": {
"type": "integer",
"minimum": 1,
"maximum": 500,
"default": 200
}
}
}curl -i -X POST 'https://format.halowerk.com/v1/html-to-pdf' \
-H 'content-type: application/json' -d '{"html":"<h1>Delivery note 4711</h1><p>2 × pressure sensor</p>","page_size":"A4","footer":{"right":"Page {page} of {pages}"}}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs