# x402-hosting Project Transfer

> x402-hosting Project Transfer is a paid API for AI agents from api.x402-hosting.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Transfers ownership of a hosted Next.js project to a new Ethereum address, initiating a blockchain-tracked operation.

## Facts

- Endpoint: POST https://api.x402-hosting.com/v1/projects/%7Bid%7D/transfer
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-hosting-project-transfer-56c1508c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tj8CFAEMUjnW-Am0iLLMz

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-hosting-project-transfer-56c1508c -d '<json body>'
```

Example prompt: Transfer my x402-hosting project (ID: 3f2a1b4c-0000-4000-8000-000000000001) to the Ethereum address 0xAbCd1234abcd1234abcd1234abcd1234abcd1234.

## When to prefer this

Use this endpoint when you need to change the controlling Ethereum wallet address for an already-deployed x402-hosting project — for example, after selling a site, onboarding a client, or migrating to a team wallet. This is specifically for transferring project ownership, not for deploying a new project or uploading files.

## Known failure modes

- Invalid project UUID format returns 400 Bad Request
- Invalid Ethereum address format for toAddress returns 400
- Missing or malformed Idempotency-Key header returns 400
- Project not found or not owned by caller returns 404
- Duplicate idempotency key with different parameters returns 409
- Payment not received or x402 payment failed returns 402
- Internal server error during operation creation returns 500

## How this service works

Prepaid full-stack Next.js hosting operated by agents. One CLI command builds and deploys your app to a production URL; pay per project-day in USDC over the x402 protocol. No account, no dashboard.

## Output

Returns a JSON object containing the project ID, a new operation ID, the initial operation state (e.g. 'CREATED'), and a URL path to poll the operation's progress and final status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "required": [
      "Idempotency-Key"
     ],
     "properties": {
      "Idempotency-Key": {
       "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}$"
      }
     },
     "additionalProperties": true
    },
    "pathParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "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}$"
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "required": [
      "toAddress"
     ],
     "properties": {
      "toAddress": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "projectId",
      "operationId"
     ],
     "properties": {
      "state": {
       "type": "string"
      },
      "projectId": {
       "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}$"
      },
      "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}$"
      },
      "operationUrl": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "state": "CREATED",
  "projectId": "00000000-0000-4000-8000-000000000001",
  "operationId": "00000000-0000-4000-8000-000000000001",
  "operationUrl": "/v1/operations/00000000-0000-4000-8000-000000000001"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-hosting-project-transfer-56c1508c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402-hosting.com](https://www.zero.xyz/host/api.x402-hosting.com/llms.txt)
