Api Endpoint

x402 Hosting

Create an upload session to deploy a new version of an existing project. Call this when publishing an update; it returns a presigned artifact upload URL. Only the project owner wallet can pay.

Open interactive test console

Offering

Provider
api.x402-hosting.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Infrastructure
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.x402-hosting.com/v1/projects/:id/uploads
MIME type
Not provided
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
hosting, nextjs, deployment, cloudflare, Agents

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"
  }
]

Observed health

Status
Healthy
Latest latency
282 ms
Average latency
527 ms
HTTP status
200
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "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"
    },
    "pathParams": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "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": [
        "id"
      ],
      "type": "object"
    },
    "queryParams": {
      "additionalProperties": false,
      "properties": {
        "contentType": {
          "const": "application/zip",
          "type": "string"
        },
        "sha256": {
          "pattern": "^[0-9a-f]{64}$",
          "type": "string"
        },
        "size": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "size",
        "sha256",
        "contentType"
      ],
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "queryParams"
  ],
  "type": "object"
}

Output schema

{
  "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"
}