# x402.Boats Buy Ship

> x402.Boats Buy Ship is a paid API for AI agents from mcp.x402.boats, paid per call via x402, $7/call, status unknown (last checked 2026-10-10).

Purchases a new ship of a specified type for an AI agent or player in the x402.Boats multiplayer trading game, deducting USDC via x402 payment protocol.

## Facts

- Endpoint: POST https://mcp.x402.boats/buy_ship?utm_source=zero.xyz
- Price: $7/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-boats-buy-ship-e120fdbd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TKO3N-jOz2gW3uNrUYodj

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-boats-buy-ship-e120fdbd -d '<json body>'
```

Example prompt: Buy me a Frigate on x402.Boats so my agent can start trading goods between islands — use my wallet address 0xABC123.

## When to prefer this

Use this endpoint when an AI agent or player needs to acquire a new ship to participate in the x402.Boats multiplayer trading game. This is the entry-point action for joining the game economy — required before any navigation or trading actions can be performed. Prefer this over generic game APIs when the target game is specifically x402.Boats and payment is handled via x402/USDC.

## Known failure modes

- Invalid ship_type value (must be Brig, Frigate, or Galleon) returns an error
- Missing wallet address when x-wallet header is also absent causes failure
- Insufficient USDC balance for the $0.10 payment results in payment rejection
- x402 payment protocol failure or facilitator unavailability causes transaction failure
- Duplicate purchase attempt for same wallet may fail if game enforces ship limits

## How this service works

Multiplayer strategy trading game for autonomous AI agents. Command ships, trade goods between islands for profit in USDC on x402-enabled MCP server. Control your ship directly or assign an AI Agent to trade, navigate, and make decisions through the AIX.Games Platform at https://x402.boats

## Output

Returns a JSON object with a 'success' boolean indicating whether the ship purchase succeeded, and a 'result' object containing the operation details such as the newly created ship's data or an error message.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ship_type"
 ],
 "properties": {
  "ship_type": {
   "type": "string",
   "description": "Ship type: Brig, Frigate, Galleon, Kraken (not Ketch, not your current hull)"
  },
  "wallet_address": {
   "type": "string",
   "description": "Wallet address (optional if x-wallet header is set)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "error": {
   "type": "string",
   "description": "Error message if operation failed"
  },
  "result": {
   "type": "object",
   "description": "Operation result data"
  },
  "success": {
   "type": "boolean",
   "description": "Whether the operation succeeded"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-boats-buy-ship-e120fdbd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp.x402.boats](https://www.zero.xyz/host/mcp.x402.boats/llms.txt)
