Bring Your Own Web Services
API

Powerball® API

Powerball

Description
Fetch a list of winning Powerball numbers based on date range.

Base URL
https://www.powerball.com/api/v1/numbers/powerball

Parameter 1
_format

Parameter 2
min

Parameter 3
max

Parameter 4

Notes
_format can be either "json" or "xml". min is the starting date and time. max is the end date and time. the date and time is separated with a %20, which is the URL encoded space character. Another parameter to use is "recent10", to get the last 10 drawings: powerball.com/api/v1/numbers/powerball/recent10?_format=json

Examples
https://www.powerball.com/api/v1/numbers/powerball?_format=json&min=2019-12-01%2000:00:00&max=2020-01-12%2023:59:59

Results
The last of the winning number is the Red Powerball. [{"field_winning_numbers":"03,21,23,31,59,03","field_multiplier":"2","field_draw_date":"2020-01-11"},{"field_winning_numbers":"02,04,07,43,56,22","field_multiplier":"4","field_draw_date":"2020-01-08"},{"field_winning_numbers":"01,11,21,25,54,07","field_multiplier":"2","field_draw_date":"2020-01-04"},{"field_winning_numbers":"49,53,57,59,62,26","field_multiplier":"2","field_draw_date":"2020-01-01"},{"field_winning_numbers":"20,23,39,59,60,18","field_multiplier":"2","field_draw_date":"2019-12-28"},{"field_winning_numbers":"02,04,16,30,46,20","field_multiplier":"2","field_draw_date":"2019-12-25"},{"field_winning_numbers":"19,31,35,50,67,14","field_multiplier":"2","field_draw_date":"2019-12-21"},{"field_winning_numbers":"14,18,26,39,68,09","field_multiplier":"2","field_draw_date":"2019-12-18"},{"field_winning_numbers":"03,06,12,32,64,19","field_multiplier":"3","field_draw_date":"2019-12-14"},{"field_winning_numbers":"24,29,42,44,63,10","field_multiplier":"4","field_draw_date":"2019-12-11"},{"field_winning_numbers":"18,42,53,62,66,25","field_multiplier":"3","field_draw_date":"2019-12-07"},{"field_winning_numbers":"08,27,44,51,61,14","field_multiplier":"3","field_draw_date":"2019-12-04"}]

Leave a Reply

Your email address will not be published. Required fields are marked *