GTO Engine

Preflop ranges API

Ask for a spot, get the full 13×13 strategy back: every hand with its action frequencies, ready to draw as a chart or feed into your own logic.

Tournament spots

Open raise, 3-bet, squeeze, call vs all in and push / fold, by position and effective stack in big blinds.

Hand-level frequencies

Each of the 169 hand classes comes with the share of fold, call, raise and all in.

One request per spot

Position, action before you and stack depth in; strategy out. No local solver, no chart files to maintain.

Request and response

GET /v1/preflop
Request
GET /v1/preflop?format=mtt&players=7&hero=SB&spot=squeeze&stack_bb=20
Response (shortened example)
{
  "spot": "squeeze", "hero": "SB", "stack_bb": 20,
  "range": {
    "AA":  { "allin": 1.00 },
    "A5s": { "allin": 0.62, "fold": 0.38 },
    "KJo": { "fold": 1.00 }
  }
}

Field names are illustrative; the full reference comes with your key. API overview

What the preflop ranges API returns

Every answer is a complete preflop chart for one spot: all 169 starting hands, each with the share of fold, call, raise and all in. You choose the spot with a few parameters (table size, your position, the action before you and the effective stack in big blinds) and get the strategy back as JSON in a single request.

Because the response is data and not a picture, you decide how to use it. Draw it as a 13×13 grid, compare it with a player's real decisions, pick a single hand out of it or feed it into your own logic. Mixed strategies are kept as they are: if a hand is raised 62 % of the time and folded 38 %, you get exactly those two numbers.

Preflop charts for MTT spots

Tournament poker is played at many stack depths, and a chart that is right at 40 big blinds is wrong at 15. That is why every request carries the effective stack, and the answer is the chart for that depth. The API covers the decisions that come up in almost every MTT hand:

  • Open raise (first in): which hands to raise, limp or fold when everyone before you folded.
  • Versus an open: call, 3-bet or fold against a raise from a given position.
  • Squeeze: your options after a raise and one or more calls.
  • Versus all in: which hands call a shove and which fold.
  • Push / fold: shove or fold with a short stack.

These are the MTT preflop ranges players study first, and the ones a trainer or a hand-review tool needs to answer most questions.

Push / fold charts for short stacks

With about 15 big blinds or less, most tournament decisions turn into a simple choice: move all in or fold. A push / fold chart shows that choice for every hand from every position. The API returns these charts in the same format as all other spots, so a 10 bb push chart from the small blind is one request, and the matching call chart for the big blind is another.

For short stacks the API also answers the other side of the shove: which hands call an all in from a given position. Together they give a full picture of short-stack play for your users, without a separate tool.

How to call it

A request is a plain HTTPS GET with your key in the Authorization header. The main parameters are:

  • format - the game type, for example mtt;
  • players - the number of seats at the table;
  • hero - your position (UTG ... BTN, SB, BB);
  • spot - the situation: first in, versus open, squeeze, versus all in;
  • stack_bb - the effective stack in big blinds.

The response holds the strategy for all 169 hands. Field names on this page are examples; the full reference comes with your key. See the API overview for authentication and errors.

What you can build with it

  • Preflop trainers: deal a spot, let the player choose, compare with the chart.
  • Coaching tools: show students the right range for the exact stack and position of a hand they played.
  • Hand review: mark preflop decisions that differ from the strategy in a player's hand history.
  • Chart viewers: a chart library inside your app without storing and updating files yourself.

For the streets after the flop, combine it with the flop solutions API and the turn and river solver.

Why an API instead of chart files

Chart packs come as images or spreadsheets: you copy them into your product, convert the format and repeat it when the charts change. With the API, the strategy stays on our side and your code asks for the spot it needs at the moment it needs it. One request per spot, no local solver, nothing to keep in sync.

Questions about the preflop API

Is it a GTO preflop solver?

The ranges are solver strategies for each spot. You do not run a solver yourself: you ask for a spot and get the computed strategy back.

Can I get a whole chart in one request?

Yes. One request returns all 169 hands of the spot with their action frequencies.

Which spots and stack depths are available?

The current list of formats, positions and stack depths is sent together with your test key, so you can check your spots before you pay.

Is there a free test?

Yes. Send a request and we reply with a test key, the limits and the price for your volume.

Get access to the API

Tell us what you are building. We reply with a test key, limits and the price for your volume.

Request access