{"info":{"_postman_id":"5a2be83b-f256-4852-a7f8-e94293984d1a","name":"Holdem API — hand history example","description":"<html><head></head><body><p>Illustrative PokerStars hand, ending before Hero calls a turn bet. Enter apiKey locally before sending. The request uses the authenticated Actions endpoint.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"31791862","collectionId":"5a2be83b-f256-4852-a7f8-e94293984d1a","publishedId":"2sBYHYtxkL","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-11-06T23:05:44.000Z"},"item":[{"name":"Hero: pending hand-history decision","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('HTTP 200', () => pm.response.to.have.status(200));","if (pm.response.code === 200) {","  const body = pm.response.json();","  pm.test('Successful action decision', () => {","    pm.expect(body.ok).to.eql(true);","    pm.expect(body.output).to.be.an('object');","    pm.expect(Object.keys(body.output)).to.include(body.chosenAction);","    pm.expect(Object.values(body.output).reduce((a, b) => a + b, 0)).to.be.closeTo(1, 0.00001);","  });","}"],"id":"2186babd-1594-40cb-8b53-6586c9f50ee3"}}],"id":"1a297bdf-62a8-41cd-8755-c4c3c78470c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":""}],"body":{"mode":"raw","raw":"{\n  \"handHistory\": \"PokerStars Hand #202611060001: Hold'em No Limit ($0.10/$0.25 USD) - 2026/11/06 12:00:00 ET\\r\\nTable 'RangeWalkthrough' 6-max Seat #6 is the button\\r\\nSeat 1: SmallBlind ($25 in chips)\\r\\nSeat 2: BigBlind ($25 in chips)\\r\\nSeat 3: UnderTheGun ($25 in chips)\\r\\nSeat 4: Hijack ($25 in chips)\\r\\nSeat 5: Hero ($25 in chips)\\r\\nSeat 6: Button ($25 in chips)\\r\\nSmallBlind: posts small blind $0.10\\r\\nBigBlind: posts big blind $0.25\\r\\n*** HOLE CARDS ***\\r\\nDealt to Hero [As Ah]\\r\\nUnderTheGun: folds\\r\\nHijack: folds\\r\\nHero: raises $0.50 to $0.75\\r\\nButton: folds\\r\\nSmallBlind: folds\\r\\nBigBlind: calls $0.50\\r\\n*** FLOP *** [Qh 7s 2c]\\r\\nBigBlind: checks\\r\\nHero: bets $0.75\\r\\nBigBlind: calls $0.75\\r\\n*** TURN *** [Qh 7s 2c] [9d]\\r\\nBigBlind: bets $1.00\\r\\n\",\n  \"player\": \"Hero\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.holdemapi.com/api/actions","description":"<p>Send the unfinished hand as JSON to POST /api/actions. Set your own apiKey locally; no API key is included in this example.</p>\n<h2 id=\"sample-action-sequence\">Sample action sequence</h2>\n<p>$0.10/$0.25 blinds, $25 starting stacks. Hero is in the cutoff with As Ah.</p>\n<ul>\n<li>Preflop: UTG and hijack fold. Hero raises to $0.75. Button and small blind fold. Big blind calls.</li>\n<li>Flop Qh 7s 2c: big blind checks, Hero bets $0.75, big blind calls.</li>\n<li>Turn 9d: big blind bets $1.00. Hero must decide whether to fold, call, or raise.</li>\n</ul>\n<p>This is an illustrative hand. The history ends before Hero acts; it contains no future actions, showdown, or summary. Omit range to use the uniform board-compatible actor range.</p>\n<h2 id=\"reading-the-response\">Reading the response</h2>\n<p>output contains action probabilities; chosenAction is sampled from them. expectedValues.output contains simplified incremental profit estimates in BB, not calibrated strategic EVs. sizes and weights describe conditional aggressive sizing. range is the actor posterior conditioned on chosenAction.</p>\n","urlObject":{"path":["api","actions"],"host":["https://www.holdemapi.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a297bdf-62a8-41cd-8755-c4c3c78470c1"}],"variable":[{"key":"baseUrl","value":"https://www.holdemapi.com","type":"string"},{"key":"apiKey","value":"","type":"string"}]}