LotteryData.io logo

LotteryData.io API Docs

Quick cURL recipes for each game. All requests require the header x-api-key.

MegaMillions

GET

Get drawing by date

Returns the Mega Millions drawing for the given date (five white balls, Megaball, jackpot, draw date).

Path: /megamillions/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/megamillions/v1/drawing/{date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest drawing

Returns the most recent Mega Millions drawing (winning numbers, Megaball, jackpot, draw date).

Path: /megamillions/v1/latest
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megamillions/v1/latest"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Between Dates

Returns Mega Millions drawings between two dates (inclusive), including numbers, Megaball, jackpot, and draw date.

Path: /megamillions/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/megamillions/v1/betweendates/{first_date}/{second_date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 10 drawings

Returns the 10 most recent Mega Millions drawings.

Path: /megamillions/v1/latest10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megamillions/v1/latest10"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 30 drawings

Returns the 30 most recent Mega Millions drawings.

Path: /megamillions/v1/latest30
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megamillions/v1/latest30"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 60 drawings

Returns the 60 most recent Mega Millions drawings.

Path: /megamillions/v1/latest60
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megamillions/v1/latest60"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 90 drawings

Returns the 90 most recent Mega Millions drawings.

Path: /megamillions/v1/latest90
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megamillions/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: /megamillions/v1/stats
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megamillions/v1/stats"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

QuickPick

Returns a randomized, playable Mega Millions number set.

Path: /megamillions/v1/quickpick
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megamillions/v1/quickpick"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Check Ticket

Validates a ticket against the winning numbers for the specified date and reports prize tier.

Path: /megamillions/v1/checkticket/{drawing_date}/{num1}/{num2}/{num3}/{num4}/{num5}/{mb}
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megamillions/v1/checkticket/{drawing_date}/{num1}/{num2}/{num3}/{num4}/{num5}/{mb}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"

Powerball

GET

Get drawing by date

Returns the Powerball drawing for the given date (five white balls, Powerball, multiplier, jackpot, draw date).

Path: /powerball/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/powerball/v1/drawing/{date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Between Dates

Returns Powerball drawings between two dates (inclusive), including numbers, Powerball, multiplier, jackpot, and draw date.

Path: /powerball/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/powerball/v1/betweendates/{first_date}/{second_date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest drawing

Returns the most recent Powerball drawing (winning numbers, Powerball, multiplier, jackpot, draw date).

Path: /powerball/v1/latest
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/powerball/v1/latest"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 10 drawings

Returns the 10 most recent Powerball drawings.

Path: /powerball/v1/latest10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/powerball/v1/latest10"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 30 drawings

Returns the 30 most recent Powerball drawings.

Path: /powerball/v1/latest30
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/powerball/v1/latest30"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 60 drawings

Returns the 60 most recent Powerball drawings.

Path: /powerball/v1/latest60
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/powerball/v1/latest60"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 90 drawings

Returns the 90 most recent Powerball drawings.

Path: /powerball/v1/latest90
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/powerball/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: /powerball/v1/stats
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/powerball/v1/stats"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

QuickPick

Returns a randomized, playable Powerball number set.

Path: /powerball/v1/quickpick
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/powerball/v1/quickpick"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Check Ticket

Validates a ticket against the winning numbers for the specified date and reports prize tier.

Path: /powerball/v1/checkticket/{drawing_date}/{num1}/{num2}/{num3}/{num4}/{num5}/{pb}
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/powerball/v1/checkticket/{drawing_date}/{num1}/{num2}/{num3}/{num4}/{num5}/{pb}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"

Lucky4Life

GET

Get drawing by date

Returns the Lucky for Life drawing for the given date (five white balls, Lucky Ball, top prizes, draw date).

Path: /lucky/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/lucky/v1/drawing/{date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Between Dates

Returns Lucky for Life drawings between two dates (inclusive), including numbers, Lucky Ball, and draw date.

Path: /lucky/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/lucky/v1/betweendates/{first_date}/{second_date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest drawing

Returns the most recent Lucky for Life drawing (winning numbers, Lucky Ball, draw date).

Path: /lucky/v1/latest
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lucky/v1/latest"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 10 drawings

Returns the 10 most recent Lucky for Life drawings.

Path: /lucky/v1/latest10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lucky/v1/latest10"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 30 drawings

Returns the 30 most recent Lucky for Life drawings.

Path: /lucky/v1/latest30
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lucky/v1/latest30"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 60 drawings

Returns the 60 most recent Lucky for Life drawings.

Path: /lucky/v1/latest60
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lucky/v1/latest60"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 90 drawings

Returns the 90 most recent Lucky for Life drawings.

Path: /lucky/v1/latest90
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lucky/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: /lucky/v1/stats
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lucky/v1/stats"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

QuickPick

Returns a randomized, playable Lucky for Life number set.

Path: /lucky/v1/quickpick
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lucky/v1/quickpick"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Check Ticket

Validates a ticket against the winning numbers (Lucky Ball included) for the specified date and reports prize tier.

Path: /lucky/v1/checkticket/{drawing_date}/{num1}/{num2}/{num3}/{num4}/{num5}/{pb}
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lucky/v1/checkticket/{drawing_date}/{num1}/{num2}/{num3}/{num4}/{num5}/{pb}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"

Cashpop

GET

Get drawing by date

Returns Cash Pop drawings for the given date (draw time/session, winning number, payout info when available).

Path: /cashpop/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/cashpop/v1/drawing/{date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Between Dates

Returns Cash Pop drawings between two dates (inclusive), including draw time/session and winning number.

Path: /cashpop/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/cashpop/v1/betweendates/{first_date}/{second_date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest drawing

Returns the most recent Cash Pop drawing (time/session and winning number).

Path: /cashpop/v1/latest
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cashpop/v1/latest"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 10 drawings

Returns the 10 most recent Cash Pop drawings.

Path: /cashpop/v1/latest10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cashpop/v1/latest10"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 30 drawings

Returns the 30 most recent Cash Pop drawings.

Path: /cashpop/v1/latest30
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cashpop/v1/latest30"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 60 drawings

Returns the 60 most recent Cash Pop drawings.

Path: /cashpop/v1/latest60
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cashpop/v1/latest60"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 90 drawings

Returns the 90 most recent Cash Pop drawings.

Path: /cashpop/v1/latest90
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cashpop/v1/latest90"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Stats

Summary statistics on winning-number distribution by draw and session.

Path: /cashpop/v1/stats
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cashpop/v1/stats"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

QuickPick

Returns a randomized, playable Cash Pop number.

Path: /cashpop/v1/quickpick
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cashpop/v1/quickpick"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"

Cash4Life

GET

Get drawing by date

Returns the Cash4Life drawing for the given date (five white balls, Cash Ball, top prizes, draw date).

Path: /cash4life/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/cash4life/v1/drawing/{date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Between Dates

Returns Cash4Life drawings between two dates (inclusive), including numbers, Cash Ball, and draw date.

Path: /cash4life/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/cash4life/v1/betweendates/{first_date}/{second_date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest drawing

Returns the most recent Cash4Life drawing (winning numbers, Cash Ball, draw date).

Path: /cash4life/v1/latest
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cash4life/v1/latest"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 10 drawings

Returns the 10 most recent Cash4Life drawings.

Path: /cash4life/v1/latest10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cash4life/v1/latest10"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 30 drawings

Returns the 30 most recent Cash4Life drawings.

Path: /cash4life/v1/latest30
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cash4life/v1/latest30"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 60 drawings

Returns the 60 most recent Cash4Life drawings.

Path: /cash4life/v1/latest60
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cash4life/v1/latest60"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 90 drawings

Returns the 90 most recent Cash4Life drawings.

Path: /cash4life/v1/latest90
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cash4life/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: /cash4life/v1/stats
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cash4life/v1/stats"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

QuickPick

Returns a randomized, playable Cash4Life number set.

Path: /cash4life/v1/quickpick
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cash4life/v1/quickpick"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Check Ticket

Validates a ticket against the winning numbers (Cash Ball included) for the specified date and reports prize tier.

Path: /cash4life/v1/checkticket/{drawing_date}/{num1}/{num2}/{num3}/{num4}/{num5}/{pb}
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cash4life/v1/checkticket/{drawing_date}/{num1}/{num2}/{num3}/{num4}/{num5}/{pb}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"

Lotto America

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"

EuroMillions

GET

Get drawing by date

Returns the EuroMillions drawing for the given date (five white balls, Star Ball, All Star Bonus multiplier, jackpot, draw date).

Path: /euromillions/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/euromillions/v1/drawing/{date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Between Dates

Returns EuroMillions drawings between two dates (inclusive), including numbers, Star Ball, multiplier, jackpot, and draw date.

Path: /euromillions/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/euromillions/v1/betweendates/{first_date}/{second_date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest drawing

Returns the most recent EuroMillions drawing (winning numbers, Star Ball, multiplier, jackpot, draw date).

Path: /euromillions/v1/latest
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/euromillions/v1/latest"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 10 drawings

Returns the 10 most recent EuroMillions drawings.

Path: /euromillions/v1/latest10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/euromillions/v1/latest10"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 30 drawings

Returns the 30 most recent EuroMillions drawings.

Path: /euromillions/v1/latest30
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/euromillions/v1/latest30"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 60 drawings

Returns the 60 most recent EuroMillions drawings.

Path: /euromillions/v1/latest60
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/euromillions/v1/latest60"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 90 drawings

Returns the 90 most recent EuroMillions drawings.

Path: /euromillions/v1/latest90
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/euromillions/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: /euromillions/v1/stats
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/euromillions/v1/stats"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

QuickPick

Returns a randomized, playable EuroMillions number set.

Path: /euromillions/v1/quickpick
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/euromillions/v1/quickpick"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"

EuroJackpot

GET

Get drawing by date

Returns the EuroJackpot drawing for the given date (five white balls, Star Ball, All Star Bonus multiplier, jackpot, draw date).

Path: /eurojackpot/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/eurojackpot/v1/drawing/{date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Between Dates

Returns EuroJackpot drawings between two dates (inclusive), including numbers, Star Ball, multiplier, jackpot, and draw date.

Path: /eurojackpot/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/eurojackpot/v1/betweendates/{first_date}/{second_date}"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest drawing

Returns the most recent EuroJackpot drawing (winning numbers, Star Ball, multiplier, jackpot, draw date).

Path: /eurojackpot/v1/latest
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/eurojackpot/v1/latest"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 10 drawings

Returns the 10 most recent EuroJackpot drawings.

Path: /eurojackpot/v1/latest10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/eurojackpot/v1/latest10"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 30 drawings

Returns the 30 most recent EuroJackpotdrawings.

Path: /eurojackpot/v1/latest30
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/eurojackpot/v1/latest30"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 60 drawings

Returns the 60 most recent EuroJackpot drawings.

Path: /eurojackpot/v1/latest60
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/eurojackpot/v1/latest60"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

Last 90 drawings

Returns the 90 most recent EuroJackpot drawings.

Path: /eurojackpot/v1/latest90
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/eurojackpot/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: /eurojackpot/v1/stats
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/eurojackpot/v1/stats"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
GET

QuickPick

Returns a randomized, playable EuroJackpot number set.

Path: /eurojackpot/v1/quickpick
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/eurojackpot/v1/quickpick"
Tip: export once: export LOTTERY_API_KEY="YOUR_KEY"
Overall odds: MegaMillions 1 in 24; Powerball 1 in 24.9; Lucky for Life 1 in 7.77; Cash4Life 1 in 7.76; Cash Pop 1 in 15; Lotto America 1 in 9.63.