{"uid":"cap_-o7_54FNxZhVF2vWFufd4","slug":"x402-tools-html-to-pdf-renderer-fde6943c","name":"x402-tools HTML to PDF Renderer","description":"Pay-per-call utility APIs for AI agents, settled in USDC via the x402 protocol.","url":"https://x402.nichospt.net/render?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string","maxLength":2000000,"description":"HTML document to render"},"options":{"type":"object","properties":{"format":{"enum":["A4","Letter"],"type":"string","default":"A4"},"margin":{"description":"CSS-length string or { top, bottom, left, right }"},"landscape":{"type":"boolean","default":false}}}}},"responseSchema":{"type":"json","example":"<binary application/pdf>"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":{"p10Cents":"0.5000","medianCents":"0.5000","p90Cents":"0.5000","minCents":"0.5000","maxCents":"0.5000","p95Cents":"0.5000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iLTFXo7yUlc-tI07lYCI4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders an HTML document into a PDF file, with configurable page format, margins, and orientation, billed per-call in USDC via x402","exampleAgentPrompt":"Take this HTML invoice I've drafted and render it as a PDF in A4 portrait format with 20px margins on all sides: <html>...</html>","exampleUseCases":null,"resultDescription":"A binary PDF file (application/pdf) representing the rendered HTML document, ready to save or send","failureModes":["HTML content exceeds 2,000,000 character limit — request rejected","Invalid format enum value (must be 'A4' or 'Letter') — validation error","Malformed HTML causing render failure — may return empty or broken PDF","Payment not settled via x402 — 402 Payment Required response","Network timeout for very large or complex HTML documents"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call HTML-to-PDF conversion without setting up your own headless browser infrastructure. Ideal for agents generating invoices, reports, or documents from HTML templates on demand, billed fractionally in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:42:52.539Z","isFirstParty":false,"canonicalSlug":"x402-tools-html-to-pdf-renderer-fde6943c"}