GET
Get drawing by date
Returns the Lotto America drawing for the given date (five white balls, Star Ball, All Star Bonus multiplier, jackpot, draw date).
Path: /lottoamerica/v1/drawing/{date}
curl -s -H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "x-api-key: $LOTTERY_API_KEY" \
"https://api.lotterydata.io/lottoamerica/v1/drawing/{date}"Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET
Between Dates
Returns Lotto America drawings between two dates (inclusive), including numbers, Star Ball, multiplier, jackpot, and draw date.
Path: /lottoamerica/v1/betweendates/{first_date}/{second_date}
curl -s -H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "x-api-key: $LOTTERY_API_KEY" \
"https://api.lotterydata.io/lottoamerica/v1/betweendates/{first_date}/{second_date}"Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET
Latest drawing
Returns the most recent Lotto America drawing (winning numbers, Star Ball, multiplier, jackpot, draw date).
Path: /lottoamerica/v1/latest
curl -s -H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "x-api-key: $LOTTERY_API_KEY" \
"https://api.lotterydata.io/lottoamerica/v1/latest"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET
Latest 10 drawings
Returns the 10 most recent Lotto America drawings.
Path: /lottoamerica/v1/latest10
curl -s -H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "x-api-key: $LOTTERY_API_KEY" \
"https://api.lotterydata.io/lottoamerica/v1/latest10"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET
Last 30 drawings
Returns the 30 most recent Lotto America drawings.
Path: /lottoamerica/v1/latest30
curl -s -H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "x-api-key: $LOTTERY_API_KEY" \
"https://api.lotterydata.io/lottoamerica/v1/latest30"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET
Last 60 drawings
Returns the 60 most recent Lotto America drawings.
Path: /lottoamerica/v1/latest60
curl -s -H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "x-api-key: $LOTTERY_API_KEY" \
"https://api.lotterydata.io/lottoamerica/v1/latest60"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET
Last 90 drawings
Returns the 90 most recent Lotto America drawings.
Path: /lottoamerica/v1/latest90
curl -s -H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "x-api-key: $LOTTERY_API_KEY" \
"https://api.lotterydata.io/lottoamerica/v1/latest90"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET
Stats
Summary statistics across historical drawings (mean/median/mode, std dev, frequency by position, occurrence counts).
Path: /lottoamerica/v1/stats
curl -s -H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "x-api-key: $LOTTERY_API_KEY" \
"https://api.lotterydata.io/lottoamerica/v1/stats"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET
QuickPick
Returns a randomized, playable Lotto America number set.
Path: /lottoamerica/v1/quickpick
curl -s -H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "x-api-key: $LOTTERY_API_KEY" \
"https://api.lotterydata.io/lottoamerica/v1/quickpick"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET
Check Ticket
Validates a ticket against the winning numbers (Starball included) for the specified date and reports prize tier.
Path: /lottoamerica/v1/checkticket/{drawing_date}/{num1}/{num2}/{num3}/{num4}/{num5}/{sb}
curl -s -H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "x-api-key: $LOTTERY_API_KEY" \
"https://api.lotterydata.io/lottoamerica/v1/checkticket/{drawing_date}/{num1}/{num2}/{num3}/{num4}/{num5}/{sb}"Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"