LotteryData.io logo

LotteryData.io API Docs

Versioned lottery data endpoints with draw history, stats, quick picks, ticket validation, and analytics. All requests require an x-api-key header.

Mega Millions

/megamillions/v1

Core Endpoints

GET

Latest drawing

Returns the most recent Mega Millions drawing.

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"
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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Get drawing by date

Returns the Mega Millions drawing for the specified date.

Path: /megamillions/v1/drawing/{date}
Parameters
  • dateDraw date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Between dates

Returns Mega Millions drawings between two dates, inclusive.

Path: /megamillions/v1/betweendates/{first_date}/{second_date}
Parameters
  • first_dateStart date in YYYY-MM-DD format (required)
  • second_dateEnd date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Draw query

Returns Mega Millions drawings within a date window. Supports ?min=YYYY-MM-DD&max=YYYY-MM-DD.

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

Analytics

GET

Stats

Returns historical statistics for Mega Millions.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Hot numbers

Returns the most frequently drawn numbers in the selected window.

Path: /megamillions/v1/hot?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megamillions/v1/hot?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Cold numbers

Returns the least frequently drawn numbers in the selected window.

Path: /megamillions/v1/cold?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megamillions/v1/cold?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Overdue numbers

Returns numbers that have gone the longest without appearing.

Path: /megamillions/v1/overdue?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megamillions/v1/overdue?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Predictions

Returns heuristic rankings based on hot and overdue behavior.

Path: /megamillions/v1/predictions?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megamillions/v1/predictions?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"

Utilities

GET

QuickPick

Returns a randomized playable Mega Millions selection.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Check ticket

Validates a ticket against the winning numbers for the specified drawing.

Path: /megamillions/v1/checkticket
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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Info

Returns metadata and structural info for Mega Millions.

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

Raw

Returns raw/debug-oriented output for Mega Millions.

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

Powerball

/powerball/v1

Core Endpoints

GET

Latest drawing

Returns the most recent Powerball drawing.

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"
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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Get drawing by date

Returns the Powerball drawing for the specified date.

Path: /powerball/v1/drawing/{date}
Parameters
  • dateDraw date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Between dates

Returns Powerball drawings between two dates, inclusive.

Path: /powerball/v1/betweendates/{first_date}/{second_date}
Parameters
  • first_dateStart date in YYYY-MM-DD format (required)
  • second_dateEnd date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Draw query

Returns Powerball drawings within a date window. Supports ?min=YYYY-MM-DD&max=YYYY-MM-DD.

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

Analytics

GET

Stats

Returns historical statistics for Powerball.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Hot numbers

Returns the most frequently drawn numbers in the selected window.

Path: /powerball/v1/hot?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/powerball/v1/hot?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Cold numbers

Returns the least frequently drawn numbers in the selected window.

Path: /powerball/v1/cold?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/powerball/v1/cold?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Overdue numbers

Returns numbers that have gone the longest without appearing.

Path: /powerball/v1/overdue?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/powerball/v1/overdue?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Predictions

Returns heuristic rankings based on hot and overdue behavior.

Path: /powerball/v1/predictions?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/powerball/v1/predictions?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"

Utilities

GET

QuickPick

Returns a randomized playable Powerball selection.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Check ticket

Validates a ticket against the winning numbers for the specified drawing.

Path: /powerball/v1/checkticket
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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Info

Returns metadata and structural info for Powerball.

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

Raw

Returns raw/debug-oriented output for Powerball.

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

EuroMillions

/euromillions/v1

Includes two special balls.

Core Endpoints

GET

Latest drawing

Returns the most recent EuroMillions drawing.

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"
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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Get drawing by date

Returns the EuroMillions drawing for the specified date.

Path: /euromillions/v1/drawing/{date}
Parameters
  • dateDraw date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Between dates

Returns EuroMillions drawings between two dates, inclusive.

Path: /euromillions/v1/betweendates/{first_date}/{second_date}
Parameters
  • first_dateStart date in YYYY-MM-DD format (required)
  • second_dateEnd date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Draw query

Returns EuroMillions drawings within a date window. Supports ?min=YYYY-MM-DD&max=YYYY-MM-DD.

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

Analytics

GET

Stats

Returns historical statistics for EuroMillions.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Hot numbers

Returns the most frequently drawn numbers in the selected window.

Path: /euromillions/v1/hot?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/euromillions/v1/hot?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Cold numbers

Returns the least frequently drawn numbers in the selected window.

Path: /euromillions/v1/cold?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/euromillions/v1/cold?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Overdue numbers

Returns numbers that have gone the longest without appearing.

Path: /euromillions/v1/overdue?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/euromillions/v1/overdue?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Predictions

Returns heuristic rankings based on hot and overdue behavior.

Path: /euromillions/v1/predictions?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/euromillions/v1/predictions?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"

Utilities

GET

QuickPick

Returns a randomized playable EuroMillions selection.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Info

Returns metadata and structural info for EuroMillions.

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

Raw

Returns raw/debug-oriented output for EuroMillions.

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

EuroJackpot

/eurojackpot/v1

Includes two euro numbers.

Core Endpoints

GET

Latest drawing

Returns the most recent EuroJackpot drawing.

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"
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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 30 drawings

Returns the 30 most recent EuroJackpot drawings.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Get drawing by date

Returns the EuroJackpot drawing for the specified date.

Path: /eurojackpot/v1/drawing/{date}
Parameters
  • dateDraw date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Between dates

Returns EuroJackpot drawings between two dates, inclusive.

Path: /eurojackpot/v1/betweendates/{first_date}/{second_date}
Parameters
  • first_dateStart date in YYYY-MM-DD format (required)
  • second_dateEnd date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Draw query

Returns EuroJackpot drawings within a date window. Supports ?min=YYYY-MM-DD&max=YYYY-MM-DD.

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

Analytics

GET

Stats

Returns historical statistics for EuroJackpot.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Hot numbers

Returns the most frequently drawn numbers in the selected window.

Path: /eurojackpot/v1/hot?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/eurojackpot/v1/hot?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Cold numbers

Returns the least frequently drawn numbers in the selected window.

Path: /eurojackpot/v1/cold?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/eurojackpot/v1/cold?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Overdue numbers

Returns numbers that have gone the longest without appearing.

Path: /eurojackpot/v1/overdue?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/eurojackpot/v1/overdue?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Predictions

Returns heuristic rankings based on hot and overdue behavior.

Path: /eurojackpot/v1/predictions?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/eurojackpot/v1/predictions?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"

Utilities

GET

QuickPick

Returns a randomized playable EuroJackpot selection.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Info

Returns metadata and structural info for EuroJackpot.

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

Raw

Returns raw/debug-oriented output for EuroJackpot.

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

Cash Pop

/cashpop/v1

Supports multiple draw sessions per day.

Core Endpoints

GET

Latest drawing

Returns the most recent Cash Pop drawing.

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"
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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Get drawing by date

Returns the Cash Pop drawing for the specified date.

Path: /cashpop/v1/drawing/{date}
Parameters
  • dateDraw date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Between dates

Returns Cash Pop drawings between two dates, inclusive.

Path: /cashpop/v1/betweendates/{first_date}/{second_date}
Parameters
  • first_dateStart date in YYYY-MM-DD format (required)
  • second_dateEnd date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Draw query

Returns Cash Pop drawings within a date window. Supports ?min=YYYY-MM-DD&max=YYYY-MM-DD.

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

Analytics

GET

Stats

Returns historical statistics for Cash Pop.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Hot numbers

Returns the most frequently drawn numbers in the selected window.

Path: /cashpop/v1/hot?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cashpop/v1/hot?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Cold numbers

Returns the least frequently drawn numbers in the selected window.

Path: /cashpop/v1/cold?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cashpop/v1/cold?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Overdue numbers

Returns numbers that have gone the longest without appearing.

Path: /cashpop/v1/overdue?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cashpop/v1/overdue?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Predictions

Returns heuristic rankings based on hot and overdue behavior.

Path: /cashpop/v1/predictions?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cashpop/v1/predictions?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"

Utilities

GET

QuickPick

Returns a randomized playable Cash Pop selection.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Info

Returns metadata and structural info for Cash Pop.

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

Raw

Returns raw/debug-oriented output for Cash Pop.

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

Cash4Life

Historical

/cash4life/v1

Core Endpoints

GET

Latest drawing

Returns the most recent Cash4Life drawing.

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"
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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Get drawing by date

Returns the Cash4Life drawing for the specified date.

Path: /cash4life/v1/drawing/{date}
Parameters
  • dateDraw date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Between dates

Returns Cash4Life drawings between two dates, inclusive.

Path: /cash4life/v1/betweendates/{first_date}/{second_date}
Parameters
  • first_dateStart date in YYYY-MM-DD format (required)
  • second_dateEnd date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Draw query

Returns Cash4Life drawings within a date window. Supports ?min=YYYY-MM-DD&max=YYYY-MM-DD.

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

Analytics

GET

Stats

Returns historical statistics for Cash4Life.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Hot numbers

Returns the most frequently drawn numbers in the selected window.

Path: /cash4life/v1/hot?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cash4life/v1/hot?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Cold numbers

Returns the least frequently drawn numbers in the selected window.

Path: /cash4life/v1/cold?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cash4life/v1/cold?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Overdue numbers

Returns numbers that have gone the longest without appearing.

Path: /cash4life/v1/overdue?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cash4life/v1/overdue?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Predictions

Returns heuristic rankings based on hot and overdue behavior.

Path: /cash4life/v1/predictions?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/cash4life/v1/predictions?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"

Utilities

GET

QuickPick

Returns a randomized playable Cash4Life selection.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Check ticket

Validates a ticket against the winning numbers for the specified drawing.

Path: /cash4life/v1/checkticket
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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Info

Returns metadata and structural info for Cash4Life.

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

Raw

Returns raw/debug-oriented output for Cash4Life.

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

Lucky for Life

Historical

/lucky/v1

Core Endpoints

GET

Latest drawing

Returns the most recent Lucky for Life drawing.

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"
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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Get drawing by date

Returns the Lucky for Life drawing for the specified date.

Path: /lucky/v1/drawing/{date}
Parameters
  • dateDraw date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Between dates

Returns Lucky for Life drawings between two dates, inclusive.

Path: /lucky/v1/betweendates/{first_date}/{second_date}
Parameters
  • first_dateStart date in YYYY-MM-DD format (required)
  • second_dateEnd date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Draw query

Returns Lucky for Life drawings within a date window. Supports ?min=YYYY-MM-DD&max=YYYY-MM-DD.

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

Analytics

GET

Stats

Returns historical statistics for Lucky for Life.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Hot numbers

Returns the most frequently drawn numbers in the selected window.

Path: /lucky/v1/hot?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lucky/v1/hot?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Cold numbers

Returns the least frequently drawn numbers in the selected window.

Path: /lucky/v1/cold?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lucky/v1/cold?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Overdue numbers

Returns numbers that have gone the longest without appearing.

Path: /lucky/v1/overdue?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lucky/v1/overdue?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Predictions

Returns heuristic rankings based on hot and overdue behavior.

Path: /lucky/v1/predictions?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lucky/v1/predictions?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"

Utilities

GET

QuickPick

Returns a randomized playable Lucky for Life selection.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Check ticket

Validates a ticket against the winning numbers for the specified drawing.

Path: /lucky/v1/checkticket
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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Info

Returns metadata and structural info for Lucky for Life.

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

Raw

Returns raw/debug-oriented output for Lucky for Life.

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

Millionaire for Life

/millionaire/v1

Core Endpoints

GET

Latest drawing

Returns the most recent Millionaire for Life drawing.

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

Latest 10 drawings

Returns the 10 most recent Millionaire for Life drawings.

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

Latest 30 drawings

Returns the 30 most recent Millionaire for Life drawings.

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

Latest 60 drawings

Returns the 60 most recent Millionaire for Life drawings.

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

Latest 90 drawings

Returns the 90 most recent Millionaire for Life drawings.

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

Get drawing by date

Returns the Millionaire for Life drawing for the specified date.

Path: /millionaire/v1/drawing/{date}
Parameters
  • dateDraw date in YYYY-MM-DD format (required)
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/millionaire/v1/drawing/{date}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Between dates

Returns Millionaire for Life drawings between two dates, inclusive.

Path: /millionaire/v1/betweendates/{first_date}/{second_date}
Parameters
  • first_dateStart date in YYYY-MM-DD format (required)
  • second_dateEnd date in YYYY-MM-DD format (required)
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/millionaire/v1/betweendates/{first_date}/{second_date}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Draw query

Returns Millionaire for Life drawings within a date window. Supports ?min=YYYY-MM-DD&max=YYYY-MM-DD.

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

Analytics

GET

Stats

Returns historical statistics for Millionaire for Life.

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

Hot numbers

Returns the most frequently drawn numbers in the selected window.

Path: /millionaire/v1/hot?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/millionaire/v1/hot?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Cold numbers

Returns the least frequently drawn numbers in the selected window.

Path: /millionaire/v1/cold?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/millionaire/v1/cold?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Overdue numbers

Returns numbers that have gone the longest without appearing.

Path: /millionaire/v1/overdue?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/millionaire/v1/overdue?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Predictions

Returns heuristic rankings based on hot and overdue behavior.

Path: /millionaire/v1/predictions?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/millionaire/v1/predictions?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"

Utilities

GET

QuickPick

Returns a randomized playable Millionaire for Life selection.

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

Check ticket

Validates a ticket against the winning numbers for the specified drawing.

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

Info

Returns metadata and structural info for Millionaire for Life.

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

Raw

Returns raw/debug-oriented output for Millionaire for Life.

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

Lotto America

/lottoamerica/v1

Core Endpoints

GET

Latest drawing

Returns the most recent Lotto America drawing.

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"
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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Latest 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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Get drawing by date

Returns the Lotto America drawing for the specified date.

Path: /lottoamerica/v1/drawing/{date}
Parameters
  • dateDraw date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Between dates

Returns Lotto America drawings between two dates, inclusive.

Path: /lottoamerica/v1/betweendates/{first_date}/{second_date}
Parameters
  • first_dateStart date in YYYY-MM-DD format (required)
  • second_dateEnd date in YYYY-MM-DD format (required)
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}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Draw query

Returns Lotto America drawings within a date window. Supports ?min=YYYY-MM-DD&max=YYYY-MM-DD.

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

Analytics

GET

Stats

Returns historical statistics for Lotto America.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Hot numbers

Returns the most frequently drawn numbers in the selected window.

Path: /lottoamerica/v1/hot?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lottoamerica/v1/hot?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Cold numbers

Returns the least frequently drawn numbers in the selected window.

Path: /lottoamerica/v1/cold?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lottoamerica/v1/cold?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Overdue numbers

Returns numbers that have gone the longest without appearing.

Path: /lottoamerica/v1/overdue?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lottoamerica/v1/overdue?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Predictions

Returns heuristic rankings based on hot and overdue behavior.

Path: /lottoamerica/v1/predictions?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/lottoamerica/v1/predictions?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"

Utilities

GET

QuickPick

Returns a randomized playable Lotto America selection.

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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Check ticket

Validates a ticket against the winning numbers for the specified drawing.

Path: /lottoamerica/v1/checkticket
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"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Info

Returns metadata and structural info for Lotto America.

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

Raw

Returns raw/debug-oriented output for Lotto America.

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

Megabucks

/megabucks/v1

Core Endpoints

GET

Latest drawing

Returns the most recent Megabucks drawing.

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

Latest 10 drawings

Returns the 10 most recent Megabucks drawings.

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

Latest 30 drawings

Returns the 30 most recent Megabucks drawings.

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

Latest 60 drawings

Returns the 60 most recent Megabucks drawings.

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

Latest 90 drawings

Returns the 90 most recent Megabucks drawings.

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

Get drawing by date

Returns the Megabucks drawing for the specified date.

Path: /megabucks/v1/drawing/{date}
Parameters
  • dateDraw date in YYYY-MM-DD format (required)
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megabucks/v1/drawing/{date}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Between dates

Returns Megabucks drawings between two dates, inclusive.

Path: /megabucks/v1/betweendates/{first_date}/{second_date}
Parameters
  • first_dateStart date in YYYY-MM-DD format (required)
  • second_dateEnd date in YYYY-MM-DD format (required)
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megabucks/v1/betweendates/{first_date}/{second_date}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Draw query

Returns Megabucks drawings within a date window. Supports ?min=YYYY-MM-DD&max=YYYY-MM-DD.

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

Analytics

GET

Stats

Returns historical statistics for Megabucks.

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

Hot numbers

Returns the most frequently drawn numbers in the selected window.

Path: /megabucks/v1/hot?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megabucks/v1/hot?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Cold numbers

Returns the least frequently drawn numbers in the selected window.

Path: /megabucks/v1/cold?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megabucks/v1/cold?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Overdue numbers

Returns numbers that have gone the longest without appearing.

Path: /megabucks/v1/overdue?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megabucks/v1/overdue?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Predictions

Returns heuristic rankings based on hot and overdue behavior.

Path: /megabucks/v1/predictions?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/megabucks/v1/predictions?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"

Utilities

GET

QuickPick

Returns a randomized playable Megabucks selection.

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

Check ticket

Validates a ticket against the winning numbers for the specified drawing.

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

Info

Returns metadata and structural info for Megabucks.

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

Raw

Returns raw/debug-oriented output for Megabucks.

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

The Numbers Game (Massachusetts)

/numbersgame/v1

Core Endpoints

GET

Latest drawing

Returns the most recent The Numbers Game (Massachusetts) drawing.

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

Latest 10 drawings

Returns the 10 most recent The Numbers Game (Massachusetts) drawings.

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

Latest 30 drawings

Returns the 30 most recent The Numbers Game (Massachusetts) drawings.

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

Latest 60 drawings

Returns the 60 most recent The Numbers Game (Massachusetts) drawings.

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

Latest 90 drawings

Returns the 90 most recent The Numbers Game (Massachusetts) drawings.

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

Get drawing by date

Returns the The Numbers Game (Massachusetts) drawing for the specified date.

Path: /numbersgame/v1/drawing/{date}
Parameters
  • dateDraw date in YYYY-MM-DD format (required)
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/numbersgame/v1/drawing/{date}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Between dates

Returns The Numbers Game (Massachusetts) drawings between two dates, inclusive.

Path: /numbersgame/v1/betweendates/{first_date}/{second_date}
Parameters
  • first_dateStart date in YYYY-MM-DD format (required)
  • second_dateEnd date in YYYY-MM-DD format (required)
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/numbersgame/v1/betweendates/{first_date}/{second_date}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Draw query

Returns The Numbers Game (Massachusetts) drawings within a date window. Supports ?min=YYYY-MM-DD&max=YYYY-MM-DD.

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

Analytics

GET

Stats

Returns historical statistics for The Numbers Game (Massachusetts).

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

Hot numbers

Returns the most frequently drawn numbers in the selected window.

Path: /numbersgame/v1/hot?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/numbersgame/v1/hot?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Cold numbers

Returns the least frequently drawn numbers in the selected window.

Path: /numbersgame/v1/cold?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/numbersgame/v1/cold?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Overdue numbers

Returns numbers that have gone the longest without appearing.

Path: /numbersgame/v1/overdue?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/numbersgame/v1/overdue?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Predictions

Returns heuristic rankings based on hot and overdue behavior.

Path: /numbersgame/v1/predictions?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/numbersgame/v1/predictions?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"

Utilities

GET

Check ticket

Validates a ticket against the winning numbers for the specified drawing.

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

Info

Returns metadata and structural info for The Numbers Game (Massachusetts).

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

Raw

Returns raw/debug-oriented output for The Numbers Game (Massachusetts).

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

Mass Cash (Massachusetts)

/masscash/v1

Core Endpoints

GET

Latest drawing

Returns the most recent Mass Cash (Massachusetts) drawing.

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

Latest 10 drawings

Returns the 10 most recent Mass Cash (Massachusetts) drawings.

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

Latest 30 drawings

Returns the 30 most recent Mass Cash (Massachusetts) drawings.

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

Latest 60 drawings

Returns the 60 most recent Mass Cash (Massachusetts) drawings.

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

Latest 90 drawings

Returns the 90 most recent Mass Cash (Massachusetts) drawings.

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

Get drawing by date

Returns the Mass Cash (Massachusetts) drawing for the specified date.

Path: /masscash/v1/drawing/{date}
Parameters
  • dateDraw date in YYYY-MM-DD format (required)
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/masscash/v1/drawing/{date}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Between dates

Returns Mass Cash (Massachusetts) drawings between two dates, inclusive.

Path: /masscash/v1/betweendates/{first_date}/{second_date}
Parameters
  • first_dateStart date in YYYY-MM-DD format (required)
  • second_dateEnd date in YYYY-MM-DD format (required)
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/masscash/v1/betweendates/{first_date}/{second_date}"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Draw query

Returns Mass Cash (Massachusetts) drawings within a date window. Supports ?min=YYYY-MM-DD&max=YYYY-MM-DD.

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

Analytics

GET

Stats

Returns historical statistics for Mass Cash (Massachusetts).

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

Hot numbers

Returns the most frequently drawn numbers in the selected window.

Path: /masscash/v1/hot?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/masscash/v1/hot?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Cold numbers

Returns the least frequently drawn numbers in the selected window.

Path: /masscash/v1/cold?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/masscash/v1/cold?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Overdue numbers

Returns numbers that have gone the longest without appearing.

Path: /masscash/v1/overdue?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/masscash/v1/overdue?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"
GET

Predictions

Returns heuristic rankings based on hot and overdue behavior.

Path: /masscash/v1/predictions?window=50&limit=10
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/masscash/v1/predictions?window=50&limit=10"
export LOTTERY_API_KEY="YOUR_KEY"

Utilities

GET

QuickPick

Returns a randomized playable Mass Cash (Massachusetts) selection.

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

Check ticket

Validates a ticket against the winning numbers for the specified drawing.

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

Info

Returns metadata and structural info for Mass Cash (Massachusetts).

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

Raw

Returns raw/debug-oriented output for Mass Cash (Massachusetts).

Path: /masscash/v1/raw
curl -s -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $LOTTERY_API_KEY" \
  "https://api.lotterydata.io/masscash/v1/raw"
export LOTTERY_API_KEY="YOUR_KEY"
Built for stable, versioned, registry-driven API expansion.