{"slug":"format-halowerk-com-v1-html-to-pdf-c05f74","title":"Render HTML/CSS to PDF in headless Chrome with page size, margins, header and fo","host":"format.halowerk.com","method":"POST","resource":"https://format.halowerk.com/v1/html-to-pdf","category":"other","description":"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 b","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1194,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"footer":{"right":"Page {page} of {pages}"},"html":"<h1>Delivery note 4711</h1><p>2 × pressure sensor</p>","page_size":"A4"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$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"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1321,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1188,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1210,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1194,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1177,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1181,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1214,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1161,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":349,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":378,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":329,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":323,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":331,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":349,"error":null}],"description_full":"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.","last_updated":"2026-11-20T18:27:58.602Z","schemes":["exact"]}