{"uid":"cap_72l_WAxMErwoBagyr2Afq","slug":"citiview-url-html-to-pdf-renderer-4e85c709","name":"Citiview URL/HTML 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://agents.citiviewgroup.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_hdmtH_-csgJG9uvKuBNuH","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 PDF bytes","exampleAgentPrompt":"Can you convert this invoice HTML into a PDF file for me? Here's the raw HTML: <html><body><h1>Invoice #1042</h1><p>Total: $500</p></body></html>","exampleUseCases":[{"title":"Generate PDF invoice from HTML","prompt":"I have an HTML invoice template filled out for client Acme Corp — can you render it as a PDF so I can attach it to the email? Here's the HTML string."},{"title":"Archive a live webpage as PDF","prompt":"Please convert https://example.com/quarterly-report to a PDF so I can save it as a permanent archived copy."},{"title":"Export a receipt page to PDF","prompt":"Take this raw HTML receipt I generated for order #8821 and turn it into a PDF file I can send to the customer."}],"resultDescription":"The raw bytes of a rendered PDF file, produced by a headless browser from either a provided URL or raw HTML string. The agent receives the binary PDF content which can be saved, returned, or sent as an attachment.","failureModes":["Invalid or unreachable URL returns an error or empty response","Malformed HTML may produce a blank or partially rendered PDF","Large or complex pages may time out during headless rendering","Missing required 'url' or 'html' query parameter results in a validation error","Protected or paywalled URLs may render only partial content or a login page"],"whenToPreferThis":"Choose this endpoint when you need to convert a URL or raw HTML into a PDF using a real headless browser — ideal for generating invoices, receipts, reports, or archiving live pages exactly as they appear. Prefer this over client-side PDF libraries when accurate rendering of CSS, images, and web fonts is required, or when you need a hosted API call rather than a local rendering dependency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:48:21.651Z","isFirstParty":false,"canonicalSlug":"citiview-url-html-to-pdf-renderer-4e85c709"}