PokerDataGet an API key
Menu

Replay packs

Solved heads-up postflop strategy trees — flop, turn, and river — as JSON bundles.

The postflop API serves replay packs: curated heads-up postflop scenarios solved by our own CFR engine, each pack covering one preflop line (e.g. "BTN opens, BB calls, 50bb") across a texture-spanning set of flops. A bundle contains the full strategy tree per board — every betting node, every hand's mixed strategy, with EV.

Packs are browsable in the viewer at pokerstudy.ai/replays. On pokerdata.io the same solves are walked through /api/v1/postflop.

Authentication for replay downloads is your signed-in session plus an active Studio subscription — not a pdk_ key. The pokerdata.io catalog and node endpoints use the same pdk_ Bearer key as the preflop API (catalog is free).

Available packs

Pack idScenarioStacksBoards
nlhe-srp-btn-vs-bb-50bbSingle-raised pot — BTN opens, BB calls50bb5 flops
nlhe-3bet-btn-vs-ep-100bb3-bet pot — EP opens, BTN 3-bets, EP calls100bb18 flops

The catalog grows over time; an unknown id returns 404 {"error": "unknown pack \"<id>\""}.

pokerdata.io (Bearer key)

GET/api/v1/postflop/catalogfree · no key

Every browsable pack with preflop line, seats, pot, and solved boards. Free, no key.

Requestbash
curl "https://pokerdata.io/api/v1/postflop/catalog"
GET/api/v1/postflop/node

Postflop solver node

Query parameters
packstringrequired
boardstringrequired
Spaced board. URL-encode spaces.
pathstringoptional
JSON array of segments from the root.
Requestbash
curl "https://pokerdata.io/api/v1/postflop/node" \
  -H "Authorization: Bearer pdk_YOUR_KEY"

Walk a board street by street by appending segments like "Bet 5.5" or "deal:7c" to path.

Replay bundles (Studio session)

GET/api/replays/{id}/data

Replay-pack bundle

Query parameters
idstringrequired
Requestbash
curl "https://pokerdata.io/api/replays/{id}/data" \
  -H "Authorization: Bearer pdk_YOUR_KEY"
GET/api/replays/{id}

Verifies Studio, then 302s to the gzipped JSON on the CDN.

Query parameters
idstringrequired
Requestbash
curl "https://pokerdata.io/api/replays/{id}" \
  -H "Authorization: Bearer pdk_YOUR_KEY"

Reading a strategy tree

To answer "what does the solver do with A♠A♥ after check–check on the flop":

  1. Find the board in boards[].
  2. Find the node whose path equals ["Check", "Check"] — turn nodes follow the flop action in the walk.
  3. Look up the combo in hands[]; freqs is parallel to that node's actions.

The pot and add fields are in bb, so bet sizes render directly (Bet 13.1 into a 17.5 pot = 75%).