Powerball API
Get Powerball winning numbers within minutes of each draw, with the Power Play multiplier, Double Play numbers, the jackpot and cash value, the next jackpot estimate, and 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:
/v1/lottery?game=powerball- latest draw, or any date withdate/v1/lotteryhistorical?game=powerball- past draws/v1/lotterycheck?game=powerball- check a ticket
Powerball at a glance
| Format | 5 white balls from 1-69 + 1 Powerball from 1-26 |
|---|---|
| Draws | Monday, Wednesday and Saturday, 10:59 pm ET |
| Ticket price | $2 |
| Jackpot odds | 1 in 292,201,338 |
| Add-ons | Power Play, Double Play |
| Archive | From 3 February 2010 |
Number-format history
| Effective | Format |
|---|---|
| 2015-10-07 | 5 from 1-69 + Powerball 1-26 |
| 2012-01-15 | 5 from 1-59 + Powerball 1-35 |
| 2009-01-07 | 5 from 1-59 + Powerball 1-39 |
https://api.api-ninjas.com/v1/lottery
Returns the latest draw for a game, the latest draw of every game in a country, or the draw on a given date. Results usually appear within minutes of the official publication.
Full parameter and response reference: /v1/lottery.
Live Demo
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. Free plans get the latest 10 draws; Developer plans a rolling two years; Business and above the full archive (Powerball from 2010, Mega Millions from 2002, New York's Numbers and Win 4 from 1980).
Full parameter and response reference: /v1/lotteryhistorical.
Live Demo
Get a free API key to get started — no credit card required.
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
Get a free API key to get started — no credit card required.
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
Can I use the Powerball API for commercial purposes?
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.How do I get an API key and start using the Powerball API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
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.What happens if a request to the Powerball API fails?
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.Is there an official Powerball API?
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.How do I get the latest Powerball winning numbers?
Call/v1/lottery?game=powerball. The response includes the five white balls, the Powerball, the Power Play multiplier, the Double Play numbers, the jackpot for that draw and the estimated jackpot for the next draw.How far back does Powerball history go?
Our archive starts with the draw of 3 February 2010. Every draw records the rules in force on its date inrules_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).Can I check a Powerball ticket with Power Play or Double Play?
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=truereturns the matched tier and prize for the main draw and the Double Play draw. Ticket numbers are never stored.
Explore API integration use cases for recommended APIs and workflow examples.
API Ninjas is not affiliated with or endorsed by any lottery operator. Powerball and Mega Millions are trademarks of their respective owners. Results are collected from official public lottery publications; in any discrepancy the official lottery's records prevail, so always verify winning tickets with the official lottery.