{"slug":"quarterslot-dev-v1-convert-pdf-514b26","title":"Render Markdown or HTML to a print-ready PDF (Letter or A4) in headless Chromium","host":"quarterslot.dev","method":"POST","resource":"https://quarterslot.dev/v1/convert/pdf","category":"image","description":"Render Markdown or HTML to a print-ready PDF (Letter or A4) in headless Chromium, with styled headings, tables and code blocks. JavaScript is off and all network requests are blocked (inline data: images only). Returns the PDF file, or base64 JSON.","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":2,"answered_7d":2,"latency_ms_median":566,"reported_calls_30d":4,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"markdown":"# Report\n\nHello **world**.\n\n- one\n- two","title":"Q3 review"},"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":{"html":{"description":"HTML fragment or full document (send this or markdown)","type":"string"},"markdown":{"description":"GitHub-flavored Markdown (send this or html)","type":"string"},"page_size":{"description":"PDF page size (default letter)","enum":["letter","a4"],"type":"string"},"response":{"description":"file (default) returns the binary; base64 returns JSON","enum":["file","base64"],"type":"string"},"title":{"description":"Document title; also used for the file name","maxLength":200,"type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"description":"Shape when response=base64; by default the body is the file itself with Content-Disposition","properties":{"file_base64":{"type":"string"},"filename":{"type":"string"},"mime_type":{"type":"string"},"size_bytes":{"type":"integer"}},"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":446,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":686,"error":null}],"description_full":"Render Markdown or HTML to a print-ready PDF (Letter or A4) in headless Chromium, with styled headings, tables and code blocks. JavaScript is off and all network requests are blocked (inline data: images only). Returns the PDF file, or base64 JSON.","last_updated":"2026-11-25T15:28:56.011Z","schemes":["exact"]}