{"uid":"cap_wcMXe_lm6CThLTFO5ev1L","slug":"scribe-render-url-html-to-pdf-or-png-screenshot-be4f44d6","name":"Scribe Render – URL/HTML to PDF or PNG Screenshot","description":"Render a public URL or your own HTML in a real browser and receive a PDF or a PNG screenshot (full page or viewport). The bytes come back in the response, or as base64 JSON when you ask for it. For visual verification, archiving, or a document a person can open. $0.02.","url":"https://scribe.vimabrosta.com/v1/render?utm_source=zero.xyz","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":{"type":"object","required":["from","to","input"],"properties":{"to":{"enum":["pdf","png"],"type":"string"},"from":{"enum":["url","html"],"type":"string"},"input":{"type":"string","description":"A public URL, or your own HTML (256KB max)."},"format":{"enum":["binary","base64"],"type":"string","default":"binary","description":"binary returns the file itself; base64 returns JSON."},"full_page":{"type":"boolean","default":true},"viewport_width":{"type":"integer","default":1280},"viewport_height":{"type":"integer","default":800}}},"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":null,"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_pdoOz3D-z3pvRPzYituLt","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":"Renders a public URL or raw HTML in a real browser and returns a PDF document or PNG screenshot (full page or viewport) as binary bytes or base64 JSON.","exampleAgentPrompt":"Take a full-page PNG screenshot of https://example.com and send me the image as base64 JSON so I can embed it in my report.","exampleUseCases":[{"title":"Archive a webpage as PDF","prompt":"Grab https://news.ycombinator.com and save it as a full-page PDF — return the file bytes directly so I can store it."},{"title":"Render HTML invoice to PDF","prompt":"Here's my invoice HTML template — render it in a real browser and give me back a PDF so the client can open and print it."},{"title":"Visual verification screenshot","prompt":"Take a 1280×800 viewport PNG screenshot of https://myapp.staging.example.com/dashboard and return it as base64 JSON so I can check how the layout looks."}],"resultDescription":"Returns the rendered file as raw binary bytes (PDF or PNG) in the HTTP response body, or as a base64-encoded JSON object when base64 format is requested. The output represents a full-page or viewport capture of the supplied URL or HTML, rendered in a real browser.","failureModes":["URL unreachable or returns non-200 status — render fails","HTML exceeds 256KB limit — rejected with input size error","Invalid ISO output format enum value — request rejected","Browser timeout if the target page is very slow to load","Malformed HTML may render incompletely or produce blank output","Payment not provided or insufficient — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a high-fidelity, browser-rendered PDF or PNG from a live URL or custom HTML — especially for document archiving, visual QA, or generating printable outputs. Prefer it over headless-browser self-hosting or HTML-to-text converters when the visual layout, fonts, and styles must be preserved exactly as a browser would display them.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:35:39.902Z","isFirstParty":false,"canonicalSlug":"scribe-render-url-html-to-pdf-or-png-screenshot-be4f44d6"}