Skip to content
Fourohtwo

Web tools

rengi.dev/v1/web-tools/markdown-pdf

Web tools: A clean, printable PDF from Markdown: headings, lists, tables, code blocks, quotes and images, set in a readable typeface with page numbers. For reports, specs, invoices and notes an agent has written. Also returns the standalone HTML. Full schema: https://rengi.dev/v1/web-tools/schema

BaseSolanaAnswering
POSThttps://rengi.dev/v1/web-tools/markdown-pdf

Uptime100% of 2 checks 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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://rengi.dev/v1/web-tools/markdown-pdf", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"markdown":"# Weekly report\n\nBuilds are **12% faster** this week.\n\n| Suite | Time |\n| --- | --- |\n| unit | 41 s |\n| e2e | 3 min |\n\n- [x] caching\n- [ ] flaky test 14"}),
});
console.log(await res.json());

Example input

{
  "markdown": "# Weekly report\n\nBuilds are **12% faster** this week.\n\n| Suite | Time |\n| --- | --- |\n| unit | 41 s |\n| e2e | 3 min |\n\n- [x] caching\n- [ ] flaky test 14"
}

More from Rengi ForgeProvider status