Expected value of a ticket
API · /lottery-api
Lottery Odds API
Lottery combinatorics as an API, computed locally and deterministically and exactly — the real odds behind a ticket, the maths the jackpot poster never shows. The odds endpoint gives the jackpot odds of a pick-N game as 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-plus-1/26 Powerball-style game is 1 in 292,201,338, and every single line is equally unlikely. The match-odds endpoint gives the chance of matching exactly k of the main numbers — a prize tier — from the hypergeometric formula C(picks, k)·C(pool−picks, picks−k) ÷ C(pool, picks), so matching 3 of 6 in a 6/49 game is about 1 in 57. The expected-value endpoint turns a jackpot and ticket price into the expected value and the break-even jackpot (price × the odds), the threshold a jackpot must clear before a ticket is even theoretically worth it — before a shared jackpot, lump-sum and tax pull it back under. Everything is computed locally and deterministically, so it is instant and exact. Ideal for lottery and odds apps, gambling-education and responsible-play tools, probability teaching, and game back-ends. Pure local computation — no key, no third-party service, instant. Exact combinatorics. Live, nothing stored. 3 compute endpoints. Educational — not gambling advice; the odds are always against you.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 83 ms
- Server probes · 24h
- Subscribers
- 3,545
- active
- Total calls
- 80
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 8,000 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 8,000 calls/month
- 2 req/sec
- Odds + match odds + EV
- No credit card
Starter
€3.45 /month
- 100,000 calls / month
- 8 requests / second
- Hard cap (429 above quota, no overage)
- 100,000 calls/month
- 8 req/sec
- Bonus-ball games & tiers
- Email support
Pro
€11.30 /month
- 400,000 calls / month
- 20 requests / second
- Hard cap (429 above quota, no overage)
- 400,000 calls/month
- 20 req/sec
- Game-backend & education pipelines
- Priority support
Mega
€35.60 /month
- 1,750,000 calls / month
- 48 requests / second
- Hard cap (429 above quota, no overage)
- 1,750,000 calls/month
- 48 req/sec
- Platform scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
SX Bet Sports Prediction Market API
Live data for SX Bet, the on-chain sports prediction & betting exchange on SX Network, with no key. List the active sports-betting markets (moneyline, spread, total) with their two named outcomes, teams, league, sport and game time; get the supported sports; the active leagues with event counts; and the active fixtures (upcoming games) for any league. The peer-to-peer sports-prediction layer for odds dashboards, fixture monitors and sports-data apps — distinct from Polymarket, Kalshi and Limitless. Covers 29 sports across 100+ live markets.
api.oanor.com/sxbet-api
Limitless Prediction Market API
Live data for Limitless Exchange, the on-chain prediction market on Base, with no key. List the active markets with each market's title, live YES/NO implied-probability prices (0–1), traded volume, deadline and category tags; pull a single-market detail by slug; and get the full tag list. Prices are the live market-implied odds for each binary outcome, settled in USDC — distinct from Polymarket and Kalshi. Ideal for odds dashboards, event monitors and crypto-native sentiment analytics across 900+ live markets.
api.oanor.com/limitless-api
Polymarket API
Live prediction-market data from Polymarket, the largest real-money prediction market, via its public Gamma API. On Polymarket people trade shares in the outcome of real-world events, so each market's price is a live, money-backed probability. Get the most active markets, each with its outcomes and their implied probabilities, the best bid and ask, the traded volume and the liquidity. Read one market in full, including its description and resolution date. Pull the biggest events — an event groups related markets, like a championship with one market per team — with their total volume and market count. Get one event with every sub-market and its current probability, the whole field at a glance. Live, no key, nothing stored. Distinct from sports-betting-odds and price-feed APIs — this is Polymarket's money-backed event probabilities and its markets. Perfect for forecasting, trading-signal, news and analytics apps.
api.oanor.com/polymarket-api
Craps Odds API
Craps odds maths as an API, computed locally and deterministically and exactly — the dice probabilities behind the table, derived from the 36 ways two dice fall, not pulled from a chart. The come-out endpoint gives the come-out roll: the pass line wins on a 7 or 11 (8 of 36, 22.2 %), loses on craps 2, 3 or 12 (4 of 36, 11.1 %), and otherwise sets a point (24 of 36, 66.7 %). The point endpoint gives the odds of making a point before a seven — probability = ways(point) ÷ (ways(point) + 6) — so a 6 or 8 makes 45.5 % of the time and a 4 or 10 only 33.3 %, with the TRUE odds (2:1, 3:2, 6:5) the free odds bet behind the line pays at zero house edge. The bet endpoint gives the house edge of the main bets: the line bets at 1.41 % (pass) and 1.36 % (don't) and place 6/8 at 1.52 % are the table's best, while place 4/10 (6.67 %), the field and proposition bets like any seven (16.67 %) bleed you. Everything is computed locally and deterministically, so it is instant and exact. Ideal for craps and casino-game apps, gambling-education and odds tools, game-design back-ends, and probability teaching. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 compute endpoints. Educational — not betting advice; back the line with free odds.
api.oanor.com/craps-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Lottery Odds API?
What's the rate limit for Lottery Odds API?
How much does Lottery Odds API cost?
Can I cancel my subscription anytime?
Is Lottery Odds API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/lottery-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/lottery-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/lottery-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/lottery-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.