x402basequality 0.45

Hire a siege mercenary in 4x402 strategy game — $1.00 USDC via x402 on Base.

Price
1.00 USDC / call
Protocol
x402
Verified
no

What it does

This endpoint lets agents or players hire a Siege mercenary in 4x402, an async multiplayer 4X strategy game built for the Farcaster community. The Siege mercenary costs $1.00 USDC and performs a direct attack on an enemy node with a 40% success rate. It is described in the game docs as a "desperation move" — powerful but unreliable.

4x402 is a four-player game played on a procedural network graph where players explore, expand, exploit resources, and exterminate opponents over several days. Mercenaries are distinct from normal in-game units: they are hired with real USDC via the x402 protocol and provide powerful, instant effects. The Siege mercenary is the most expensive of the three mercenary types (Scout at $0.25, Raider at $0.50, Siege at $1.00).

The endpoint accepts POST requests and is gated by an x402 payment challenge on the Base network. Payment is made in USDC (contract 0x8335…2913) with a max amount of 1,000,000 units (i.e., $1.00 USDC with 6 decimals). The game ID in the URL path identifies a specific match instance. No OpenAPI schema or detailed request/response documentation is published beyond the x402 challenge and the game's docs page.

Capabilities

x402-paymentusdc-micropaymentbase-networkgame-actionmercenary-hiresiege-attackasync-strategy

Use cases

  • Hire a siege mercenary to directly attack an enemy node in a 4x402 match
  • Automate aggressive strategies by programmatically purchasing siege attacks
  • Build a bot or agent that manages mercenary spending in 4x402 games

Fit

Best for

  • Players or agents in active 4x402 matches needing a direct attack option
  • Automated game-playing agents that interact with x402-gated game endpoints
  • Developers experimenting with x402 micropayment-powered game mechanics

Not for

  • General-purpose combat or strategy APIs outside the 4x402 game
  • Users looking for free or non-payment-gated game actions
  • Non-Base-network USDC payments

Quick start

curl -X POST https://4x402.com/api/games/5fab9ce6-249b-418a-803d-687b5ac36b6b/mercs/siege \
  -H 'Content-Type: application/json' \
  -H 'X-PAYMENT: <x402_payment_header>'

Endpoint

Transporthttp
Protocolx402
Pay to0xf5b49961126F950c4937e818CA926C47bB14Ef70
CurrencyUSD COIN

Quality

0.45/ 1.00

The endpoint is live and returns a valid x402 402 challenge. Game docs describe the Siege mercenary's cost and effect clearly. However, there is no OpenAPI spec, no documented request body schema, and no example response, making integration details largely unknown.

Warnings

  • No OpenAPI or request/response schema published — request body format is unknown
  • Game ID in URL is match-specific; endpoint only works for active game instances
  • No detailed API documentation page exists (4x402.com/api returns 404)
  • 40% success rate means the $1.00 payment may not yield a successful attack

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-18 19:32:14Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-18
Last seen2026-04-25

Agent access