{
  "x402Version": 2,
  "id": 13598,
  "slug": "13598",
  "resource": "https://tempfile.0000402.xyz/upload",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xeE72B902Af7466023595512e3359BB5bF312977c",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "tempfile.0000402.xyz",
  "lastUpdated": "2026-08-30T15:47:39.293Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-30T15:47:38.289Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "tempfile.0000402.xyz",
    "manifest_name": "tempfile.0000402.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}