usamega.com APIusamega.com ↗
Access Mega Millions and Powerball results, jackpot amounts, prize tier odds, drawing history, and state-by-state tax analysis via the usamega.com API.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/d28795dd-8ad2-4cda-9c3a-6f8f389a2547/get_latest_results' \ -H 'X-API-Key: $PARSE_API_KEY'
Get latest winning numbers and next jackpot amounts for all games (Mega Millions and Powerball) from the homepage.
No input parameters required.
{
"type": "object",
"fields": {
"Powerball": "object containing latest_drawing, double_play, and next_jackpot for Powerball",
"Mega Millions": "object containing latest_drawing and next_jackpot for Mega Millions"
},
"sample": {
"data": {
"Powerball": {
"double_play": {
"numbers": [
"8",
"13",
"39",
"63",
"66"
],
"bonus_ball": "2"
},
"next_jackpot": {
"cash": "$38.8 Million",
"date": "Sat, May 16, 2026",
"annuity": "$86 Million"
},
"latest_drawing": {
"date": "Wed, May 13, 2026",
"numbers": [
"22",
"31",
"52",
"56",
"67"
],
"bonus_ball": "15",
"multiplier": "2x"
}
},
"Mega Millions": {
"next_jackpot": {
"cash": "$112.3 Million",
"date": "Fri, May 15, 2026",
"annuity": "$251 Million"
},
"latest_drawing": {
"date": "Tue, May 12, 2026",
"numbers": [
"17",
"32",
"35",
"40",
"47"
],
"bonus_ball": "17",
"multiplier": null
}
}
},
"status": "success"
}
}About the usamega.com API
The usamega.com API exposes 5 endpoints covering Mega Millions and Powerball lottery data, including live jackpot amounts, historical drawing results, prize tier breakdowns, and state-by-state after-tax payout estimates. The get_drawing_details endpoint returns per-tier winner counts and prize amounts for any specific drawing date, while get_jackpot_analysis surfaces net payout figures across all U.S. states for both annuity and cash options.
Latest Results and Drawing History
The get_latest_results endpoint returns current winning numbers and upcoming jackpot amounts for both Mega Millions and Powerball in a single call, including Powerball's Double Play data. For historical context, get_game_results accepts a game parameter ('mega-millions' or 'powerball') and an optional limit integer to control how many past drawings are returned. Each drawing object in the response includes date, numbers, bonus_ball, multiplier, and jackpot.
Drawing Details and Prize Breakdowns
get_drawing_details retrieves the full prize structure for a specific draw. You supply game, year, month, and day as separate string parameters, and the response includes winning_numbers, bonus_ball, a summary object with jackpot annuity and cash value, and prize_tables — an array of tier objects each containing a prizes array with winner counts and payout amounts per tier. This is the endpoint to use when you need to know exactly how many tickets won at each match level for a given date.
Odds and Tax Analysis
get_odds returns the full prize tier list for a game, with match, prize, and odds fields per tier, plus the drawing schedule (days and time) and overall_odds. get_jackpot_analysis goes further, returning a states array where each entry includes the state name, average_annual_net (annuity option after taxes), and cash_option_net — useful for comparing real take-home amounts across jurisdictions. The jackpot_amount_annuity field gives the advertised annuity value at the time of the call.
- Display live Mega Millions and Powerball jackpot totals on a lottery tracker dashboard using
get_latest_results. - Build a historical drawing archive with filterable results by game and date range using
get_game_resultswith thelimitparameter. - Show prize tier breakdowns — winner counts and payouts per match level — for any specific drawing via
get_drawing_details. - Compare after-tax jackpot payouts across all U.S. states using the
cash_option_netandaverage_annual_netfields fromget_jackpot_analysis. - Render a complete odds table for Mega Millions or Powerball, including overall odds, using
get_odds. - Alert users when a jackpot crosses a threshold by polling
get_latest_resultsfor thenext_jackpotfield. - Calculate the expected value of a ticket for a given game by combining odds data from
get_oddswith jackpot data fromget_latest_results.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does usamega.com have an official developer API?+
What does `get_drawing_details` return beyond the winning numbers?+
get_drawing_details returns the full prize table for a specific drawing date. Beyond winning_numbers and bonus_ball, the response includes a summary object with jackpot annuity and cash value, and a prize_tables array broken down by tier — each tier listing match criteria, number of winners, and prize amount per winner. You supply the drawing date as separate year, month, and day string parameters.Does the API cover lottery games other than Mega Millions and Powerball?+
'mega-millions' and 'powerball' as the only accepted game values. You can fork this API on Parse and revise it to add endpoints covering additional games if the source site carries that data.Does `get_jackpot_analysis` include local or city-level tax breakdowns?+
states array in get_jackpot_analysis provides state-level average_annual_net and cash_option_net figures, covering federal and state tax impact. Local or city-level tax calculations are not included in the response. You can fork this API on Parse and revise it to layer in municipal tax rates as a post-processing step.How far back does drawing history go with `get_game_results`?+
limit parameter controlling how many drawings are returned per call. The exact depth of available history depends on what the source site retains. There is no documented hard cutoff, but for very old drawings you should use get_drawing_details with a specific date to verify availability.