Uploads
Create an upload session for a new hosted Next.js site. Call this first when deploying a new project: it returns a presigned artifact upload URL, and the paying wallet becomes the project owner.
POST https://api.x402-hosting.com/v1/uploads
0.01 USDC on Base · payTo 0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"contentType": "application/zip",
"name": "my-site",
"sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"size": 1024
}{
"expiresAt": "2026-08-24T19:00:00.000Z",
"headers": {
"content-type": "application/zip"
},
"objectKey": "uploads/00000000-0000-4000-8000-000000000001/artifact.zip",
"operationId": "00000000-0000-4000-8000-000000000001",
"uploadId": "00000000-0000-4000-8000-000000000001",
"uploadUrl": "https://uploads.example.com/artifact.zip"
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 68 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 295 ms |
| Paid calls (30d, on-chain) | 15 calls · 2 buyers · shared price cohort of 2 |
| Facilitator-reported (30d) | 12 calls · 3 payers (CDP Bazaar) |
How to call
POST https://api.x402-hosting.com/v1/uploads · input in query · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"size": {
"type": "integer",
"minimum": 1
},
"sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"contentType": {
"type": "string",
"const": "application/zip"
}
},
"required": [
"name",
"size",
"sha256",
"contentType"
],
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"uploadId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"objectKey": {
"type": "string"
},
"uploadUrl": {
"type": "string"
},
"expiresAt": {
"type": "string"
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"operationId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"uploadId",
"objectKey",
"uploadUrl",
"expiresAt",
"headers",
"operationId"
],
"additionalProperties": false
}curl -i -X POST 'https://api.x402-hosting.com/v1/uploads?name=my-site&size=1024&sha256=0000000000000000000000000000000000000000000000000000000000000000&contentType=application%2Fzip'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs