Lottery Results API - Powerball, Mega Millions, History
Pricing
from $0.70 / 1,000 results
Lottery Results API - Powerball, Mega Millions, History
No API key. Official lottery results as clean JSON from New York State Gaming Commission open data: Powerball (2010+), Mega Millions (2002+), Millionaire for Life (2026), Cash4Life, NY Lotto, Take 5, Numbers, Win 4, Pick 10, Quick Draw. Latest drawing, one date, full history, ticket check with match
Pricing
from $0.70 / 1,000 results
Rating
0.0
(0)
Developer
Martin Petrov
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
Problem: your lottery app, results widget, number-statistics site or AI agent needs last night's Powerball or Mega Millions numbers, a past drawing, or a check of a ticket. Results sit on lottery web pages in different formats, history is hard to get in one piece, and scraped feeds break.
This API: one JSON call, no API key, answers from a maintained copy of the official New York State Gaming Commission open data (refreshed every 20 minutes).
- Games: Powerball (since 2010, with Power Play and Double Play), Mega Millions (since 2002), Millionaire for Life (the new 2026 national game), Cash4Life (retired 2026, full history), and New York games: Lotto, Take 5, Numbers (Pick 3), Win 4 (Pick 4), Pick 10, Quick Draw.
- Modes:
latest,date,history(date range, newest first),check(your numbers vs one drawing or every drawing in a range: matched numbers, tier like4 + Powerball, prize in USD where the official prize table is fixed),frequency(hot / cold numbers over a date range or the last N drawings),games(every game with first/last draw and number ranges). - Clean rows: numbers as integers, bonus ball and multiplier in their own fields, midday/evening drawings as separate rows, digit order kept for Numbers and Win 4.
- Source: New York State Gaming Commission via data.ny.gov (OPEN-NY terms). Every row carries
sourceandsourceUrl. Jackpot amounts are not part of the official data and are not returned.
Example (API)
curl -X POST "https://api.apify.com/v2/acts/martin10291~lottery-results-api/run-sync-get-dataset-items?token=YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{"game": "powerball", "mode": "latest"}'
Output row (measured 2026-11-16):
{"game": "powerball", "gameName": "Powerball", "drawDate": "2026-11-14", "drawTime": null,"numbers": [9, 44, 49, 51, 68], "bonusName": "Powerball", "bonus": 4, "multiplier": 2,"doublePlay": {"numbers": [15, 25, 30, 32, 67], "bonus": 1},"source": "New York State Gaming Commission via data.ny.gov", "sourceUrl": "https://data.ny.gov/d/d6yy-54nr"}
Check a Mega Millions ticket ({"game": "megamillions", "mode": "check", "numbers": "10 22 33 49 57", "bonus": 1, "date": "2026-11-13", "multiplier": 3}):
{"drawDate": "2026-11-13", "numbers": [10, 22, 33, 49, 57], "bonus": 18,"matchedNumbers": [10, 22, 33, 49, 57], "matchCount": 5, "bonusMatched": false,"tier": "5", "prizeBaseUSD": 1000000, "prizeUSD": 3000000}
Hot numbers over the last 100 Powerball drawings ({"game": "powerball", "mode": "frequency", "draws": 100}):
{"number": 42, "kind": "main", "count": 13, "percent": 13.0, "lastDrawn": "2026-11-11", "drawsSinceLast": 1, "rank": 1, "heat": "hot"}
More inputs:
{"game": "megamillions", "mode": "history", "startDate": "2025-01-01", "endDate": "2025-12-31", "limit": 200}{"game": "win4", "mode": "date", "date": "2026-11-10"}-> midday and evening rows, digits in order.{"game": "powerball", "mode": "check", "numbers": "3 12 42 44 61", "bonus": 9, "startDate": "2025-01-01"}-> only drawings where the ticket matched.{"mode": "games"}-> every game, number ranges, draw days.
Use from agents (MCP)
Add the Apify MCP server (https://mcp.apify.com?tools=martin10291/lottery-results-api) to Claude, Cursor or any MCP client and ask: "What were the last Powerball numbers, and did 9 44 49 51 68 with Powerball 4 win anything?".
Schedule it
Set onlyNew: true and a monitorId, schedule the actor after each draw day: each run returns only the drawings that are new since the last run with that Monitor ID.
Notes
- Results are official data republished by New York State; always confirm a winning ticket with the official lottery before you act on it.
- Prize amounts: Powerball tiers since 2015-10-07 and Mega Millions tiers since 2025-04-08 (with the ticket multiplier). Other games and older drawings return the tier and
prizeNote.
FAQ
- How fresh is the data? Our copy refreshes every 20 minutes. New York usually posts a drawing within hours (Powerball and Mega Millions results the next morning, New York time). Each game's newest date is in
{"mode": "games"}. - Limits? Up to 5000 rows per call; history goes back to 2002 (Mega Millions), 2010 (Powerball), 1980 (Numbers / Win 4). Quick Draw (every 4 minutes) is served by date range, up to 5000 drawings.
- Errors? Bad input returns a clear message starting with
invalid input:(for example a number out of range or an unknown game). If data.ny.gov is down, the last saved copy is served and rows carry"stale": true. - Jackpots? Jackpot amounts and winners per tier are not in the official open data, so they are not returned.