Is there an API that returns the GTO action for a preflop hand and position?

Yes. PokerData's ranges API has a node read that takes a stack depth, the action so far and a hand, and returns how often the solver takes each action with that hand. Asked about A3o on the button, folded to, at 100bb in 6-max cash, it answers: fold 65.5%, raise to 2.5bb 34.5%. A free Starter key covers 100 requests or 50 MB a month.

Starter API plan

100 requests and 50 MB a month.

Free

Get access

Sign in for a free Starter key (100 requests or 50 MB a month). The game catalog and discovery endpoints work with no key at all.

The request and the answer

One GET request. "history" is the action so far, ending in the seat to act, and "hand" is the hand you hold. This one asks what the button does with A3o when everyone folds to it:

curl "https://pokerdata.io/api/v1/ranges/nl/v2/node?stack=100&history=UTG_Fold_HJ_Fold_CO_Fold_BTN&hand=A3o" \
  -H "Authorization: Bearer $POKERDATA_API_KEY"

The part of the response that answers the question:

{
  "actor": "BTN",
  "hand": "A3o",
  "strategy": {"Fold": 0.655, "60%": 0.345}
}

"60%" is the raise, named by its size as a share of the pot; the same response gives it in big blinds (2.5bb here), lists every action's full range, and carries per-hand EV in small blinds where the solve scored the hand.

Five real lookups

Read from the live data on 2026-11-15. Shares are how often the solver takes each action with that exact hand.

SpotHandSolver answer
Button, folded to, 100bb 6-max cashA3ofold 65.5%, raise to 2.5bb 34.5%
Big blind against a button open, 100bb 6-max cashK9ocall 74%, raise to 12.51bb 26%
Button against a cutoff open, 100bb 6-max cashAQoraise to 7.51bb 84.5%, call 15.5%
Button, folded to, 15bb 8-max tournamentA8oall-in 100%
Under the gun, 100bb 6-max PLO(KA)(KA)raise 100%

The request path for each row, in the same order:

How a spot is addressed

Full grammar: preflop action tree. Units and fields: ranges contract.

Games and stack depths

GameSeatsStack depths (bb)Discovery, no key
No-limit hold'em, 6-max cash620, 30, 40, 50, 70, 100, 150, 200/api/v1/ranges/nl/v2
No-limit hold'em, 8-max tournament (chip EV)810, 15, 20, 30, 40, 50, 75, 100, 200, 300/api/v1/ranges/nlmtt8
No-limit hold'em, 8-max tournament with ICM815, 20, 25, 30, 40/api/v1/ranges/nlh8-icm
No-limit hold'em, heads-up21, 2, 3, 4, 5, 10, 15, 20, 25, 30, 40/api/v1/ranges/nlhu
Pot-limit Omaha, 6-max612, 20, 30, 40, 50, 75, 100, 150, 200/api/v1/ranges/plo
5-card pot-limit Omaha, 6-max6100/api/v1/ranges/plo5
Pot-limit Omaha, 9-max960, 100/api/v1/ranges/plo9

From the keyless catalog at /api/v1/ranges/games on 2026-11-15. The ICM game takes a scenario as well as a stack; its discovery endpoint lists them.

What it does not cover

The node read is preflop only. It returns frequencies, not one recommended move, and it only answers spots in the solved tree. Plan terms are on the API page. To grade whole hand histories instead of single spots, see the hand-grading API. To read the same ranges as charts, see opening ranges by position.

Questions

Is there an API that returns the GTO action for a preflop hand and position?

Yes. PokerData's GET /api/v1/ranges/{game}/node takes a stack depth, the action so far (ending in the seat to act) and a hand, and returns a "strategy" object: the share of the time the solver takes each action with that hand. Example: A3o on the button, folded to, 100bb 6-max cash returns fold 65.5%, raise to 2.5bb 34.5%.

What does the response look like?

JSON. For A3o on the button the strategy field is {"Fold": 0.655, "60%": 0.345}: action names with a share between 0 and 1. The same response lists every action at that decision with its full range, each raise's size in big blinds, and per-hand EV in small blinds where the solve scored the hand.

Which games does it cover?

No-limit hold'em, 6-max cash; No-limit hold'em, 8-max tournament (chip EV); No-limit hold'em, 8-max tournament with ICM; No-limit hold'em, heads-up; Pot-limit Omaha, 6-max; 5-card pot-limit Omaha, 6-max; Pot-limit Omaha, 9-max. The keyless catalog at /api/v1/ranges/games lists each game with its stack depths and seats. The per-hand lookups shown on this page were run on 6-max cash hold'em, the 8-max tournament and 6-max PLO.

Is it free?

The catalog and each game's discovery endpoint need no key. Range and node reads need a key: a free Starter key covers 100 requests or 50 MB a month after sign-in. Without a key, a single call can be paid per request over x402. Paid plans are on the API page.

Can ChatGPT or Claude call it?

Yes. PokerData hosts an MCP server at https://pokerdata.io/api/mcp with the same reads as tools, and the REST endpoints are plain GET requests that return JSON, so they also work as function-calling tools. The docs have a tool definition to copy.

What does it not do?

The node read is preflop only: postflop solver nodes are a separate endpoint. It returns the solver's frequencies, not a single recommended move: where a hand mixes, you get every action with its share. It only answers spots that are in the solved tree, so a bet size the tree does not hold returns a 404.