{"uid":"cap_o_I0hS04yq4osSEq01g_I","slug":"x402-tools-url-to-pdf-renderer-2e0471c2","name":"x402-tools URL to PDF Renderer","description":"Pay-per-call utility APIs for AI agents, settled in USDC via the x402 protocol.","url":"https://x402.nichospt.net/render-url?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL. Private/loopback IPs rejected."},"options":{"type":"object","properties":{"format":{"enum":["A4","Letter"],"type":"string","default":"A4"},"margin":{"description":"CSS-length string or { top, bottom, left, right }"},"viewport":{"type":"object","properties":{"width":{"type":"integer","default":1280,"maximum":3840,"minimum":320},"height":{"type":"integer","default":800,"maximum":2160,"minimum":240}}},"landscape":{"type":"boolean","default":false},"waitUntil":{"enum":["load","domcontentloaded","networkidle0","networkidle2"],"type":"string","default":"networkidle0"}}}}},"responseSchema":{"type":"json","example":"<binary application/pdf>"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":{"p10Cents":"0.5000","medianCents":"0.5000","p90Cents":"0.5000","minCents":"0.5000","maxCents":"0.5000","p95Cents":"0.5000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cVAqpCBSeB2t-2VHLXdjq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders a public webpage URL to a PDF file with configurable page size, margins, viewport, and wait conditions","exampleAgentPrompt":"Can you render https://example.com/annual-report into a PDF for me? Use A4 format, landscape orientation, and wait until the network is fully idle before capturing it.","exampleUseCases":[{"title":"Archive a news article as PDF","prompt":"Can you grab the article at https://techcrunch.com/2024/05/01/ai-agents-future and save it as a PDF? Use letter size, portrait orientation, and make sure all the images and content have fully loaded before you capture it."},{"title":"Export client report for sharing","prompt":"I need to turn this dashboard URL into a PDF to send to our client: https://reports.ourplatform.com/q1-summary. Use A4 format with narrow margins and a wide viewport so nothing gets cut off — wait until the page is completely idle before rendering."},{"title":"Snapshot competitor pricing page","prompt":"Can you convert https://competitor.com/pricing into a PDF snapshot right now? I want A4 size, portrait orientation, and give it a few seconds after load to make sure any dynamic pricing content has rendered properly."}],"resultDescription":"A binary PDF file (application/pdf) representing the fully rendered webpage at the given URL, formatted according to the specified page size, margins, viewport, and orientation settings.","failureModes":["Private or loopback IP URLs are rejected with an error","Invalid or unreachable URLs return a fetch/navigation error","Unsupported format values outside A4/Letter enum cause a validation error","Payment failure via x402 protocol results in a 402 response before processing begins","Timeout if page never reaches the specified waitUntil condition (e.g. networkidle0 on a chatty page)","Viewport dimensions outside allowed min/max ranges (width 320-3840, height 240-2160) cause validation errors"],"whenToPreferThis":"Choose this endpoint when you need a high-fidelity PDF rendering of a public webpage with fine-grained control over page format, margins, viewport size, and load timing — especially when you want to pay per-call in USDC with no subscription required. Ideal for one-off or infrequent PDF generation tasks in agentic workflows where cost predictability matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:33:43.118Z","isFirstParty":false,"canonicalSlug":"x402-tools-url-to-pdf-renderer-2e0471c2"}