{
  "x402Version": 2,
  "id": 124,
  "slug": "124",
  "resource": "https://stableupload.dev/api/upload",
  "description": "Buy an upload slot. Agent uploads file via returned URL.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x06dFF3c8380b5D1799874adA903fc3422882FD6f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "95xcrFtRVn2fkoAKiCUKxPpTc1GN8MTyonVwLFfJfzux",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "contentType": "text/plain",
            "filename": "quick-note.txt",
            "tier": "short-10mb"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "curlExample": "curl -X POST \"https://stableupload-prod.s3.us-east-1.amazonaws.com/\" -F \"key=uploads/2s42wjsk3a/quick-note.txt\" -F \"Content-Type=text/plain\" -F \"x-amz-algorithm=AWS4-HMAC-SHA256\" -F \"x-amz-credential=AKIAEXAMPLE/20260425/us-east-1/s3/aws4_request\" -F \"x-amz-date=20260425T160000Z\" -F \"policy=base64-policy\" -F \"x-amz-signature=hex-signature\" -F \"file=@quick-note.txt;type=text/plain\"",
            "expiresAt": "2026-05-02T16:00:00.000Z",
            "maxSize": 10485760,
            "postFields": {
              "Content-Type": "text/plain",
              "key": "uploads/2s42wjsk3a/quick-note.txt",
              "policy": "base64-policy",
              "x-amz-algorithm": "AWS4-HMAC-SHA256",
              "x-amz-credential": "AKIAEXAMPLE/20260425/us-east-1/s3/aws4_request",
              "x-amz-date": "20260425T160000Z",
              "x-amz-signature": "hex-signature"
            },
            "postUrl": "https://stableupload-prod.s3.us-east-1.amazonaws.com/",
            "publicUrl": "https://f.stableupload.dev/2s42wjsk3a/quick-note.txt",
            "uploadId": "2s42wjsk3a",
            "uploadMethod": "post",
            "uploadUrl": "https://stableupload-prod.s3.us-east-1.amazonaws.com/",
            "uploadUrlExpiresAt": "2026-04-25T16:15:00.000Z"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "contentType": {
                    "description": "MIME type of the file (e.g. image/png, video/mp4)",
                    "maxLength": 255,
                    "minLength": 1,
                    "type": "string"
                  },
                  "filename": {
                    "description": "Name of the file to upload",
                    "maxLength": 512,
                    "minLength": 1,
                    "type": "string"
                  },
                  "policyTtlSeconds": {
                    "description": "Optional upload URL/form expiration in seconds, 60-86400. Use longer TTLs only when reserving an output slot for a downstream service.",
                    "maximum": 86400,
                    "minimum": 60,
                    "type": "integer"
                  },
                  "tier": {
                    "description": "Upload tier. Default 6-month tiers: 10mb ($0.02), 100mb ($0.20), 1gb ($2.00). Short-term 7-day workflow tiers: short-10mb ($0.005), short-100mb ($0.02), short-1gb ($0.10), short-5gb ($0.50, file uploads only).",
                    "enum": [
                      "10mb",
                      "100mb",
                      "1gb",
                      "short-10mb",
                      "short-100mb",
                      "short-1gb",
                      "short-5gb"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "filename",
                  "contentType",
                  "tier"
                ],
                "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": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "curlExample": {
                    "type": "string"
                  },
                  "expiresAt": {
                    "type": "string"
                  },
                  "maxSize": {
                    "type": "number"
                  },
                  "postFields": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "propertyNames": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "postUrl": {
                    "type": "string"
                  },
                  "publicUrl": {
                    "type": "string"
                  },
                  "txHash": {
                    "type": "string"
                  },
                  "uploadId": {
                    "type": "string"
                  },
                  "uploadMethod": {
                    "enum": [
                      "put",
                      "post"
                    ],
                    "type": "string"
                  },
                  "uploadUrl": {
                    "type": "string"
                  },
                  "uploadUrlExpiresAt": {
                    "type": "string"
                  }
                },
                "required": [
                  "uploadId",
                  "uploadUrl",
                  "uploadMethod",
                  "uploadUrlExpiresAt",
                  "publicUrl",
                  "expiresAt",
                  "maxSize",
                  "curlExample"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "stableupload.dev",
  "lastUpdated": "2026-09-18T21:52:47.582Z",
  "quality": {
    "calls30d": 310,
    "uniquePayers30d": 32,
    "lastCalledAt": "2026-09-18T18:47:59.897Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "stableupload.dev",
    "manifest_name": "stableupload.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}