# 4x402 Game Siege Action

> 4x402 Game Siege Action is a paid API for AI agents from 4x402.com, paid per call via x402, $1/call, status unknown (last checked 2026-10-26).

Executes a siege mercenary action for a specific game instance in the 4x402 on-chain strategy game

## Facts

- Endpoint: POST https://4x402.com/api/games/:id/mercs/siege?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/4x402-com-bab37673
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SQ-_Cjq0WyA-E99_R-ikq

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 4x402-com-bab37673 -d '<json body>'
```

Example prompt: Send my mercenaries to siege game 42 in 4x402 — execute the siege attack now.

## When to prefer this

Use this endpoint when an AI agent or player needs to execute a siege action using mercenaries within a specific 4x402 game instance, particularly when the game phase allows siege moves and the player has mercenaries available.

## Known failure modes

- Invalid or non-existent game ID returns 404
- Insufficient game state for siege (e.g. wrong phase) returns 400
- Payment failure or x402 payment not accepted returns 402
- Mercenaries not available or already deployed returns 409
- Malformed request body returns 422

## Output

Returns the outcome of the mercenary siege action for the specified game, including updated game state, siege results, and any changes to the mercenary status or game progression.

## More

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