{"uid":"cap_gePJzyE_SeNda6MEJX5IE","slug":"agentrxi-html-url-to-pdf-renderer-db5408e0","name":"AgentRXI HTML/URL to PDF Renderer","description":"Render a URL or raw HTML to a PDF file with a headless browser. Returns the PDF bytes. Use for invoices, reports, receipts, archiving pages. Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/pdf?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string"},"html":{"type":"string","description":"Raw HTML instead of url"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","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":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bITSG_g6liehCOoeRFH7X","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders a URL or raw HTML string to a PDF file using a headless browser and returns the raw PDF bytes","exampleAgentPrompt":"Can you convert this URL — https://example.com/invoice/12345 — to a PDF file I can download and send to the client?","exampleUseCases":[{"title":"Invoice PDF generation from HTML","prompt":"I have an HTML invoice template filled out with order details — can you render it to a PDF so I can attach it to the confirmation email?"},{"title":"Archive a live webpage as PDF","prompt":"Please save https://techcrunch.com/2025/05/10/latest-ai-roundup as a PDF so I can reference it offline later."},{"title":"Export report page as PDF","prompt":"Take this HTML report I generated — it's got charts and tables — and turn it into a PDF file I can share with my team."}],"resultDescription":"Raw PDF bytes representing the rendered page or HTML content, suitable for saving as a .pdf file, attaching to emails, or streaming to a client. The response is the binary PDF document produced by a headless browser.","failureModes":["Invalid or unreachable URL returns an error or empty response","Malformed HTML may produce a blank or broken PDF","Neither url nor html provided results in a missing-parameter error","Timeout if the target URL is slow to load","JavaScript-heavy pages may not render completely if scripts don't finish in time"],"whenToPreferThis":"Choose this endpoint when you need to convert a live webpage or raw HTML string into a downloadable PDF document, especially for invoices, receipts, reports, and page archiving use cases. It uses a real headless browser, so it handles styled HTML accurately. Prefer it over server-side LaTeX or document libraries when your source is already HTML or a public URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:17.154Z","isFirstParty":false,"canonicalSlug":"agentrxi-html-url-to-pdf-renderer-db5408e0"}