/v1/hand-value
Best hand value
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/blackjack-api/v1/hand-value" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/blackjack-api/v1/hand-value", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/blackjack-api/v1/hand-value");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/blackjack-api/v1/hand-value",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "Aces count 11 unless that busts the hand, then 1 — a 'soft' total still has an ace counted as 11, so it can't bust on the next card. A two-card 21 is a blackjack (pays 3:2). Hit a soft hand freely; a hard 12–16 is the danger zone.",
"soft": true,
"total": 18,
"inputs": {
"cards": "a,7"
},
"is_bust": false,
"is_blackjack": false
},
"meta": {
"timestamp": "2026-06-06T15:30:39.911Z",
"request_id": "1c09f7f2-9fea-47e3-8bcc-56390d0e3416"
},
"status": "ok",
"message": "Hand value",
"success": true
}