Zum Inhalt springen
GET /v1/bet

Generic expected value

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/casino-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/casino-api/v1/bet" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/casino-api/v1/bet", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/casino-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/casino-api/v1/bet",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "EV per unit staked = p_win·payout − p_lose. House edge = −EV; RTP = 1 + EV. Works for keno, slots or any custom bet.",
        "inputs": {
            "payout_to_1": 5,
            "win_probability": 0.1,
            "push_probability": 0
        },
        "rtp_percent": 60,
        "lose_probability": 0.9,
        "house_edge_percent": 40,
        "standard_deviation": 1.8,
        "expected_value_per_unit": -0.4
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:09.117Z",
        "request_id": "7ea4a501-ddc4-4a3c-84d3-1599ac77c328"
    },
    "status": "ok",
    "message": "Generic EV",
    "success": true
}