Skip to content
Fourohtwo

Markdown to PDF

quantagentshop.com/v1/pdf/from-markdown

Markdown to PDF. Send Markdown (headings, lists, tables, links, bold, italic); returns an A4 PDF as base64 in JSON. Use to hand a person a printable report or invoice-style page. Images and raw HTML are not rendered. Up to 50,000 characters. Typical response under 1 s. Failed calls are not charged.

BaseAnswering
POSThttps://quantagentshop.com/v1/pdf/from-markdown

Uptime100% 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

// 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://quantagentshop.com/v1/pdf/from-markdown", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"markdown":"# Weekly report\n\n- Calls: 120\n- Errors: 0\n","title":"Weekly report"}),
});
console.log(await res.json());

Example input

{
  "markdown": "# Weekly report\n\n- Calls: 120\n- Errors: 0\n",
  "title": "Weekly report"
}

More from Quant Agent ShopProvider status