/v1/strategy
Basic-strategy action
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/blackjack-api/v1/strategy" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/blackjack-api/v1/strategy", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/blackjack-api/v1/strategy");
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/strategy",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Basic strategy for 4–8 decks, dealer stands on soft 17, double-after-split allowed. Double and split apply only to a fresh two-card hand; otherwise hit or stand. Following basic strategy holds the house edge to about half a percent — but it is a guide, not a guarantee on any single hand.",
"soft": false,
"basis": "pair",
"total": 16,
"action": "P",
"inputs": {
"cards": "8,8",
"dealer": "10"
},
"action_label": "split"
},
"meta": {
"timestamp": "2026-06-06T15:30:40.018Z",
"request_id": "e13f818b-8f86-4b61-839d-dd14cb565de6"
},
"status": "ok",
"message": "Basic strategy",
"success": true
}