Skip to content
Fourohtwo

resolve402.dev/api/markdown-to-pdf

Render Markdown into a clean PDF (headings, paragraphs, bold/italic/links, nested lists, code blocks, blockquotes, simple tables, page numbers, PDF bookmarks from H1-H3, internal #anchor links, embedded Unicode font: Latin, Greek, Cyrillic, €). POST JSON { markdown, title?, paper?: "A4" | "Letter" } (max 200k characters), get application/pdf back. For hosted agents that must deliver a report, a me

BaseSolanaAnswering
POSThttps://resolve402.dev/api/markdown-to-pdf

Uptime100% of 4 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://resolve402.dev/api/markdown-to-pdf", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"markdown":"# Weekly report\n\nRevenue grew **12%**.\n\n| Region | Revenue |\n|---|---|\n| EU | 1.2M |","paper":"A4","title":"Weekly report"}),
});
console.log(await res.json());

Example input

{
  "markdown": "# Weekly report\n\nRevenue grew **12%**.\n\n| Region | Revenue |\n|---|---|\n| EU | 1.2M |",
  "paper": "A4",
  "title": "Weekly report"
}

More from Resolve402Provider status