{"slug":"api-delx-ai-api-v1-x402-render-document-pdf-e749b1","title":"Generate a PDF from HTML or Markdown (HTML-to-PDF and Markdown-to-PDF renderer) ","host":"api.delx.ai","method":"POST","resource":"https://api.delx.ai/api/v1/x402/render-document-pdf","category":"market","description":"Generate a PDF from HTML or Markdown (HTML-to-PDF and Markdown-to-PDF renderer) with optional inline CSS in A4 or Letter size for $0.005 USDC via x402 on Base or Solana. Ideal for agent-generated invoices, briefs, and reports; returns base64 PDF bytes, page count, and SHA-256 locally while blocking ","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":2,"answered_7d":2,"latency_ms_median":1340,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"markdown":"# Invoice","page_size":"Letter"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"oneOf":[{"required":["html"]},{"required":["markdown"]}],"properties":{"css":{"maxLength":24000,"type":"string"},"html":{"maxLength":100000,"minLength":1,"type":"string"},"markdown":{"maxLength":100000,"minLength":1,"type":"string"},"page_size":{"enum":["A4","Letter"]}},"required":[],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"const":"json","type":"string"}},"required":["type","example"],"type":"object"}},"required":["input","output"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1283,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1398,"error":null}],"description_full":"Generate a PDF from HTML or Markdown (HTML-to-PDF and Markdown-to-PDF renderer) with optional inline CSS in A4 or Letter size for $0.005 USDC via x402 on Base or Solana. Ideal for agent-generated invoices, briefs, and reports; returns base64 PDF bytes, page count, and SHA-256 locally while blocking all external network fetches—no API key, no subscription.","last_updated":"2026-11-26T09:13:54.468Z","schemes":["exact"]}