M

Munition · Render PDF

by Munition

POSTBaseSolanaArbitrumPolygon

$0.02

per call · USD Coin on Base

Synchronous HTML to A4 PDF, 0.020 USDC with seven-day deletion eligibility, not a hard public-access cutoff; asynchronous cleanup and caches may persist. Not renewable. Non-guessable public URL, not private: do not submit sensitive content. HTTP x402 only; no PDF MCP tool or MPP route. Candidate implementation; deployment not verified.

Endpoint

POST https://api.munition.io/v1/render/pdf

5

Calls / 30d

1

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.munition.io/v1/render/pdf", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "filename": "report.pdf",
    "html": "<h1>Report</h1>"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.munition.io/v1/render/pdf" \
  -H "Content-Type: application/json" \
  -d '{"filename":"report.pdf","html":"<h1>Report</h1>"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "bytes": 1000,
  "expiresAt": "2026-09-15T00:00:00.000Z",
  "id": "pdf_example",
  "pages": 1,
  "publicUrl": "https://files.munition.io/render/pdf_example-report.pdf",
  "renderMs": 100,
  "sha256": "0000000000000000000000000000000000000000000000000000000000000000"
}

Payment details

Pay to0x54d6c2c08e10f1a1d3da88df513bbe9bcf1a4afa
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of Media & Generation and the homepage with a featured placement.

Get featured →

More from Munition & similar services