This API endpoint will retrieve the latest Powerball winning numbers, including white balls, powerball and multiplier along with draw date.
To use this API, you need to authenticate using your e-mail address. Here’s how you can do it:
Authorization: Bearer YOUREMAILADDRESS
Get Latest Powerball Numbers
GET lottery.handyfunctions.com/?type=getLatestPB https/1.1
Host: lottery.handyfunctions.com
Authorization: Bearer YOUREMAILADDRESS
{
"drawdate": "12/9/2024",
"pbWhiteBalls": [
"35",
"37",
"40",
"45",
"51"
],
"pbRedBall": "24",
"pbMultiplier": "2"
}
Common error codes and their meanings:
400 - Bad Request: The request was invalid or cannot be served.401 - Unauthorized: The request requires user authentication.404 - Not Found: The server has not found anything matching the request URI.500 - Internal Server Error: An error occurred on the server.