Munition Upload: x402-paid temporary file hosting for AI agents
Munition Upload: x402-paid temporary file hosting for AI agents. Buy a presigned upload slot, upload one local file or generated artifact up to 10 MB, and get a public non-guessable files.munition.io link retained for 7 days. Useful for PDFs, screenshots, images, logs, JSON, reports, browser sharing, webhook sharing, and agent-to-human handoff.
5000 (raw units)
price
5
calls / 30d
3
unique payers
2026-09-14
updated
Provider
api.munition.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x54d6C2C08e10F1a1d3dA88dF513bbE9BCf1A4aFa",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x54d6C2C08e10F1a1d3dA88dF513bbE9BCf1A4aFa",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "5000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0x54d6C2C08e10F1a1d3dA88dF513bbE9BCf1A4aFa",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "5000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "CawPXxATKM9iBPc2o6FRzu9LbvzZWcepD9akwZkbDyDo",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "5000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"iconUrl": "https://munition.io/logo.png",
"input": {
"body": {
"filename": "agent-report.pdf",
"mime": "application/pdf",
"sha256": "b43cd80a9e6155029135a38c0559aff6696566c431bfb8a9c9433882898247d1",
"sha256Base64": "tDzYCp5hVQKRNaOMBVmv9mllZsQxv7ipyUM4gomCR9E=",
"size": 42000,
"tags": [
"agent-output",
"report"
],
"tier": "short-10mb"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"expiresAt": "2026-09-21T18:58:07.616Z",
"id": "upl_example",
"maxSize": 10485760,
"publicUrl": "https://files.munition.io/direct/upl_example-agent-report.pdf",
"tags": [
"agent-output",
"report"
],
"uploadHeaders": {
"content-length": "42000",
"content-type": "application/pdf",
"x-amz-checksum-sha256": "tDzYCp5hVQKRNaOMBVmv9mllZsQxv7ipyUM4gomCR9E=",
"x-amz-meta-sha256": "b43cd80a9e6155029135a38c0559aff6696566c431bfb8a9c9433882898247d1"
},
"uploadMethod": "PUT",
"uploadUrl": "https://s3.example.com/presigned-put",
"uploadUrlExpiresAt": "2026-09-14T19:08:07.618Z"
},
"type": "json"
},
"serviceName": "Munition",
"tags": [
"storage",
"file-hosting",
"infrastructure"
]
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"filename": {
"description": "Optional original filename used for a readable public URL slug, for example report.pdf or screenshot.png.",
"maxLength": 180,
"minLength": 1,
"type": "string"
},
"mime": {
"description": "MIME type of the file to upload, for example application/pdf, image/png, text/plain, or application/json.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"sha256": {
"description": "Lowercase hex-encoded SHA-256 digest of the exact file bytes, used to bind the upload slot to the final file.",
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"sha256Base64": {
"description": "Base64-encoded 32-byte SHA-256 digest of the same file bytes, sent as x-amz-checksum-sha256 during the S3 PUT.",
"pattern": "^[A-Za-z0-9+/]{43}=$",
"type": "string"
},
"size": {
"description": "File size in bytes. The short-10mb tier accepts one file up to 10 MB.",
"maximum": 10485760,
"minimum": 1,
"type": "integer"
},
"tags": {
"default": [],
"description": "Optional stable upload tags for categorization. Tags are serialized and returned as an array of strings.",
"items": {
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"maxItems": 20,
"type": "array"
},
"tier": {
"default": "short-10mb",
"description": "Upload tier. short-10mb costs 0.005 USDC, accepts one file up to 10 MB, and retains the public link for 7 days.",
"enum": [
"short-10mb"
],
"type": "string"
}
},
"required": [
"mime",
"size",
"sha256",
"sha256Base64"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"expiresAt": {
"description": "When the public file link expires and the file is deleted.",
"format": "date-time",
"type": "string"
},
"id": {
"description": "Munition upload slot id.",
"type": "string"
},
"maxSize": {
"description": "Maximum allowed file size in bytes for this upload slot.",
"type": "integer"
},
"publicUrl": {
"description": "Public non-guessable files.munition.io URL for sharing the uploaded file.",
"format": "uri",
"type": "string"
},
"tags": {
"description": "Stable upload tags supplied when the slot was created.",
"items": {
"type": "string"
},
"type": "array"
},
"uploadHeaders": {
"additionalProperties": {
"type": "string"
},
"description": "Required headers for the uploadUrl PUT, including content-type, content-length, checksum, and sha256 metadata.",
"type": "object"
},
"uploadMethod": {
"const": "PUT",
"description": "HTTP method to use when uploading bytes to uploadUrl.",
"type": "string"
},
"uploadUrl": {
"description": "Presigned S3 URL where the client uploads file bytes after payment.",
"format": "uri",
"type": "string"
},
"uploadUrlExpiresAt": {
"description": "When the presigned upload URL expires.",
"format": "date-time",
"type": "string"
}
},
"required": [
"id",
"uploadUrl",
"uploadMethod",
"uploadHeaders",
"publicUrl",
"expiresAt",
"uploadUrlExpiresAt",
"maxSize",
"tags"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.munition.io/v1/uploads" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.munition.io/v1/uploads");
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
res = httpx.get("https://api.munition.io/v1/uploads")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/8722.json, and this resource appears in /discovery/resources and /discovery/search.