# Dexter PokéDexter Wagered Battle Challenge Creator

> Dexter PokéDexter Wagered Battle Challenge Creator is a paid API for AI agents from dexter.cash, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Creates a wagered Pokémon battle challenge where the winner takes 100% of the pot

## Facts

- Endpoint: POST https://dexter.cash/api/pokedexter/challenges
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dexter-pok-dexter-wagered-battle-challenge-creator-6e4711c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_88u4PBZsfrCVLxoDb4eit

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 dexter-pok-dexter-wagered-battle-challenge-creator-6e4711c6 -d '<json body>'
```

Example prompt: Create a wagered Pokémon battle challenge on Dexter for $10 using the gen9randombattle format.

## When to prefer this

Use this endpoint when you want to create a crypto-wagered Pokémon battle challenge on the Dexter platform, specifically when the user wants to put real USD-denominated USDC stakes on the line for a Pokémon Showdown match. Prefer this over manual challenge systems when you need a trustless, wallet-linked wager with automatic winner-takes-all payout logic.

## Known failure modes

- Wager amount outside $1–$25 range returns a validation error
- Invalid or unsupported battle format string returns an error
- Insufficient USDC balance to cover wager causes payment failure
- Expired or malformed x402 payment header returns 402 or auth error
- Network timeout before challenge is recorded leaves no challenge created

## How this service works

Create a wagered Pok�mon battle challenge

## Output

Returns a JSON object with ok: true and a challenge object containing the challenge ID, your wallet-derived username, the wager amount in USD, the battle format chosen, and ISO timestamps for when the challenge was created and when it expires.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "amount": {
   "type": "number",
   "description": "Wager amount in USD ($1-$25). Winner takes 100% of the pot."
  },
  "format": {
   "type": "string",
   "description": "Battle format (default: gen9randombattle). Options: gen9randombattle, gen9ou, gen8randombattle, etc."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ok": {
  "type": "boolean"
 },
 "challenge": {
  "type": "object",
  "properties": {
   "id": {
    "type": "string",
    "description": "Challenge ID."
   },
   "user": {
    "type": "string",
    "description": "Your username (derived from wallet)."
   },
   "amount": {
    "type": "number",
    "description": "Wager amount in USD."
   },
   "format": {
    "type": "string",
    "description": "Battle format."
   },
   "createdAt": {
    "type": "string",
    "description": "ISO timestamp."
   },
   "expiresAt": {
    "type": "string",
    "description": "ISO timestamp when expires."
   }
  },
  "description": "The created challenge details."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dexter-pok-dexter-wagered-battle-challenge-creator-6e4711c6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dexter.cash](https://www.zero.xyz/host/dexter.cash/llms.txt)
