API to get the latest winning numbers from Lottery games in the US.
Get all the games from all states (getAllGames)
Query parameters
Return type
Example data
Content-Type: application/json
{
"TN" : [ {
"name" : "Powerball",
"plays" : [ {
"name" : "Powerball",
"draws" : [ {
"date" : "02/21/2022",
"nextDrawDate" : "02/23/2022",
"nextDrawJackpot" : 45000000,
"numbers" : [ {
"value" : "02",
"order" : 1
}, {
"value" : "36",
"order" : 2
}, {
"value" : "37",
"order" : 3
}, {
"value" : "45",
"order" : 4
}, {
"value" : "69",
"order" : 5
}, {
"value" : "03",
"order" : 6,
"specialBall" : {
"name" : "Powerball",
"className" : "powerball"
}
}, {
"value" : "2",
"order" : 7,
"specialBall" : {
"name" : "Power Play",
"className" : "power-play"
}
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "MEGA Millions",
"plays" : [ {
"name" : "MEGA Millions",
"draws" : [ {
"date" : "02/18/2022",
"nextDrawDate" : "02/22/2022",
"nextDrawJackpot" : 75000000,
"numbers" : [ {
"value" : "06",
"order" : 1
}, {
"value" : "11",
"order" : 2
}, {
"value" : "50",
"order" : 3
}, {
"value" : "63",
"order" : 4
}, {
"value" : "68",
"order" : 5
}, {
"value" : "17",
"order" : 6,
"specialBall" : {
"name" : "Mega Ball",
"className" : "mega-ball"
}
}, {
"value" : "4",
"order" : 7,
"specialBall" : {
"name" : "Megaplier",
"className" : "megaplier"
}
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "Lotto America",
"plays" : [ {
"name" : "Lotto America",
"draws" : [ {
"date" : "02/19/2022",
"nextDrawDate" : "02/23/2022",
"nextDrawJackpot" : 8050000,
"numbers" : [ {
"value" : "16",
"order" : 1
}, {
"value" : "33",
"order" : 2
}, {
"value" : "42",
"order" : 3
}, {
"value" : "46",
"order" : 4
}, {
"value" : "47",
"order" : 5
}, {
"value" : "06",
"order" : 6,
"specialBall" : {
"name" : "Star Ball",
"className" : "star-ball"
}
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "Cash4Life",
"plays" : [ {
"name" : "Cash4Life",
"draws" : [ {
"date" : "02/21/2022",
"nextDrawDate" : "02/22/2022",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "04",
"order" : 1
}, {
"value" : "40",
"order" : 2
}, {
"value" : "42",
"order" : 3
}, {
"value" : "54",
"order" : 4
}, {
"value" : "58",
"order" : 5
}, {
"value" : "03",
"order" : 6,
"specialBall" : {
"name" : "Cash Ball",
"className" : "cash-ball"
}
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "Tennessee Cash",
"plays" : [ {
"name" : "Tennessee Cash",
"draws" : [ {
"date" : "02/21/2022",
"nextDrawDate" : "02/23/2022",
"nextDrawJackpot" : 500000,
"numbers" : [ {
"value" : "07",
"order" : 1
}, {
"value" : "09",
"order" : 2
}, {
"value" : "19",
"order" : 3
}, {
"value" : "21",
"order" : 4
}, {
"value" : "26",
"order" : 5
}, {
"value" : "02",
"order" : 6,
"specialBall" : {
"name" : "Bonus",
"className" : "bonus"
}
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "Cash 4",
"plays" : [ {
"name" : "Morning",
"draws" : [ {
"date" : "02/21/2022",
"nextDrawDate" : "02/22/2022",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "7",
"order" : 1
}, {
"value" : "4",
"order" : 2
}, {
"value" : "2",
"order" : 3
}, {
"value" : "8",
"order" : 4
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
}, {
"name" : "Midday",
"draws" : [ {
"date" : "02/21/2022",
"nextDrawDate" : "02/22/2022",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "4",
"order" : 1
}, {
"value" : "4",
"order" : 2
}, {
"value" : "6",
"order" : 3
}, {
"value" : "8",
"order" : 4
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
}, {
"name" : "Evening",
"draws" : [ {
"date" : "02/21/2022",
"nextDrawDate" : "02/22/2022",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "7",
"order" : 1
}, {
"value" : "9",
"order" : 2
}, {
"value" : "5",
"order" : 3
}, {
"value" : "0",
"order" : 4
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "Cash 3",
"plays" : [ {
"name" : "Morning",
"draws" : [ {
"date" : "02/21/2022",
"nextDrawDate" : "02/22/2022",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "0",
"order" : 1
}, {
"value" : "7",
"order" : 2
}, {
"value" : "7",
"order" : 3
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
}, {
"name" : "Midday",
"draws" : [ {
"date" : "02/21/2022",
"nextDrawDate" : "02/22/2022",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "6",
"order" : 1
}, {
"value" : "4",
"order" : 2
}, {
"value" : "0",
"order" : 3
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
}, {
"name" : "Evening",
"draws" : [ {
"date" : "02/21/2022",
"nextDrawDate" : "02/22/2022",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "5",
"order" : 1
}, {
"value" : "9",
"order" : 2
}, {
"value" : "8",
"order" : 3
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "Powerball Double Play",
"plays" : [ {
"name" : "Powerball Double Play",
"draws" : [ {
"date" : "02/21/2022",
"nextDrawDate" : "02/23/2022",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "22",
"order" : 1
}, {
"value" : "23",
"order" : 2
}, {
"value" : "29",
"order" : 3
}, {
"value" : "39",
"order" : 4
}, {
"value" : "43",
"order" : 5
}, {
"value" : "18",
"order" : 6,
"specialBall" : {
"name" : "Powerball",
"className" : "powerball"
}
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
} ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
successful operation
inline_response_200
Up
get /get-games-by-state/{state}
Get state's game including the latest winning numbers (getGamesByState)
Path parameters
state (required)
Path Parameter — State 2 letter code (second part of its ISO 3166-2 code)
Query parameters
Return type
Object
Example data
Content-Type: application/json
[ {
"name" : "Powerball",
"plays" : [ {
"name" : "Powerball",
"draws" : [ {
"date" : "09/18/2021",
"nextDrawDate" : "09/20/2021",
"nextDrawJackpot" : 472000000,
"numbers" : [ {
"value" : "05",
"order" : 1
}, {
"value" : "36",
"order" : 2
}, {
"value" : "39",
"order" : 3
}, {
"value" : "45",
"order" : 4
}, {
"value" : "57",
"order" : 5
}, {
"value" : "11",
"order" : 6,
"specialBall" : {
"name" : "Powerball",
"ballType" : "",
"className" : "powerball"
}
}, {
"value" : "2",
"order" : 7,
"specialBall" : {
"name" : "Power Play",
"ballType" : "multi",
"className" : "power-play"
}
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "MEGA Millions",
"plays" : [ {
"name" : "MEGA Millions",
"draws" : [ {
"date" : "09/17/2021",
"nextDrawDate" : "09/21/2021",
"nextDrawJackpot" : 432000000,
"numbers" : [ {
"value" : "17",
"order" : 1
}, {
"value" : "32",
"order" : 2
}, {
"value" : "40",
"order" : 3
}, {
"value" : "59",
"order" : 4
}, {
"value" : "61",
"order" : 5
}, {
"value" : "18",
"order" : 6,
"specialBall" : {
"name" : "Mega Ball",
"ballType" : "",
"className" : "mega-ball"
}
}, {
"value" : "3",
"order" : 7,
"specialBall" : {
"name" : "Megaplier",
"ballType" : "",
"className" : "megaplier"
}
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "Cash4Life",
"plays" : [ {
"name" : "Cash4Life",
"draws" : [ {
"date" : "09/18/2021",
"nextDrawDate" : "09/19/2021",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "15",
"order" : 1
}, {
"value" : "23",
"order" : 2
}, {
"value" : "24",
"order" : 3
}, {
"value" : "29",
"order" : 4
}, {
"value" : "48",
"order" : 5
}, {
"value" : "02",
"order" : 6,
"specialBall" : {
"name" : "Cash Ball",
"ballType" : "",
"className" : "cash-ball"
}
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "Lotto",
"plays" : [ {
"name" : "Lotto",
"draws" : [ {
"date" : "09/18/2021",
"nextDrawDate" : "09/22/2021",
"nextDrawJackpot" : 3900000,
"numbers" : [ {
"value" : "19",
"order" : 1
}, {
"value" : "23",
"order" : 2
}, {
"value" : "30",
"order" : 3
}, {
"value" : "38",
"order" : 4
}, {
"value" : "49",
"order" : 5
}, {
"value" : "58",
"order" : 6
}, {
"value" : "24",
"order" : 7,
"specialBall" : {
"name" : "Bonus",
"ballType" : "",
"className" : "bonus"
}
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "Take 5",
"plays" : [ {
"name" : "Take 5",
"draws" : [ {
"date" : "09/18/2021",
"nextDrawDate" : "09/19/2021",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "04",
"order" : 1
}, {
"value" : "22",
"order" : 2
}, {
"value" : "23",
"order" : 3
}, {
"value" : "34",
"order" : 4
}, {
"value" : "37",
"order" : 5
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
}, {
"name" : "Midday",
"draws" : [ {
"date" : "09/18/2021",
"nextDrawDate" : "09/19/2021",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "09",
"order" : 1
}, {
"value" : "12",
"order" : 2
}, {
"value" : "20",
"order" : 3
}, {
"value" : "23",
"order" : 4
}, {
"value" : "25",
"order" : 5
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "Pick 10",
"plays" : [ {
"name" : "Pick 10",
"draws" : [ {
"date" : "09/18/2021",
"nextDrawDate" : "09/19/2021",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "03",
"order" : 1
}, {
"value" : "05",
"order" : 2
}, {
"value" : "07",
"order" : 3
}, {
"value" : "13",
"order" : 4
}, {
"value" : "14",
"order" : 5
}, {
"value" : "18",
"order" : 6
}, {
"value" : "20",
"order" : 7
}, {
"value" : "21",
"order" : 8
}, {
"value" : "29",
"order" : 9
}, {
"value" : "40",
"order" : 10
}, {
"value" : "49",
"order" : 11
}, {
"value" : "54",
"order" : 12
}, {
"value" : "55",
"order" : 13
}, {
"value" : "59",
"order" : 14
}, {
"value" : "61",
"order" : 15
}, {
"value" : "63",
"order" : 16
}, {
"value" : "64",
"order" : 17
}, {
"value" : "70",
"order" : 18
}, {
"value" : "77",
"order" : 19
}, {
"value" : "79",
"order" : 20
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "Win 4",
"plays" : [ {
"name" : "Midday",
"draws" : [ {
"date" : "09/18/2021",
"nextDrawDate" : "09/19/2021",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "0",
"order" : 1
}, {
"value" : "7",
"order" : 2
}, {
"value" : "5",
"order" : 3
}, {
"value" : "5",
"order" : 4
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
}, {
"name" : "Evening",
"draws" : [ {
"date" : "09/18/2021",
"nextDrawDate" : "09/19/2021",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "2",
"order" : 1
}, {
"value" : "2",
"order" : 2
}, {
"value" : "7",
"order" : 3
}, {
"value" : "6",
"order" : 4
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
}, {
"name" : "Numbers",
"plays" : [ {
"name" : "Midday",
"draws" : [ {
"date" : "09/18/2021",
"nextDrawDate" : "09/19/2021",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "6",
"order" : 1
}, {
"value" : "2",
"order" : 2
}, {
"value" : "2",
"order" : 3
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
}, {
"name" : "Evening",
"draws" : [ {
"date" : "09/18/2021",
"nextDrawDate" : "09/19/2021",
"nextDrawJackpot" : 0,
"numbers" : [ {
"value" : "4",
"order" : 1
}, {
"value" : "5",
"order" : 2
}, {
"value" : "6",
"order" : 3
} ],
"prizes" : [ ],
"extraFields" : [ ]
} ]
} ]
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
succesful req
Object