Host a file at a public URL for 30 days ($0.01/call)
host_fileUpload a file (≤ 5 MB; png, jpeg, webp, gif, pdf, json, txt, md or csv) and get a stable public URL https://qrcode.pub/f/ that any agent, tool or browser can fetch for 30 days. Nothing executable is accepted. The answer includes a delete token. Price: $0.01 USDC per call via x402 (USDC on Base or Solana, no account; nothing is charged for a bad input).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional file name (letters, digits, . - _; max 80 chars) | |
| content | Yes | The file: plain text, or base64 when encoding is "base64" (binary types must be base64) | |
| payment | No | x402 payment: the base64 PAYMENT-SIGNATURE value (x402 v2 payment payload signed for one entry of the `accepts` list returned when this tool is called without it). Omit to get the price and payment requirements. | |
| encoding | No | How `content` is encoded (default text) | |
| content_type | Yes | MIME type of the file |