Every US lottery draw, one JSON call away.
Winning numbers, jackpots, game rules and number statistics from Powerball and Mega Millions down to a state's Pick 3 midday draw. 48 jurisdictions, one consistent format, billed through RapidAPI.
Four kinds of lottery data, one key
Everything a results site, an app or a notification bot needs, from the latest numbers to a year of draw history.
Draw results
Winning numbers, bonus balls, jackpot, cash value and winner counts for any game and draw.
/game-result
Game catalog
Ball ranges, bonus balls, draw times with timezone, claim deadlines and draw days per state.
/states/game-list
Draw history
Every draw of the last 365 days, plus a historical dataset with older results.
/past-draws-dates
Hot & cold numbers
The most and least frequently drawn balls for each game, ready for a stats page.
/most-frequent-numbers
Three requests to a full results page
1 · Pick a state
State List returns the 48 state codes, tax rates and legal ages.
2 · Load its games
State Game List gives each game's ID, rules and draw schedule.
3 · Show the numbers
Drawing Result returns the latest draw, or any past draw with drawID.
The latest draw of a game, with your RapidAPI key:
curl --request GET \
--url 'https://usa-lottery-result-all-state-api.p.rapidapi.com/lottery-results/game-result?gameID=24' \
--header 'x-rapidapi-host: usa-lottery-result-all-state-api.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'const res = await fetch("https://usa-lottery-result-all-state-api.p.rapidapi.com/lottery-results/game-result?gameID=24", {
method: "GET",
headers: {
"x-rapidapi-key": process.env.RAPIDAPI_KEY,
"x-rapidapi-host": "usa-lottery-result-all-state-api.p.rapidapi.com"
}
});
const json = await res.json();
console.log(json.data);$ch = curl_init("https://usa-lottery-result-all-state-api.p.rapidapi.com/lottery-results/game-result?gameID=24");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"x-rapidapi-host: usa-lottery-result-all-state-api.p.rapidapi.com",
"x-rapidapi-key: " . getenv("RAPIDAPI_KEY"),
],
]);
$data = json_decode(curl_exec($ch), true)["data"];import os, requests
r = requests.get(
"https://usa-lottery-result-all-state-api.p.rapidapi.com/lottery-results/game-result",
params={"gameID": 24},
headers={
"x-rapidapi-key": os.environ["RAPIDAPI_KEY"],
"x-rapidapi-host": "usa-lottery-result-all-state-api.p.rapidapi.com",
},
)
print(r.json()["data"]){
"status": "success",
"data": {
"drawNumber": 1734,
"drawDate": "2026-11-07",
"winningNumbers": [8, 19, 33, 41, 60],
"additionalNumbers": [12],
"jackpot": "…",
"gameDetails": { "gameName": "Powerball", … }
}
}What people make with it
Results websites
State-by-state result pages that update themselves after every draw, with history archives for SEO.
Apps & ticket checkers
Scan a ticket, match it against winningNumbers and additionalNumbers, show the prize tier.
Alerts & bots
Use draw days and draw times to post results to Telegram, Discord or push notifications minutes after the draw.
Start free on RapidAPI
500 requests a month on the Basic plan. Paid plans from $24 a month.