Docs topic · PokerKit equity

How do I calculate poker equity with Pokerai API?

Send two or more player ranges to the public PokerKit equity endpoint; add a board, sample count, and seed only when your use case needs them.

Updated Maintained by Pokerai API

Direct answer: call POST /v1/pokerkit/equity with the required ranges array. It is a Monte-Carlo equity calculation, not a GTO recommendation or real-time play assistant.

Quick facts

FactValue
OperationPOST /v1/pokerkit/equity
Required parameterranges: per-player range notation arrays.
Optional parametersboard (defaults to an empty string), sample_count, and seed.
MethodMonte-Carlo; the OpenAPI description says sample_count is capped and an unset value uses the default.
Reproducibilityseed is the public request parameter for reproducible sampling.

Minimal API request

curl -s https://pokerai.bet/v1/pokerkit/equity \
  -H "Authorization: Bearer $POKERAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ranges":[["AA","KK"],["QQ","JJ"]]}'

The public EquityRequest schema requires only ranges. Add board for a known board and sample_count or seed only when the documented sampling controls are needed.

How to interpret the response

A successful response is documented as HTTP 200. The public OpenAPI snapshot intentionally leaves its response schema open, so client code should inspect the returned JSON and avoid assuming undocumented fields or a single recommended action. Equity describes the submitted ranges and cards; it does not supply GTO strategy.

Errors, limits, and safe use

HTTPPublic contractWhat to do
422HTTPValidationErrorCheck the required ranges shape and any supplied parameter types.
Samplingsample_count is cappedDo not assume a larger submitted value will be used; use the API response and reference for current behavior.

Use this endpoint for training, coaching, hand review, study, and research. Real-money real-time assistance (RTA) is prohibited. This page does not publish plan-specific allowances or promise live-table assistance.

Related documentation

Real-time assistance at real-money tables is prohibited.