Api Endpoint

x402 Hosting

Extend a project's hosting lease, priced per day (1-730 days via the days query parameter). Call this when hosting is nearing expiry or to republish an expired site; only the 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/renew
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
2 USDC
Atomic price: 2000000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000000",
    "payTo": "0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"
  }
]

Observed health

Status
Healthy
Latest latency
231 ms
Average latency
649 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": {
        "days": {
          "maximum": 730,
          "minimum": 1,
          "type": "integer"
        },
        "deploymentId": {
          "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": [
        "days"
      ],
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "queryParams"
  ],
  "type": "object"
}

Output schema

{
  "additionalProperties": false,
  "properties": {
    "example": {
      "additionalProperties": true,
      "properties": {
        "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"
        },
        "operationUrl": {
          "type": "string"
        },
        "projectId": {
          "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"
        },
        "state": {
          "type": "string"
        }
      },
      "required": [
        "projectId",
        "operationId"
      ],
      "type": "object"
    },
    "type": {
      "const": "json",
      "type": "string"
    }
  },
  "required": [
    "type",
    "example"
  ],
  "type": "object"
}