shost-app-ojrurwe4ufxxfv3rmf0km.apps.storkhost.cloud/v1/render
Render an HTML or Markdown document to PDF or PNG with headless Chromium. JSON body with html or markdown plus options (format, pageSize, landscape, margin, css, width, height, fullPage, scale); returns the file as base64 with page count / pixel size. Offline: remote resources are blocked (inline them as data: URIs). Max 2 MiB input, 50 pages, 20 s.
POST
https://shost-app-ojrurwe4ufxxfv3rmf0km.apps.storkhost.cloud/v1/renderUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://shost-app-ojrurwe4ufxxfv3rmf0km.apps.storkhost.cloud/v1/render", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"html":"<!doctype html><html><head><style>body{font-family:sans-serif;margin:0}h1{color:#0b5}td{padding:4px 12px;border-bottom:1px solid #ddd}</style></head><body><h1>Invoice #1042</h1><p>Acme Corp · 2026-11-12</p><table><tr><td>Hosting, 1 month</td><td>$3.00</td></tr><tr><td><b>Total</b></td><td><b>$3.00</b></td></tr></table></body></html>","format":"pdf","margin":"15mm","pageSize":"A4"}),
});
console.log(await res.json());Example input
{
"html": "<!doctype html><html><head><style>body{font-family:sans-serif;margin:0}h1{color:#0b5}td{padding:4px 12px;border-bottom:1px solid #ddd}</style></head><body><h1>Invoice #1042</h1><p>Acme Corp · 2026-11-12</p><table><tr><td>Hosting, 1 month</td><td>$3.00</td></tr><tr><td><b>Total</b></td><td><b>$3.00</b></td></tr></table></body></html>",
"format": "pdf",
"margin": "15mm",
"pageSize": "A4"
}