Poker request
scenario.heroHand is exactly two card codes. scenario.board is 0 to 5 card codes. scenario.deadCards is optional and capped at 10 cards. Cards must be unique.
scenario.playerCount is an integer from 2 to 10. scenario.mode is live or study. scenario.villainPreset is random, tight, standard, loose, or buttonOpen. scenario.villainRange.combos accepts weights from 0 to 1 and is capped at 200 entries. scenario.iterations is capped at 10000.
potSize and betToCall are optional non-negative numbers. When both are present, the response includes a decision. Without them, decision is null.
Poker response
result contains winPct, tiePct, losePct, outsCount, improvement percentages, hero hand label, iterations used, and method. decision contains action, confidence, headline, reasoning, required equity, and stability fields.
Blackjack request
playerCards is 2 to 8 blackjack ranks. dealerUpcard is one rank. canDouble and canSplit are booleans and default to true.
Rank codes are A, 2 through 9, T, J, Q, and K. Tens are T, not 10.
Blackjack response
result contains action, optional secondary action, confidence, total, soft/pair flags, hand label, and reasoning.
Limits and discovery
Body size is capped at 32 KB. The default rate limit is about 30 requests per minute per client key. OpenAPI lives at /api/openapi. Health lives at /api/health.
Educational tool, no warranty. Max 10000 poker iterations, 2 to 10 poker players, and fair use under the route limit.