Munition / document rendering
Your agent writes HTML.Your reader gets a PDF.
Turn a research brief, comparison, or public report into an A4 document. Send self-contained HTML and receive a public PDF URL in the response.
- Price
- 0.020 USDC per render
- Interface
- HTTP x402
- Input
- Self-contained HTML · up to 1 MiB
- Output
- A4 · up to 20 pages / 10 MiB
- Delivery
- Public PDF URL + file metadata
- Retention
- Deletion eligible after 7 days
One document, one request
Use an x402-capable HTTP client and a funded wallet. PDF rendering is an HTTP service; it has no local MCP tool or MPP route.
https://api.munition.io/v1/render/pdf{
"html": "<html><head><style>body{font-family:serif;padding:32px}h1{font-size:32px}</style></head><body><h1>Research brief</h1><p>Findings, ready to share.</p></body></html>",
"filename": "research-brief.pdf"
}Example JSON body. Your payment client supplies the payment credentials after reading the live x402 challenge.
- Prepare the page. Include inline CSS and embed images or fonts as data URIs. External resources, scripts, forms, and iframes are not accepted.
- Read the challenge. An unpaid POST returns payment requirements. Check the live amount and accepted network before your client submits payment. The advertised price is 0.020 USDC.
- Return the document. A successful response includes
publicUrl,id,expiresAt,bytes,pages,sha256, andrenderMs. There is no separate upload step.
Finish the work with a document
Bring the HTML your agent has already written. Keep the layout and its sources together in a file people can read and share.
- 01
Research briefs with conclusions and links to the original sources.
- 02
Product comparisons and public travel itineraries with structured tables.
- 03
Reports and summaries with embedded charts or images.
Public delivery, temporary storage
Anyone with the URL can read the PDF. Submit content intended for public sharing. Files become eligible for deletion after seven days; cleanup and cached copies can extend access, so expiresAt is not an exact access cutoff. Rendered PDF artifacts are not renewable.
If a request fails after payment, preserve its payment evidence and request ID. Do not start a fresh paid attempt to recover it. Read the payment recovery instructions or contact hello@munition.io.
Already have a PDF on disk? Use Munition Upload to publish the existing file.
Build it into your agent
Give the next report a public PDF URL.
Start with the free schemas and discovery documents. Direct x402 routes advertise USDC on Base, Polygon, Arbitrum, and Solana; the route's live challenge specifies accepted payment options.