Skip to content
GET /v1/odds

Jackpot odds of a pick-N game

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/lottery-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Jackpot odds = the number of possible tickets, C(pool, picks), times the bonus-ball pool if there is one. A 6/49 game is 1 in 13,983,816; a 5/69 + 1/26 (Powerball-style) is 1 in 292,201,338. Every line is equally unlikely — past numbers, 'hot' numbers and lucky picks change nothing.",
        "inputs": {
            "pool": 49,
            "picks": 6,
            "bonus_pool": null
        },
        "odds_one_in": 13983816,
        "probability": 7.151123842018516e-8,
        "total_combinations": 13983816
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:39.116Z",
        "request_id": "6f7d76ae-6aa6-4f41-86ac-2f9ec9fe3e9f"
    },
    "status": "ok",
    "message": "Jackpot odds",
    "success": true
}