Skip to content
onelayer.
All tools

Tool detail

StableUpload

Buys an upload slot for a zip file and, once activated, extracts and serves it as a static site.

Categories: Cloud hosting, Data storage

Use when

  • host a static site from a zip file, paid per upload slot
  • get a short-term (7-day) hosted preview link for a built site

Not for

  • not for uploading arbitrary files for download — that's a separate generic upload product

Inputs

POST JSON body: filename (string, required), tier (enum size/duration, required), policyTtlSeconds (integer 60-86400, optional)

Admitted input schema

{
  "type": "object",
  "properties": {
    "filename": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "description": "Name of the zip file to upload"
    },
    "policyTtlSeconds": {
      "type": "integer",
      "minimum": 60,
      "maximum": 86400,
      "description": "Optional upload URL/form expiration in seconds, 60-86400. Use longer TTLs only when reserving an output slot for a downstream service."
    },
    "tier": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "10mb",
        "100mb",
        "1gb",
        "short-10mb",
        "short-100mb",
        "short-1gb"
      ],
      "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."
    }
  },
  "required": [
    "filename",
    "tier"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://stableupload.dev/api/site

Payment

Protocol
x402
Listed price
0.005 USDC listed (short-10mb tier); actual cost varies 0.005-2 USDC by chosen tier
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://stableupload.dev/api/site
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z