{"uid":"cap_vVtQKNctrFj-SKBWC20ob","slug":"agent-tools-uk-html-url-to-pdf-635c80bd","name":"Agent Tools UK – HTML/URL to PDF","description":"Turn HTML you write (an invoice, report, letter or certificate) or a public web page into a print-quality PDF, rendered by Chrome with backgrounds and CSS. Use when you need to hand a person a polished, printable document. Send {html} or {url}; optional format (A4, Letter, A3, A5, Legal) and landscape. Returns the PDF. Errors: 400 missing input or private URL, 413 HTML over 2 MB.","url":"https://agent-tools-production-e6aa.up.railway.app/v1/make-pdf?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public page to print. Provide html OR url."},"html":{"type":"string","description":"HTML to render. Provide html OR url."},"format":{"enum":["A4","Letter","A3","A5","Legal"],"type":"string"},"landscape":{"type":"boolean"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_O9t6IqLxB000bwv8H5O-Y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts HTML markup or a public web page URL into a print-quality PDF rendered by Chrome, with full CSS and background support","exampleAgentPrompt":"Take this HTML invoice I've written and convert it to a print-quality A4 PDF with all the CSS styles and background colours intact: <html>...</html>","exampleUseCases":[{"title":"Invoice PDF for client delivery","prompt":"Here's the HTML for my client invoice — can you render it as an A4 PDF with all the styling and backgrounds, so I can send them a polished document?"},{"title":"Printable certificate from template","prompt":"I've got an HTML certificate template with custom fonts and a coloured background. Turn it into a PDF in A4 landscape so I can print and hand it out at the event."},{"title":"Archive a public web page as PDF","prompt":"Can you grab the page at https://www.example.gov.uk/annual-report-2024 and save it as a Letter-size PDF so I have a permanent printable copy?"}],"resultDescription":"Returns the rendered PDF file as binary content (application/pdf). The PDF is print-quality, produced by a real Chrome browser, with CSS styling, web fonts, and background colours/images preserved. Page format defaults to A4 unless overridden; landscape is optional.","failureModes":["400 Bad Request – neither html nor url was provided (missing required input)","400 Bad Request – the supplied URL is private, localhost, or otherwise unreachable from the renderer","413 Payload Too Large – the HTML string exceeds 2 MB","Rendering errors if HTML references local resources (file://) or intranet assets not accessible from the renderer","Timeout if the target URL is extremely slow to load"],"whenToPreferThis":"Choose this endpoint when you need a polished, print-ready PDF from HTML you control or from a publicly accessible URL, with full Chrome rendering (CSS backgrounds, web fonts, custom layouts). Prefer it over generic document converters when CSS fidelity matters, or over screenshot tools when you need a selectable-text, properly paginated document rather than an image. Best for invoices, reports, letters, and certificates generated from HTML templates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:44:05.953Z","isFirstParty":false,"canonicalSlug":"agent-tools-uk-html-url-to-pdf-635c80bd"}