/v1/pool
Dice-pool success odds
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/dicepool-api/v1/pool" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dicepool-api/v1/pool", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dicepool-api/v1/pool");
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/dicepool-api/v1/pool",
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": "Each die succeeds with probability (faces ≥ threshold)/sides; the number of successes is binomial. Expected successes = dice × that chance. Useful for World of Darkness, Shadowrun and other pool systems.",
"inputs": {
"dice": 6,
"sides": 10,
"target_successes": 3,
"success_threshold": 7
},
"expected_successes": 2.4,
"probability_exactly_percent": 27.648,
"probability_at_least_percent": 45.568,
"success_chance_per_die_percent": 40
},
"meta": {
"timestamp": "2026-06-06T07:14:07.099Z",
"request_id": "6a7c350b-8656-41f0-baee-07f2d0e311da"
},
"status": "ok",
"message": "Dice pool",
"success": true
}