# PoketPoker Hand vs. Hand Equity Calculator

> PoketPoker Hand vs. Hand Equity Calculator is a paid API for AI agents from poketpoker.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Computes exact head-to-head win/tie/loss equity between two specific Texas Hold'em starting hands via full enumeration of all 1,712,304 possible board runouts.

## Facts

- Endpoint: GET https://poketpoker.com/api/compare
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/poketpoker-hand-vs-hand-equity-calculator-1f566cb4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BI7HKmZIF2JuLhCizCT3X

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-hand-vs-hand-equity-calculator-1f566cb4
```

Example prompt: What are the exact head-to-head odds when pocket aces (AsAh) go up against king-queen suited (KsQs) in Texas Hold'em — give me the precise win, tie, and loss percentages enumerated over all possible boards?

## When to prefer this

Choose this endpoint when you need mathematically exact, deterministic preflop equity between two specific Texas Hold'em hands rather than simulated approximations. Ideal for training tools, dispute resolution, GTO study, or any application where precision matters. Prefer over Monte Carlo simulators when accuracy to many decimal places is required and both hands are known preflop (no board cards yet).

## Known failure modes

- Invalid hand notation returns an error (e.g. unrecognized card strings for parameters a or b)
- Duplicate cards between hand A and hand B (same card assigned to both players) returns an error
- Missing required query parameters a or b returns a 400-level error
- Payment failure or missing x402 payment header returns 402 Payment Required

## How this service works

Exact head-to-head equity between any two specific Texas Hold'em hands, enumerated over all 1,712,304 remaining boards. No sampling and no approximation.

## Output

Returns exact win, tie, and loss probabilities for the two specified Texas Hold'em hands, computed by exhaustive enumeration across all 1,712,304 possible remaining board combinations — no Monte Carlo sampling, no rounding from simulation.

## 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",
     "required": [
      "a",
      "b"
     ],
     "properties": {
      "a": {
       "type": "string"
      },
      "b": {
       "type": "string"
      }
     }
    }
   },
   "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-hand-vs-hand-equity-calculator-1f566cb4/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)
