NewConnect Claude, Gemini, ChatGPT, and other AI agents to API Ninjas via our MCP server →

Powerball API

Get Powerball winning numbers within minutes of each draw on paid plans (about an hour after the draw on the free plan), with the Power Play multiplier, Double Play numbers, the jackpot, and on paid plans the cash value and next jackpot estimate. The Business tier and above includes every draw since 3 February 2010. There is no official public Powerball API; this data comes from official state lottery publications and is cross-checked against a second source.

Powerball is served by the Lottery API with game=powerball.

Available endpoints:

Powerball at a glance

Format5 white balls from 1-69 + 1 Powerball from 1-26
DrawsMonday, Wednesday and Saturday, 10:59 pm ET
Ticket price$2
Jackpot odds1 in 292,201,338
Add-onsPower Play, Double Play
ArchiveFrom 3 February 2010

Number-format history

EffectiveFormat
2015-10-075 from 1-69 + Powerball 1-26
2012-01-155 from 1-59 + Powerball 1-35
2009-01-075 from 1-59 + Powerball 1-39
3 endpoints

https://api.api-ninjas.com/v1/lottery

Returns the latest draw for a game, the draw on a given date, or the latest draw of every game in a US state or a country. On paid plans results usually appear within minutes of the official publication; on the free plan they appear about 60 minutes later.

Full parameter and response reference: /v1/lottery.

Live Demo

Live demo · no API key required
Query parameters
game
state
country
date
session
draw_number

Get a free API key to get started — no credit card required.

Headers
X-Api-KeyLog in or sign up to get your API key
GET
https://api.api-ninjas.com/v1/lottery?game=powerball
Sample response
{
"game": "powerball",
"game_name": "Powerball",
"country": "US",
"draw_date": "2026-10-05",
"draw_time": "2026-10-05T22:59:00-04:00",
"main_numbers": [
16,
23,
32,
36,
54
],
"bonus_numbers": [
9
],
"bonus_name": "Powerball",
"multiplier": 2,
"multiplier_name": "Power Play",
"secondary_draws": [
{
"name": "Double Play",
"main_numbers": [
7,
22,
29,
35,
51
],
"bonus_numbers": [
20
]
}
],
"jackpot": {
"currency": "USD",
"amount": 467000000,
"cash_value": 192400000,
"estimated": true,
"won": false
},
"next_draw": {
"draw_date": "2026-10-07",
"draw_time": "2026-10-07T22:59:00-04:00",
"jackpot": {
"currency": "USD",
"amount": 485000000,
"cash_value": 199800000,
"estimated": true
}
},
"rules_version": "2015-10-07",
"revision": 1,
"source": {
"name": "Pennsylvania Lottery",
"url": "https://www.palottery.pa.gov/feeds/Games.aspx",
"retrieved_at": "2026-10-06T03:06:02Z",
"cross_checked": false
}
}

Code Examples

curl -X GET "https://api.api-ninjas.com/v1/lottery?game=powerball" \ -H "X-Api-Key: YOUR_API_KEY"

https://api.api-ninjas.com/v1/lotteryhistorical

Returns past draws for a game, newest first. The free plan gets the latest 10 draws (each visible about 60 minutes after the draw); Developer plans a rolling two years; Business tier and above the full archive.

Full parameter and response reference: /v1/lotteryhistorical.

Live Demo

Live demo · no API key required
Query parameters
game
start
end
session
limit
offset

Get a free API key to get started — no credit card required.

Headers
X-Api-KeyLog in or sign up to get your API key
GET
https://api.api-ninjas.com/v1/lotteryhistorical?game=powerball
Sample response
[
{
"game": "powerball",
"game_name": "Powerball",
"country": "US",
"draw_date": "2026-10-05",
"draw_time": "2026-10-05T22:59:00-04:00",
"main_numbers": [
16,
23,
32,
36,
54
],
"bonus_numbers": [
9
],
"bonus_name": "Powerball",
"multiplier": 2,
"multiplier_name": "Power Play",
"secondary_draws": [
{
"name": "Double Play",
"main_numbers": [
7,
22,
29,
35,
51
],
"bonus_numbers": [
20
]
}
],
"jackpot": {
"currency": "USD",
"amount": 467000000,
"cash_value": 192400000,
"estimated": true,
"won": false
},
"next_draw": {
"draw_date": "2026-10-07",
"draw_time": "2026-10-07T22:59:00-04:00",
"jackpot": {
"currency": "USD",
"amount": 485000000,
"cash_value": 199800000,
"estimated": true
}
},
"rules_version": "2015-10-07",
"revision": 1,
"source": {
"name": "Pennsylvania Lottery",
"url": "https://www.palottery.pa.gov/feeds/Games.aspx",
"retrieved_at": "2026-10-06T03:06:02Z",
"cross_checked": false
}
},
"..."
]

Code Examples

curl -X GET "https://api.api-ninjas.com/v1/lotteryhistorical?game=powerball" \ -H "X-Api-Key: YOUR_API_KEY"

Premium only

https://api.api-ninjas.com/v1/lotterycheck

Scores a ticket against a draw and returns the matched prize tier and prize. Supports Powerball (with Power Play and Double Play), Mega Millions (with the ticket's built-in multiplier) and Millionaire for Life. Ticket numbers are never stored. The result is not a prize claim.

Full parameter and response reference: /v1/lotterycheck.

Live Demo

Live demo
Query parameters
game
date
numbers
bonus
power_play
double_play
multiplier

Get a free API key to get started — no credit card required.

Headers
X-Api-KeyLog in or sign up to get your API key
GET
https://api.api-ninjas.com/v1/lotterycheck?game=powerball&date=2026-10-05&numbers=16,23,32,1,2&bonus=9&power_play=true&double_play=true
Sample response
{
"game": "powerball",
"draw_date": "2026-10-05",
"numbers": [
16,
23,
32,
1,
2
],
"bonus": [
9
],
"matched_main": 3,
"matched_bonus": 1,
"tier": "3+1",
"prize": 200,
"currency": "USD",
"double_play": {
"matched_main": 0,
"matched_bonus": 0,
"tier": null,
"prize": null
},
"disclaimer": "This is not a prize claim. Prizes are paid only by the official lottery, under its rules and claim deadlines."
}

Code Examples

curl -X GET "https://api.api-ninjas.com/v1/lotterycheck?game=powerball&date=2026-10-05&numbers=16,23,32,1,2&bonus=9&power_play=true&double_play=true" \ -H "X-Api-Key: YOUR_API_KEY"

Frequently Asked Questions

  • Yes, but you must have a premium subscription. Commercial use of the Powerball API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.
  • Sign up for a free account to instantly get your API key, then pass it in the X-Api-Key header on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.
  • Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.
  • The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.
  • No. The Multi-State Lottery Association, which runs Powerball, does not publish a public developer API. The API Ninjas Lottery API provides Powerball results, jackpots and history from official state lottery publications. API Ninjas is not affiliated with or endorsed by Powerball or MUSL.
  • Call /v1/lottery?game=powerball. The response includes the five white balls, the Powerball, the Power Play multiplier, the Double Play numbers and the jackpot for that draw. Paid plans also get the cash value and the estimated jackpot for the next draw, within minutes of the draw; on the free plan results appear about an hour after the draw.
  • Our archive starts with the draw of 3 February 2010, available on the Business tier and above (Developer plans get the last two years). Every draw records the rules in force on its date in rules_version, because the number format changed twice in that period: in January 2012 (Powerball range 1 to 35) and in October 2015 (white balls 1 to 69, Powerball 1 to 26).
  • Yes, on paid plans: /v1/lotterycheck?game=powerball&date=2026-10-05&numbers=16,23,32,1,2&bonus=9&power_play=true&double_play=true returns the matched tier and prize for the main draw and the Double Play draw. Ticket numbers are never stored.

API Ninjas is not affiliated with or endorsed by any lottery operator. Powerball and Mega Millions are trademarks of their respective owners. Results are compiled from publicly available lottery results; in any discrepancy the official lottery's records prevail, so always verify winning tickets with the official lottery.