/v1/bet
House edge of a bet
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/craps-api/v1/bet" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/craps-api/v1/bet", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/craps-api/v1/bet");
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/craps-api/v1/bet",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"bet": "pass line",
"note": "House edge per bet resolved. The line bets (pass/come 1.41 %, don't 1.36 %) and place 6/8 (1.52 %) are the best on the table; place 4/10 (6.67 %), the field and proposition bets like any seven (16.67 %) are sucker bets. Back the line with free odds to dilute the edge toward zero.",
"inputs": {
"bet_type": "pass"
},
"house_edge_pct": 1.41,
"win_probability_pct": 49.29
},
"meta": {
"timestamp": "2026-06-06T23:54:02.897Z",
"request_id": "b4e775f2-f1b4-4d4e-9274-16b7e267e1a2"
},
"status": "ok",
"message": "Bet edge",
"success": true
}