Review hand histories with the Solver API
A session is a few hundred decisions. Turn each one into a /v1/solve body, send them as one batch, and get a webhook when every spot is answered. Then compare each decision with the solver’s strategy for that exact hand.
Plan that fits: Builder (batches up to 500) or Pro (up to 2,000). See pricing.
From a hand to a request
- The whole hand in mode "hand": the table, every preflop action with its seat, folds included, and each street’s cards and actions. Or one street in mode "ranges": both players’ ranges (your own estimates), the board, the pot and each stack at the start of the street.
- Actions are typed, in order: { "type": "check" }, { "type": "bet", "to_bb": 3.25 }, { "type": "raise", "to_bb": 11 }, { "type": "call" }.
- detail "combos" when you want the exact hole cards the player held.
One batch per session
Python
batch = client.create_batch(
requests=[to_request(d) for d in session.decisions], # up to your plan's batch size
webhook_url="https://your-app.example.com/hooks/anongto",
metadata={"session": session.id},
)
# later, in your webhook handler (or poll: client.wait_for_batch(batch["id"]))
for item in client.batch_results(batch["id"]):
if item["status"] == "done":
grade(session.decisions[item["index"]], item["response"])How batches behave
- Each item counts as one solve against the daily quota when it runs; refused items do not count.
- A batch runs in the background at low priority and never slows your live requests.
- If the quota runs out, the batch waits and carries on after 00:00 UTC (status waiting_for_quota).
- Results are kept 7 days after the batch ends, paged with offset and limit.