{"slug":"format-halowerk-com-v1-pdf-linearize-a4d871","title":"Linearize a PDF for progressive web display and return the rewritten PDF as base","host":"format.halowerk.com","method":"POST","resource":"https://format.halowerk.com/v1/pdf-linearize","category":"code","description":"Linearize a PDF for progressive web display and return the rewritten PDF as base64, with verified hint tables, page count, byte sizes and SHA-256. Uses installed qpdf 11.9.0 (Apache-2.0) to rewrite a structurally valid, unencrypted PDF with --linearize. Checks the input and output structure, output ","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":6,"answered_7d":6,"latency_ms_median":954,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"content_base64":"JVBERi0xLjcKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCAzMDAgMjAwXSAvUmVzb3VyY2VzIDw8ID4+IC9Db250ZW50cyA0IDAgUiA+PgplbmRvYmoKNCAwIG9iago8PCAvTGVuZ3RoIDE1ID4+CnN0cmVhbQowIDAgMjAgMzAgcmUgUwplbmRzdHJlYW0KZW5kb2JqCnhyZWYKMCA1CjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwMDAwOSAwMDAwMCBuIAowMDAwMDAwMDU4IDAwMDAwIG4gCjAwMDAwMDAxMTUgMDAwMDAgbiAKMDAwMDAwMDIxOSAwMDAwMCBuIAp0cmFpbGVyCjw8IC9TaXplIDUgL1Jvb3QgMSAwIFIgPj4Kc3RhcnR4cmVmCjI4MwolJUVPRgo="},"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":{"content_base64":{"maxLength":699052,"minLength":8,"type":"string"}},"required":["content_base64"],"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.004,"price_match":true,"latency_ms":892,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":905,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1004,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":892,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1192,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1173,"error":null}],"description_full":"Linearize a PDF for progressive web display and return the rewritten PDF as base64, with verified hint tables, page count, byte sizes and SHA-256. Uses installed qpdf 11.9.0 (Apache-2.0) to rewrite a structurally valid, unencrypted PDF with --linearize. Checks the input and output structure, output hint tables and unchanged page count. Runs in a fresh unprivileged OS sandbox without network, credentials or application data, with 256 MiB memory and a 3 s lifetime.","last_updated":"2026-11-20T19:07:48.684Z","schemes":["exact"]}