# Pokedexter Quick Match Queue

> Pokedexter Quick Match Queue is a paid API for AI agents from x402.dexter.cash, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Joins a Pokémon battle matchmaking queue with a wager, returning match status and opponent details if immediately paired.

## Facts

- Endpoint: POST https://x402.dexter.cash/api/pokedexter/queue
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pokedexter-quick-match-queue-11a04478
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pLHPu4ybU-gnZtvG5WvDv

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 pokedexter-quick-match-queue-11a04478 -d '<json body>'
```

Example prompt: Put me in the Pokedexter quick match queue for a gen9randombattle with a $5 wager.

## When to prefer this

Use this endpoint when you want to enter a wagered Pokémon battle via Pokedexter's matchmaking system. It handles both queue entry and immediate matching in a single call. Prefer this over the challenge-accept endpoint when you don't have a specific opponent in mind and want to be paired automatically.

## Known failure modes

- Wager amount outside $1–$25 range returns validation error
- Invalid battle format string returns error
- Payment of $0.01 USDC not received — 402 payment required
- No opponents in queue — queued: true with no match
- Server error if Pokedexter service is unavailable

## How this service works

Join Pokedexter quick match queue

## Output

Returns a JSON object indicating whether the user was immediately matched (matched: true) or added to a waiting queue (queued: true), along with wager details, opponent username if matched, and current queue statistics including total players waiting.

## 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"
 },
 "wager": {
  "type": "object",
  "description": "Wager details (if matched)."
 },
 "queued": {
  "type": "boolean",
  "description": "True if added to queue waiting for match."
 },
 "matched": {
  "type": "boolean",
  "description": "True if immediately matched with opponent."
 },
 "opponent": {
  "type": "string",
  "description": "Opponent username (if matched)."
 },
 "queueStats": {
  "type": "object",
  "properties": {
   "totalInQueue": {
    "type": "number",
    "description": "Players waiting."
   }
  },
  "description": "Queue statistics."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pokedexter-quick-match-queue-11a04478/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.dexter.cash](https://www.zero.xyz/host/x402.dexter.cash/llms.txt)
