← APIs / StableUpload
Verified

StableUpload

Coinbase Bazaarby Coinbase Bazaar · marketplace

Pay-per-call x402 service at stableupload.dev, listed in the Coinbase Bazaar. Buy a site upload slot. Upload a zip file, then activate to extract and serve as a static site.

datafederated
Price per request
$0.0066
Base URL
https://gateway.apiosk.com/cbz-stableupload-dev
Technical Specs
Auth MethodNone (x402 payment proof only)
Response FormatJSON
Endpoints1
Endpoints
MethodPathDescriptionCost
POST /api/site Buy a site upload slot. Upload a zip file, then activate to extract and serve as a static site.
$0.0057 default
View details
Endpoint documentation
POST/api/site
$0.0057 default
Description

Buy a site upload slot. Upload a zip file, then activate to extract and serve as a static site.

Pricing
$0.0057 default
Request schema
{
  "additionalProperties": false,
  "properties": {
    "filename": {
      "description": "Name of the zip 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": "Site tier. Default 6-month tiers: 10mb ($0.02), 100mb ($0.20), 1gb ($2.00). Short-term 7-day workflow site tiers: short-10mb ($0.005), short-100mb ($0.02), short-1gb ($0.10). short-5gb is not supported for sites.",
      "enum": [
        "10mb",
        "100mb",
        "1gb",
        "short-10mb",
        "short-100mb",
        "short-1gb"
      ],
      "type": "string"
    }
  },
  "required": [
    "filename",
    "tier"
  ],
  "type": "object"
}
Example response
{
  "curlExample": "curl -X POST \"https://stableupload-prod.s3.us-east-1.amazonaws.com/\" -F \"key=uploads/bs94s5b4ca/site.zip\" -F \"Content-Type=application/zip\" -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=@site.zip;type=application/zip\"",
  "expiresAt": "2026-05-02T16:00:00.000Z",
  "maxSize": 10485760,
  "postFields": {
    "Content-Type": "application/zip",
    "key": "uploads/bs94s5b4ca/site.zip",
    "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/",
  "uploadId": "bs94s5b4ca",
  "uploadMethod": "post",
  "uploadUrl": "https://stableupload-prod.s3.us-east-1.amazonaws.com/",
  "uploadUrlExpiresAt": "2026-04-25T16:15:00.000Z"
}