Pay $0
Pay $0.02 USDC to store a file for 7 days. Send filename, optional content_type, and base64-encoded file bytes as JSON. Max file size: 10 MB. Returns a token and a stable GET URL. Network: Base Mainnet. Each request stores one file and returns a retrieval token plus expiry timestamp.
20000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-30
updated
Provider
tempfile.0000402.xyz · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xeE72B902Af7466023595512e3359BB5bF312977c",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"content_type": "image/png",
"data_base64": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQI12NgAAIABQ==",
"filename": "chart.png"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"content_type": "image/png",
"expires_at": "2026-03-10T13:00:00+00:00",
"filename": "chart.png",
"message": "File stored. Available at GET /file/a1b2c3d4-e5f6-7890-abcd-ef1234567890 for 7 days.",
"size_bytes": 12345,
"token": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"url": "/file/a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"content_type": {
"description": "Optional MIME type such as 'image/png' or 'application/pdf'. If omitted, the server detects it from the filename extension.",
"type": "string"
},
"data_base64": {
"description": "Base64-encoded file bytes for this upload. Decoded size must not exceed 10 MB.",
"type": "string"
},
"filename": {
"description": "Original filename including extension (max 200 chars). Used for download naming and content-type detection.",
"maxLength": 200,
"type": "string"
}
},
"required": [
"filename",
"data_base64"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://tempfile.0000402.xyz/upload" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://tempfile.0000402.xyz/upload");
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://tempfile.0000402.xyz/upload")
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/13598.json, and this resource appears in /discovery/resources and /discovery/search.