GTO Engine

Flop solutions API

Flop strategies are solved in advance and stored, so a request is a lookup: the answer comes back without waiting for a solver.

Solved in advance

Flop spots are computed offline on our servers and kept in a base.

Fast answers

A request reads the stored solution; no solve time on your side.

Per-hand strategy

Bet, check, call, raise and fold frequencies for each combination in range.

Request and response

GET /v1/flop
Request
GET /v1/flop?board=Ks7d2c&spot=srp_btn_bb&stack_bb=25
Response (shortened example)
{
  "board": "Ks7d2c", "player": "BTN",
  "actions": ["check", "bet33", "bet75"],
  "strategy": { "AhKh": [0.10, 0.85, 0.05], "7c6c": [0.55, 0.40, 0.05] }
}

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

What a flop solution is

A flop solution is the full strategy for one flop in one spot: for every hand in each player's range, how often to check, bet, call, raise or fold. A solver finds it by playing the spot against itself until neither player can gain by changing strategy. That is the strategy players mean when they say GTO.

The flop solutions API gives you these strategies over HTTP. You send the spot and the board, and you get the action frequencies for every combination back as JSON.

Why the flop is solved in advance

Solving a flop takes time. In our tests a single flop needed about 16 minutes on an 8-thread server at our accuracy setting. That is fine for study, but too slow for an app where a user clicks and waits for the answer.

So the flop is computed before anyone asks. We solve a spot on every flop offline, store the results and answer each request from that base. For you a request is a lookup: no waiting for a solver, no solver servers on your side.

Every flop of a spot

There are 22,100 ways to deal three cards, but many of them are the same flop with the suits renamed. After removing those copies, 1,755 strategically different flops remain. A spot in our base is solved on all 1,755 of them, so there are no gaps: any flop a user asks about maps to a stored solution.

Each spot is defined by the positions, the preflop action and the effective stack. The list of solved spots comes with your key; more spots are added over time, and custom spots are possible on request.

Bet sizes and accuracy

A solver can only choose between the bet sizes it is given. The base uses a fixed tree: on the flop a small bet of 33 % and a large bet of 75 % of the pot, then 66 % on the turn and 75 % on the river, raises of 60 % and all in.

Each flop is solved until the strategy is within 0.5 % of the pot of the equilibrium.

Reading the response

The strategy is given per combination, not per hand class: A♥K♥ and A♠K♣ can play differently on the same flop, because suits change which draws and blockers a hand has. Each combination gets one number per action, and the numbers add up to 1.

A mixed answer such as 55 % check and 40 % small bet is normal for a solver strategy. It means both actions are about equally good with that hand, and playing each at that frequency keeps the whole range balanced. Your app can show the mix as it is, round it to the main action for beginners, or sum it over the range to show how often a player bets in total.

How to call it

Send a GET request with the board, the spot and the stack depth. The answer lists the available actions and, for each combination in range, the frequency of each action. Field names here are examples; the full reference comes with your key. See the API overview.

An online poker solver inside your product

Players search for a poker solver online because desktop solvers are slow to set up and need a strong computer. With the API you can offer solver answers inside your own app or website: the computing is done on our servers, your users get the result in the browser.

  • Study tools: show the strategy for any flop of a spot, hand by hand.
  • Trainers: deal a flop, ask the user for an action, score it against the solution.
  • Hand review: compare a player's flop decision with the solved strategy.
  • Board reports: aggregate many flops to show how strategy changes with board texture.

Before the flop, use the preflop ranges API; for spots outside the base and for later streets, use live turn and river solves.

Questions about the flop API

How is this different from running a solver myself?

You skip the solve time and the servers. The flop is already solved; the API returns the stored result.

Is it heads-up only?

Yes. The base holds two-player spots: one player in position, one out of position.

Can I get a spot that is not in the base?

Custom spots are possible on request. Turn and river spots can be solved live with the solve endpoint.

Which spots are in the base now?

The current list comes with your test key, so you can check that your spots are covered 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