Synchronous HTML to A4 PDF, 0.020 USDC with seven-day deletion eligibility, not a hard…
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…
by api.munition.io · discovered, not yet claimed by its owner · updated 2026-10-06
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-06
{
"filename": "report.pdf",
"html": "<h1>Report</h1>"
}{
"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"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/32447.jsonfor the price and payment options. - Pay. Call
GET https://api.munition.io/v1/render/pdf. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Polygon, Arbitrum One, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.02 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Polygon, Arbitrum One, Solana
- Demand
- 1 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.02 | 0x54d6C2C08e10F1a1d3dA88dF513bbE9BCf1A4aFa | 300s |
| exact | Polygon eip155:137 | USDC | $0.02 | 0x54d6C2C08e10F1a1d3dA88dF513bbE9BCf1A4aFa | 300s |
| exact | Arbitrum One eip155:42161 | USDC | $0.02 | 0x54d6C2C08e10F1a1d3dA88dF513bbE9BCf1A4aFa | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.02 | CawPXxATKM9iBPc2o6FRzu9LbvzZWcepD9akwZkbDyDo | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x54d6C2C08e10F1a1d3dA88dF513bbE9BCf1A4aFa",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"amountUsd": 0.02,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x54d6C2C08e10F1a1d3dA88dF513bbE9BCf1A4aFa",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "20000",
"amountUsd": 0.02,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0x54d6C2C08e10F1a1d3dA88dF513bbE9BCf1A4aFa",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "20000",
"amountUsd": 0.02,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "CawPXxATKM9iBPc2o6FRzu9LbvzZWcepD9akwZkbDyDo",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "20000",
"amountUsd": 0.02,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"bytes": {
"description": "Size of the PDF in bytes.",
"type": "integer"
},
"expiresAt": {
"description": "Seven-day deletion eligibility, not an exact public-access cutoff. Daily cleanup and asynchronous S3 lifecycle deletion may run later; cached responses can persist. No hard deletion deadline is guaranteed. PDF render artifacts are not renewable.",
"format": "date-time",
"type": "string"
},
"id": {
"description": "Munition render id.",
"type": "string"
},
"pages": {
"description": "Number of A4 pages in the PDF.",
"type": "integer"
},
"publicUrl": {
"description": "Non-guessable public files.munition.io URL of the rendered PDF; do not render confidential content. PDF render artifacts are not renewable via direct x402 or MPP upload-renew endpoints, unlike ordinary uploads.",
"format": "uri",
"type": "string"
},
"renderMs": {
"description": "Server-side render time in milliseconds.",
"type": "integer"
},
"sha256": {
"description": "Lowercase hex SHA-256 of the PDF bytes.",
"type": "string"
}
},
"required": [
"id",
"publicUrl",
"expiresAt",
"bytes",
"pages",
"sha256",
"renderMs"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"bytes": 0,
"expiresAt": "2026-01-01T00:00:00Z",
"id": "string",
"pages": 0,
"publicUrl": "https://example.com",
"renderMs": 0,
"sha256": "string"
},
"type": "string"
}Examples
curl -X POST 'https://api.munition.io/v1/render/pdf' -H 'Content-Type: application/json' --data '{"filename":"report.pdf","html":"<h1>Report</h1>"}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://api.munition.io/v1/render/pdf", {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"body": "{\"filename\":\"report.pdf\",\"html\":\"<h1>Report</h1>\"}"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
import json
res = httpx.request("POST", "https://api.munition.io/v1/render/pdf", json=json.loads("{\"filename\":\"report.pdf\",\"html\":\"<h1>Report</h1>\"}"))
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.munition.io
- Endpoint
- https://api.munition.io/v1/render/pdf
- Machine-readable
/resources/32447.json