{"uid":"cap_GW9WuUU3tBPG4BmLKMfhJ","slug":"screenshot-api-url-to-pdf-renderer-f799b365","name":"Screenshot API – URL to PDF Renderer","description":"Render URLs to PNG screenshots, PDFs, or extract text. Pay per request via x402 on Base.","url":"https://screenshot-api-production-5291.up.railway.app/pdf?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string"},"format":{"type":"string"},"margin":{"type":"string"},"landscape":{"type":"boolean"}}},"responseSchema":{"type":"string","format":"binary"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FnNx35qs6x6C71exiYELh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a URL into a downloadable PDF document with configurable page format, orientation, and margins, billed per-request via x402 on Base.","exampleAgentPrompt":"Can you convert this webpage to a PDF in A4 landscape format? The URL is https://example.com/report — I want standard margins.","exampleUseCases":[{"title":"Archive a news article as PDF","prompt":"Save this article as a PDF for me — https://www.nytimes.com/2024/05/01/tech/ai-news.html — use A4 format with normal margins so I can store it offline."},{"title":"Export invoice page for client","prompt":"Turn https://mybilling.app/invoices/INV-2045 into a PDF in Letter format, portrait orientation, with tight margins so it's ready to send to the client."},{"title":"Capture legal document page","prompt":"I need a Legal-size landscape PDF of https://legaldocs.example.com/contract/123 — can you render that page and give me the PDF?"}],"resultDescription":"A binary PDF file (application/pdf) rendered from the target URL at the requested page size, orientation, and margin settings, ready to save or distribute.","failureModes":["URL is unreachable or returns non-200 status — PDF may be blank or error response returned","Invalid or malformed URL causes a 400 Bad Request","Page renders with missing assets (images, fonts) due to CORS or auth restrictions on the target site","Payment failure via x402 results in 402 Payment Required before rendering begins","Timeout if the target URL is very slow to load"],"whenToPreferThis":"Choose this endpoint when you need a server-side, pay-per-use PDF rendering of a public or accessible URL with configurable page size and orientation, especially when you want to avoid managing a headless browser yourself. It is ideal for one-off or low-volume PDF generation where spinning up Puppeteer or Playwright infrastructure is overkill. Prefer it over screenshot endpoints when PDF (not PNG) output is specifically required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:35:08.387Z","isFirstParty":false,"canonicalSlug":"screenshot-api-url-to-pdf-renderer-f799b365"}