/v1/craps
Craps house edge
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/casino-api/v1/craps" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/casino-api/v1/craps", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/casino-api/v1/craps");
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/craps",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Exact 36-outcome dice maths. Pass line 1.41%, don't pass 1.36%, field (12 pays 3:1) 2.78%, any seven 16.67% house edge.",
"inputs": {
"bet": "pass line"
},
"payout_to_1": 1,
"win_probability": 0.492929,
"lose_probability": 0.507071,
"push_probability": 0,
"house_edge_percent": 1.4141,
"expected_value_per_unit": -0.014141
},
"meta": {
"timestamp": "2026-06-05T19:50:09.282Z",
"request_id": "70b3674f-aa82-4bfa-bfb9-4ac9158104b7"
},
"status": "ok",
"message": "Craps edge",
"success": true
}