# PoketPoker Deal Hand

> PoketPoker Deal Hand is a paid API for AI agents from poketpoker.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Deals one hand of Texas Hold'em for the user to play against a bot at one of five difficulty tiers, returning the table state and a ticket to continue play.

## Facts

- Endpoint: GET https://poketpoker.com/api/play/deal
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/poketpoker-deal-hand-4c387177
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t8ZiGtJO8ganypBYWudOb

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 poketpoker-deal-hand-4c387177
```

Example prompt: Deal me a hand of Texas Hold'em on PoketPoker against a tough opponent — set the difficulty to 4 and put me at a 6-seat table.

## When to prefer this

Choose this endpoint when you want to interactively simulate or play out a full Texas Hold'em hand against AI opponents with configurable difficulty, rather than just looking up static hand equities or open-raise charts. It is the right choice when the goal is gameplay simulation or practice, not pure hand analysis.

## Known failure modes

- Invalid difficulty value (outside 0-4) returns an error
- Invalid seats value (outside 2-8) returns an error
- Network timeout if the service is under load
- Malformed query parameters may return a 400-level error
- Payment failure via x402 protocol prevents hand from being dealt

## How this service works

Deal one hand of Texas Hold'em against PoketPoker's bots and find out how your play compares. Five difficulty tiers; the top tier plays range-aware expected-value poker and beats every tier below it. Returns the table and a ticket; playing the hand out costs nothing more. Markdown by default, JSON with format=json.

## Output

Returns the dealt table state including hole cards, community cards, and opponent info, plus a ticket to continue playing out the hand. Default format is Markdown; pass format=json for machine-readable JSON. The ticket allows the hand to be played through at no additional cost.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "seed": {
       "type": "integer"
      },
      "seats": {
       "type": "integer",
       "maximum": 8,
       "minimum": 2
      },
      "format": {
       "type": "string"
      },
      "difficulty": {
       "type": "integer",
       "maximum": 4,
       "minimum": 0
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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