Create an upload session for a new hosted Next.js site
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.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
877 msmedian answer time
$0.01listed price per call
$0.01price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.x402-hosting.com/v1/uploads
| Category | Market data |
|---|---|
| Provider host | api.x402-hosting.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 4 from 3 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.01 | 877 ms |
Example input (from the provider)
{
"headers": {
"Idempotency-Key": "00000000-0000-4000-8000-000000000001"
},
"method": "POST",
"queryParams": {
"contentType": "application/zip",
"name": "my-site",
"sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"size": 1024
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"headers": {
"additionalProperties": true,
"properties": {
"Idempotency-Key": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
}
},
"required": [
"Idempotency-Key"
],
"type": "object"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"contentType": {
"const": "application/zip",
"type": "string"
},
"name": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"size": {
"minimum": 1,
"type": "integer"
}
},
"required": [
"name",
"size",
"sha256",
"contentType"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"queryParams"
],
"type": "object"
},
"output": {
"additionalProperties": false,
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"expiresAt": {
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"objectKey": {
"type": "string"
},
"operationId": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
},
"uploadId": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
},
"uploadUrl": {
"type": "string"
}
},
"required": [
"uploadId",
"objectKey",
"uploadUrl",
"expiresAt",
"headers",
"operationId"
],
"type": "object"
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
}