{"uid":"cap_8MCZUBVTtwO47XUY2P-bT","slug":"miniframe-url-to-pdf-abf86d7f","name":"MiniFrame URL to PDF","description":"Use when a page has to become a shareable, archivable document — a receipt, a report, an invoice, a record kept for later. Renders it with a headless browser (running JavaScript) and returns a PDF. JSON body { url } (public http/https); optional format (A4|Letter|Legal|A3, default A4) and landscape (default false). Returns pdf_base64. Private/internal targets are blocked.","url":"https://tools.miniframe.com.br/url-to-pdf","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http/https URL."},"format":{"enum":["A4","Letter","Legal","A3"],"type":"string","description":"Paper size (optional, default A4)."},"landscape":{"type":"boolean","description":"Landscape orientation (optional)."}}},"responseSchema":{"type":"json","example":{"bytes":24680,"format":"A4","landscape":false,"pdf_base64":"JVBERi0xLjQK..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A9RmYKmP22rZntxSPjtub","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders a public web page with a headless browser (executing JavaScript) and returns the result as a base64-encoded PDF.","exampleAgentPrompt":"Can you convert https://example.com/report into a PDF for me? Use A4 size and landscape orientation.","exampleUseCases":null,"resultDescription":"A JSON response containing a `pdf_base64` field with the base64-encoded PDF of the fully JavaScript-rendered web page, ready to be decoded and saved or attached as a file.","failureModes":["Private or internal URLs (e.g., localhost, 192.168.x.x) are blocked and will return an error","Invalid or malformed URLs return a 4xx error","Unreachable or timeout URLs may fail with a network error","Unsupported format enum values return a validation error","Pages requiring authentication may render incorrectly or incompletely"],"whenToPreferThis":"Choose this endpoint when you need a PDF of a web page that relies on JavaScript rendering, such as single-page apps, dynamic dashboards, or JavaScript-heavy reports. Prefer this over static HTML-to-PDF converters when the page content is dynamically generated. Use when you need configurable paper sizes (A4, Letter, Legal, A3) or landscape orientation support.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:38:21.717Z","isFirstParty":false}