{"uid":"cap_Z-TD09XLpPVngb6TwNSUQ","slug":"md-fastdb-in-url-to-pdf-converter-3c279d9f","name":"md.fastdb.in URL to PDF Converter","description":"Convert any URL to a PDF through real headless Chromium — full JS rendering, print backgrounds, A4/Letter/Legal, portrait or landscape. Archive pages, generate reports and invoices from live web pages. $0.01 per call via x402.","url":"https://md.fastdb.in/shot/pdf","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["url"],"properties":{"url":{"type":"string","description":"Page to convert (http/https, public hosts only)"},"scale":{"type":"number","maximum":2,"minimum":0.1,"description":"Render scale, default 1"},"format":{"enum":["A4","Letter","Legal"],"type":"string","description":"Paper size, default A4"},"waitMs":{"type":"integer","maximum":10000,"minimum":0,"description":"Extra settle time after load, ms"},"response":{"enum":["json","binary"],"type":"string","description":"json (default) wraps base64; binary returns application/pdf bytes"},"landscape":{"type":"boolean","description":"Landscape orientation, default false"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"b64":"<base64-encoded pdf>","bytes":102400,"sha256":"9f7d…","tookMs":2100,"contentType":"application/pdf"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_nriV7zsHDmjSFo5qLB3rs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts any live URL to a PDF using headless Chromium with full JavaScript rendering, supporting A4/Letter/Legal sizes and portrait/landscape orientation","exampleAgentPrompt":"Can you convert https://example.com/invoice/12345 to a PDF using A4 portrait layout with print backgrounds enabled and give me the base64-encoded file?","exampleUseCases":null,"resultDescription":"A JSON object containing: ok (boolean success flag), b64 (base64-encoded PDF content), bytes (PDF file size in bytes), sha256 (hash for integrity verification), tookMs (render time in milliseconds), and contentType (application/pdf)","failureModes":["URL is unreachable or returns non-200 — ok:false with error message","JavaScript-heavy page times out during render — partial or failed PDF","Invalid page size or orientation parameter — 400 bad request","Payment not provided or insufficient — x402 payment required response","URL points to non-HTML content (e.g. binary file) — unexpected output or error"],"whenToPreferThis":"Use this endpoint when you need a fully JS-rendered PDF from a live URL — not a static HTML snapshot. Ideal for pages with dynamic content (SPAs, dashboards, invoices generated client-side) where a simple HTML-to-PDF library would miss rendered content. Prefer this over image-capture siblings when you need a selectable/searchable document rather than a raster image.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:34:33.661Z","isFirstParty":false}