Ir al contenido
GET /v1/bet

Generic expected value

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/casino-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}