{"uid":"cap_8_Vvw8Zu4EEat_krLDm2w","slug":"tanod-pdfpeek-html-to-pdf-fd125a49","name":"Tanod pdfpeek HTML-to-PDF","description":"One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.","url":"https://tanod.dev/v1/pdf/html-to-pdf?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"minLength":1,"description":"Public http(s) URL of the page to print."},"paper":{"enum":["a4","letter","legal","a3","a5","tabloid"],"type":"string","default":"a4","description":"Paper size: a4 (default), letter, legal, a3, a5 or tabloid."},"scale":{"type":"number","default":1,"maximum":2,"minimum":0.1,"description":"Print scale of the page content (0.1-2.0, default 1.0)."},"output":{"enum":["base64","url"],"type":"string","default":"base64","description":"base64 (default): the file comes back inline as base64. url: the file is stored for 24 hours and the reply carries a download link (url, expires_at, bytes, content_type, sha256) instead of the base64, which keeps the file out of your context window."},"wait_ms":{"type":"integer","default":500,"maximum":5000,"minimum":0,"description":"Extra settle time after the load event."},"landscape":{"type":"boolean","default":false,"description":"Landscape orientation (default false: portrait)."},"margin_mm":{"type":"object","properties":{"top":{"type":"number","default":10,"maximum":50,"minimum":0},"left":{"type":"number","default":10,"maximum":50,"minimum":0},"right":{"type":"number","default":10,"maximum":50,"minimum":0},"bottom":{"type":"number","default":10,"maximum":50,"minimum":0}},"description":"Margins in mm (0-50 each, default 10).","additionalProperties":false},"print_background":{"type":"boolean","default":true,"description":"Print background colours and images (default true)."}}},"responseSchema":{"type":"json","example":{"url":"https://example.com","file":{"name":"page.pdf","bytes":27621,"pages":1,"data_base64":"JVBERi0xLjQKJdPr... (trimmed: 36,828 base64 characters in the reply)","content_type":"application/pdf"},"pages":1,"paper":"a4","landscape":false,"operation":"html-to-pdf","output_bytes":27621,"untrusted_content":true}},"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_8QP25VHWBN6Rib2r4YgQg","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 a public web page URL to a PDF by printing it in a sandboxed browser with configurable paper size, orientation, margins, and scale.","exampleAgentPrompt":"Can you convert https://example.com/report to a PDF using A4 paper in portrait orientation, with 15mm margins on all sides, and wait 1000ms after the page loads for any animations to settle?","exampleUseCases":[{"title":"Archive a news article as PDF","prompt":"Grab https://www.bbc.com/news/world-12345 and save it as a PDF on A4 paper with background colors included — give me a couple of seconds for the page to fully load."},{"title":"Print a legal document page","prompt":"Print https://legalsite.com/terms-of-service to PDF using letter-sized paper in portrait mode, with 20mm margins on all sides, so I can file it."},{"title":"Capture a dashboard screenshot as PDF","prompt":"Convert https://dashboard.myapp.com/weekly-summary to a landscape A3 PDF at 0.8 scale so the wide table fits, and wait 2000ms for the charts to render before printing."}],"resultDescription":"Returns a PDF binary (application/pdf) representing the rendered web page, printed according to the specified paper size, orientation, scale, margins, and background settings.","failureModes":["URL is not publicly accessible or requires authentication — returns error","URL times out or the page fails to load within the allowed settle time","Invalid or non-HTTP(S) URL provided — schema validation error","Paper size enum value not recognized","Scale value outside 0.1–2.0 range — validation error","Margin value exceeds 50mm — validation error","wait_ms exceeds 5000ms — validation error","Payment not attached or insufficient — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need to render a live public web page — including CSS, JavaScript-rendered content, and background graphics — to a high-fidelity PDF. It is superior to static HTML-to-PDF converters when dynamic content or visual fidelity matters, and better than screenshot tools when a paginated, printable document is the goal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:42:58.065Z","isFirstParty":false,"canonicalSlug":"tanod-pdfpeek-html-to-pdf-fd125a49"}