Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: PokerData Postflop API
version: 1.0.0
description: 'Read-only JSON APIs for GTO preflop ranges (NLHE & PLO) and postflop replay-pack strategy trees. schemaVersion 1. sizeBb, stacks, blinds, and ante are big blinds. evs are small blinds (evUnit sb) relative to folding when evBaseline is fold (every stored fold EV is 0). Two small blinds are one big blind; evs are not rescaled. An omitted hand weight means 0. full=1 writes all 169 hold''em hands with explicit 0. Code 40000+pct is a raise of pct percent of the pot after calling (blinds and a dead ante are in the pot): raiseTo = currentBet + (pct/100) * potAfterCall. nlmtt8 40bb open 40034 is sizeBb 2.19 (pack label 2.2x); SB 40060 is sizeBb 2.8 (label 2.8x). Convergence is not published.'
contact:
url: https://pokerdata.io/api
servers:
- url: https://pokerdata.io
description: Preflop ranges and postflop catalog/node
- url: https://www.pokerstudy.ai
description: Replay-pack bundles
security:
- bearerAuth: []
tags:
- name: Postflop
paths:
/api/v1/postflop/catalog:
get:
tags:
- Postflop
summary: Postflop catalog
description: 'Every browsable pack with preflop line, seats, pot, and solved boards. Free, no key. Each pack lists its bet-size trees in sizingTrees: "75" (75% pot on every street, plus all-in) is the pack id itself; "33" (33% pot on the flop, then 75% on the turn and river, plus all-in) is the `-flop33` pack id, which /api/v1/postflop/node accepts as `pack`. Each board''s trees array says which trees it is solved under.'
security: []
responses:
'200':
description: Pack list
operationId: getApiV1PostflopCatalog
x-operation-id-source: derived
/api/v1/postflop/node:
get:
tags:
- Postflop
summary: Postflop solver node
parameters:
- name: pack
in: query
required: true
schema:
type: string
example: nlhe-srp-btn-vs-bb-100bb
- name: board
in: query
required: true
schema:
type: string
example: 3h 3d 2s
description: Spaced board. URL-encode spaces.
- name: path
in: query
schema:
type: string
example: '["Check"]'
description: JSON array of segments from the root.
- name: combo
in: query
schema:
type: string
pattern: ^[2-9TJQKA][shdc][2-9TJQKA][shdc]$
example: AsKh
description: 'Optional exact combo. On packs whose catalog advertises reconstructed flop action EV and boards where actionEv.available is true, the matching hand includes action_ev and ev_loss arrays parallel to the node actions.
'
responses:
'200':
description: Node
operationId: getApiV1PostflopNode
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: pdk_
description: Key from https://pokerdata.io/app/dashboard. Prefix `pdk_`.
clerkCookie:
type: apiKey
in: cookie
name: __session
description: Poker Study AI Clerk session. Studio required.