{"info":{"_postman_id":"d9749e0e-0151-4550-abac-ff7a768d7c23","name":"Blackjack odds","description":"<html><head></head><body><p>This API lets you calculate blackjack odds and strategies based on the current cards on the table.</p>\n<h2 id=\"endpoints\">Endpoints</h2>\n<p>There is only one endpoint:</p>\n<ul>\n<li><a href=\"https://documenter.getpostman.com/view/24385138/2sBYB4KRuA#4e67f3ea-e7b6-4164-b909-7486554bb398\">calc</a></li>\n</ul>\n<h2 id=\"general-rules\">General rules</h2>\n<ul>\n<li><p>All hands are evaluated using an <strong>8-deck</strong> shoe.</p>\n</li>\n<li><p>The <strong>first character</strong> represents the <strong>dealer's face-up card</strong>, while all the <strong>subsequent characters</strong> represent <strong>your cards</strong> (meaning you must provide at least 2 cards of your own).</p>\n</li>\n<li><p>You can use the letter <strong>T</strong> instead of standard face cards (<strong>J</strong>, <strong>Q</strong> and <strong>K</strong>), since they all hold a value of <strong>10</strong>. Valid card characters are therefore <strong>A</strong>, <strong>2</strong>, <strong>3</strong>, <strong>4</strong>, <strong>5</strong>, <strong>6</strong>, <strong>7</strong>, <strong>8</strong>, <strong>9</strong>, <strong>T</strong>, <strong>J</strong>, <strong>Q</strong> and <strong>K</strong>.</p>\n</li>\n</ul>\n<h2 id=\"auth\">Auth</h2>\n<p>You must provide a valid <strong>Bearer token</strong> in the <strong>headers</strong> to use the service.</p>\n<p>Follow the <a href=\"https://documenter.getpostman.com/view/24385138/2s8ZDcyf51\">auth documentation</a> to obtain one.</p>\n<h2 id=\"response-codes\">Response codes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200 OK</td>\n<td>All just went in the right way</td>\n</tr>\n<tr>\n<td>400 Bad Request</td>\n<td>Missing hand</td>\n</tr>\n<tr>\n<td>401 Unauthorized</td>\n<td>Invalid/Missing API key</td>\n</tr>\n<tr>\n<td>405 Method Not Allowed</td>\n<td>Method not allowed (HEAD always allowed)</td>\n</tr>\n<tr>\n<td>422 Unprocessable Entity</td>\n<td>Invalid/Already busted hand</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-Markup\">88b       d88      88     ,a8888a,        ,a8888a,         88\n888b     d888   ,d888   ,8P\"'  `\"Y8,    ,8P\"'  `\"Y8,    ,d888\n88`8b   d8'88  88\" 88  ,8P        Y8,  ,8P        Y8,  88\" 88\n88 `8b d8' 88      88  88          88  88          88      88\n88  `888'  88      88  88          88  88          88      88\n88   `8'   88      88  `8b        d8'  `8b        d8'      88\n88         88      88   `8ba,  ,ad8'    `8ba,  ,ad8'       88\n88         88      88     \"Y8888P\"        \"Y8888P\"         88\n\n</code></pre>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"24385138","collectionId":"d9749e0e-0151-4550-abac-ff7a768d7c23","publishedId":"2sBYB4KRuA","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"505050","highlight":"0A3321"},"publishDate":"2026-09-28T07:23:07.000Z"},"item":[{"name":"Calc","id":"4e67f3ea-e7b6-4164-b909-7486554bb398","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://www.m1001.eu/api/services/bjo/calc","description":"<p>To use it, you just need to send an HTTPS request to the URL above including \"<strong>hand</strong>\" as parameter via the <em><strong>GET</strong></em> method, other than the <strong>Bearer token</strong> in the <strong>headers</strong>, as shown here:</p>\n<blockquote>\n<p><a href=\"https://www.m1001.eu/api/services/bjo/calc?hand=K3K\">https://www.m1001.eu/api/services/bjo/calc?hand=K3K</a> </p>\n</blockquote>\n<p>and you will receive a JSON response with the result containing the suggested <strong>strategy</strong> (<strong>\"Hit\"</strong> or <strong>\"Stand\"</strong>), the <strong>bust</strong> percentage probability and a boolean indicating whether it is mathematically favorable to double down, like this:</p>\n<blockquote>\n<p>{\"strategy\":\"Hit\",\"bust\":38.26,\"double\":false} </p>\n</blockquote>\n<p>or an error message with a bad response code (see \"Response codes\" section).</p>\n<p><strong>Be aware</strong>: the \"<strong>hand</strong>\" parameter is case-insensitive.</p>\n<h4 id=\"parameters-table\">Parameters table</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Where</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Valid values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>hand</td>\n<td>URL query string</td>\n<td>Yes</td>\n<td>The cards currently on the table (dealer's face-up card and your cards)</td>\n<td>Strings of at least 3 valid card characters</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","services","bjo","calc"],"host":["www","m1001","eu"],"query":[],"variable":[]}},"response":[{"id":"4f0626bd-f712-4df2-9838-d277ae02d7ad","name":"Hit","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {token}"}],"url":{"raw":"https://www.m1001.eu/api/services/bjo/calc?hand=8463","protocol":"https","host":["www","m1001","eu"],"path":["api","services","bjo","calc"],"query":[{"key":"hand","value":"8463"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Sep 2026 10:33:16 GMT"},{"key":"Server","value":"Apache"},{"key":"Allow","value":"GET, HEAD"},{"key":"Upgrade","value":"h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"X-Adsense-Platform-Domain","value":"altervista.com"},{"key":"Keep-Alive","value":"timeout=1, max=100"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"strategy\": \"Hit\",\n  \"bust\": 38.83,\n  \"double\": false\n}"},{"id":"2a59bdeb-d83e-4639-98f7-9b181dd9bb6d","name":"Soft hand stand","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {token}"}],"url":{"raw":"https://www.m1001.eu/api/services/bjo/calc?hand=JJA","protocol":"https","host":["www","m1001","eu"],"path":["api","services","bjo","calc"],"query":[{"key":"hand","value":"JJA"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Sep 2026 10:26:55 GMT"},{"key":"Server","value":"Apache"},{"key":"Allow","value":"GET, HEAD"},{"key":"Upgrade","value":"h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"X-Adsense-Platform-Domain","value":"altervista.com"},{"key":"Keep-Alive","value":"timeout=1, max=100"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"strategy\": \"Stand\",\n  \"bust\": 0,\n  \"double\": false\n}"},{"id":"994cac12-3661-4cc5-b6a3-fb7be7303633","name":"Hard hand stand","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {token}"}],"url":{"raw":"https://www.m1001.eu/api/services/bjo/calc?hand=34AK","protocol":"https","host":["www","m1001","eu"],"path":["api","services","bjo","calc"],"query":[{"key":"hand","value":"34AK"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Sep 2026 10:28:59 GMT"},{"key":"Server","value":"Apache"},{"key":"Allow","value":"GET, HEAD"},{"key":"Upgrade","value":"h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"X-Adsense-Platform-Domain","value":"altervista.com"},{"key":"Keep-Alive","value":"timeout=1, max=100"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"strategy\": \"Stand\",\n  \"bust\": 54.13,\n  \"double\": false\n}"},{"id":"a97cf19f-d5ab-493b-8c67-3968b954584b","name":"Double","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {token}"}],"url":{"raw":"https://www.m1001.eu/api/services/bjo/calc?hand=AQ4","protocol":"https","host":["www","m1001","eu"],"path":["api","services","bjo","calc"],"query":[{"key":"hand","value":"AQ4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Sep 2026 10:25:59 GMT"},{"key":"Server","value":"Apache"},{"key":"Allow","value":"GET, HEAD"},{"key":"Upgrade","value":"h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"X-Adsense-Platform-Domain","value":"altervista.com"},{"key":"Keep-Alive","value":"timeout=1, max=100"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"strategy\": \"Hit\",\n  \"bust\": 46.25,\n  \"double\": true\n}"}],"_postman_id":"4e67f3ea-e7b6-4164-b909-7486554bb398"}]}