StableUpload Site Slot Purchase is a paid API for AI agents from StableUpload at stableupload.dev, paid per call via x402 or MPP, $0.02/call, status healthy (last checked 2026-10-12, last successful call 2026-09-15).
Purchases a static site upload slot, returning a pre-signed URL to upload a zip file that can then be activated as a hosted static site.
Buy a site upload slot. Upload a zip file, then activate to extract and serve as a static site.
Returns an upload ID, a pre-signed upload URL (PUT or POST), the HTTP method to use, expiry timestamps for the upload URL and the hosted site, the maximum file size in bytes, and a ready-to-use curl command string for uploading the zip file.
POSThttps://stableupload.dev/api/site?utm_source=zero.xyzUse this endpoint when you need to deploy or host a static site by uploading a zip file and want pay-per-use pricing without a long-term subscription. It's ideal for short-lived workflow sites (7-day tiers) or standard 6-month hosting, especially when you need a pre-signed URL to push assets programmatically. Prefer this over generic object storage when you want the zip to be automatically extracted and served as a live website with optional custom domain support.
{
"tier": "short-10mb",
"filename": "mysite.zip",
"policyTtlSeconds": 3600
}| Field | Type | Description |
|---|---|---|
| tierrequired | string | 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. |
| filenamerequired | string | Name of the zip file to upload |
| policyTtlSeconds | integer | Optional upload URL/form expiration in seconds, 60-86400. Use longer TTLs only when reserving an output slot for a downstream service. |
{
"maxSize": 10485760,
"postUrl": "https://x402-upload-prod.s3.us-east-1.amazonaws.com/",
"uploadId": "yc5wtg8mtj",
"expiresAt": "2026-06-12T04:30:23.202Z",
"uploadUrl": "https://x402-upload-prod.s3.us-east-1.amazonaws.com/",
"postFields": {
"key": "uploads/yc5wtg8mtj/mysite.zip",
"policy": "eyJleHBpcmF0aW9uIjoiMjAyNi0wNi0wNVQwNTozMDoyMy45NDhaIiwiY29uZGl0aW9ucyI6W3siYnVja2V0IjoieDQwMi11cGxvYWQtcHJvZCJ9LHsia2V5IjoidXBsb2Fkcy95YzV3dGc4bXRqL215c2l0ZS56aXAifSx7IkNvbnRlbnQtVHlwZSI6ImFwcGxpY2F0aW9uL3ppcCJ9LHsieC1hbXotYWxnb3JpdGhtIjoiQVdTNC1ITUFDLVNIQTI1NiJ9LHsieC1hbXotY3JlZGVudGlhbCI6IkFLSUEyQVVPTzdCUkREUVBXREVWLzIwMjYwNjA1L3VzLWVhc3QtMS9zMy9hd3M0X3JlcXVlc3QifSx7IngtYW16LWRhdGUiOiIyMDI2MDYwNVQwNDMwMjNaIn0sWyJjb250ZW50LWxlbmd0aC1yYW5nZSIsMCwxMDQ4NTc2MF1dfQ==",
"x-amz-date": "20260605T043023Z",
"Content-Type": "application/zip",
"x-amz-algorithm": "AWS4-HMAC-SHA256",
"x-amz-signature": "43d6717c77066957af9980a76f03232608705119649385d170906852a78ae7a5",
"x-amz-credential": "AKIA2AUOO7BRDDQPWDEV/20260605/us-east-1/s3/aws4_request"
},
"curlExample": "curl -X POST \"https://x402-upload-prod.s3.us-east-1.amazonaws.com/\" -F 'key=uploads/yc5wtg8mtj/mysite.zip' -F 'Content-Type=application/zip' -F 'x-amz-algorithm=AWS4-HMAC-SHA256' -F 'x-amz-credential=AKIA2AUOO7BRDDQPWDEV/20260605/us-east-1/s3/aws4_request' -F 'x-amz-date=20260605T043023Z' -F 'policy=eyJleHBpcmF0aW9uIjoiMjAyNi0wNi0wNVQwNTozMDoyMy45NDhaIiwiY29uZGl0aW9ucyI6W3siYnVja2V0IjoieDQwMi11cGxvYWQtcHJvZCJ9LHsia2V5IjoidXBsb2Fkcy95YzV3dGc4bXRqL215c2l0ZS56aXAifSx7IkNvbnRlbnQtVHlwZSI6ImFwcGxpY2F0aW9uL3ppcCJ9LHsieC1hbXotYWxnb3JpdGhtIjoiQVdTNC1ITUFDLVNIQTI1NiJ9LHsieC1hbXotY3JlZGVudGlhbCI6IkFLSUEyQVVPTzdCUkREUVBXREVWLzIwMjYwNjA1L3VzLWVhc3QtMS9zMy9hd3M0X3JlcXVlc3QifSx7IngtYW16LWRhdGUiOiIyMDI2MDYwNVQwNDMwMjNaIn0sWyJjb250ZW50LWxlbmd0aC1yYW5nZSIsMCwxMDQ4NTc2MF1dfQ==' -F 'x-amz-signature=43d6717c77066957af9980a76f03232608705119649385d170906852a78ae7a5' -F 'file=@mysite.zip;type=application/zip'",
"uploadMethod": "post",
"uploadUrlExpiresAt": "2026-06-05T05:30:23.948Z"
}| Field | Type | Description |
|---|---|---|
| txHash | string | |
| maxSizerequired | number | |
| postUrl | string | |
| uploadIdrequired | string | |
| expiresAtrequired | string | |
| uploadUrlrequired | string | |
| postFields | object | |
| curlExamplerequired | string | |
| uploadMethodrequired | string | |
| uploadUrlExpiresAtrequired | string |
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"