AP
MCP Tool · x402 · early usage

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

30d calls1
30d payers1
MethodPOST
Outputjson

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
Input example from Bazaar metadata
{
  "filename": "report.pdf",
  "html": "<h1>Report</h1>"
}
Output example
{
  "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

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/32447.json for the price and payment options.
  3. Pay. Call GET https://api.munition.io/v1/render/pdf. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with 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

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.020x54d6C2C08e10F1a1d3dA88dF513bbE9BCf1A4aFa300s
exactPolygon
eip155:137
USDC$0.020x54d6C2C08e10F1a1d3dA88dF513bbE9BCf1A4aFa300s
exactArbitrum One
eip155:42161
USDC$0.020x54d6C2C08e10F1a1d3dA88dF513bbE9BCf1A4aFa300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.02CawPXxATKM9iBPc2o6FRzu9LbvzZWcepD9akwZkbDyDo300s
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
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-SIGNATURE
JavaScript
const 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
}
Python
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 header

Details

Provider
api.munition.io
Endpoint
https://api.munition.io/v1/render/pdf
Machine-readable
/resources/32447.json