Mega Millions API: Get latest results
Returns Mega Millions winning numbers, Mega Ball, multiplier and jackpot figures for the latest draw or a chosen drawing date, with the next draw time.
Unofficial. Not affiliated with or endorsed by Mega Millions.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Draw Date optional
draw_date Drawing date to look up in YYYY-MM-DD format, for example 2025-03-04. Defaults to the latest draw.
Not set
Input as JSON
{}Output
{ "currency": "USD", "draw_date": "2026-10-20", "cash_value": 170300000, "multiplier": null, "jackpot_won": false, "mega_ball_number": 3, "estimated_jackpot": 413000000, "results_page_link": "https://www.megamillions.com/Winning-Numbers/Previous-Drawings/Previous-Drawing-Page.aspx?date=639280512000000000" , "next_draw_datetime": "2026-10-23T23:00:00-04:00", "white_ball_numbers": [ 13, 28, 33 ], "next_estimated_jackpot": 433000000}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"megamillions.com/get_latest_results","input":{}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "megamillions.com/get_latest_results" , "input": {}})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "megamillions.com/get_latest_results" , "input": {} }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run megamillions.com/get_latest_results# with {}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [], "properties": { "draw_date": { "type": "string", "description": "Drawing date to look up in YYYY-MM-DD format, for example 2025-03-04. Defaults to the latest draw." } }}Output schema
{ "type": "object", "required": [ "draw_date", "white_ball_numbers", "mega_ball_number", "multiplier", "estimated_jackpot", "cash_value", "currency", "jackpot_won", "next_draw_datetime", "next_estimated_jackpot", "results_page_link" ], "properties": { "currency": { "type": "string", "description": "Currency for all money amounts (USD)." }, "draw_date": { "type": "string", "format": "date", "description": "Date of the drawing." }, "cash_value": { "type": [ "number", "null" ], "description": "Cash value for the drawing, in US dollars." }, "multiplier": { "type": [ "integer", "null" ], "description": "Drawn multiplier for older draws; null when there is no single drawn multiplier." }, "jackpot_won": { "type": [ "boolean", "null" ], "description": "Whether the jackpot had a winner; null if winner counts have not been verified." }, "mega_ball_number": { "type": "integer", "description": "The gold Mega Ball number." }, "estimated_jackpot": { "type": [ "number", "null" ], "description": "Estimated jackpot for the drawing, in US dollars." }, "results_page_link": { "type": "string", "description": "Page for the drawing results." }, "next_draw_datetime": { "type": "string", "description": "Next drawing date and time in US Eastern time, ISO 8601 with offset." }, "white_ball_numbers": { "type": "array", "items": { "type": "integer" }, "maxItems": 5, "minItems": 5, "description": "Five white-ball numbers in ascending order." }, "next_estimated_jackpot": { "type": [ "number", "null" ], "description": "Estimated next drawing jackpot in US dollars." } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
megamillions.com/get_latest_results- Returns
- draw date, white balls, Mega Ball, multiplier, jackpot and cash value, jackpot winner flag, next draw time and next jackpot, results link
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method megamillions.com/get_latest_results with the inputs above.
Ask your agent
- What were the latest Mega Millions winning numbers and Mega Ball?
- Mega Millions results for the drawing on 2025-03-04
- Did anyone win the Mega Millions jackpot in the most recent draw, and what was the cash value?
- When is the next Mega Millions draw and how big is the next jackpot?
- Check megamillions.com for the multiplier and white ball numbers from the 2025-01-14 drawing
See more
Returns the winning numbers, jackpot, cash value, winner status and next advertised drawing for Powerball or Lotto America. Powerball Double Play numbers are included when published.
powerball.com/get_latest_resultsLists MLB games and scores for a date or up to seven days, optionally for one team. Start times are shown in the requested time zone.
mlb.com/get_scoresGets the ranked entries and chart history for a Billboard chart. It returns the latest published week, or the week that contains a given date. A date between published weeks selects the next published week.
billboard.com/get_chartLists featured launches in Product Hunt's daily leaderboard order for a given US Pacific day, with each product's website when its public page shows one.
producthunt.com/list_launchesLists Techmeme's leading stories in page order, with each story's original article and linked coverage. Uses the live front page, or the evening archive for a given date.
techmeme.com/list_top_storiesReturns the domestic US and Canada daily box office rankings for a date, or the latest reported day when no date is given.
boxofficemojo.com/get_daily_box_officeGets Premier League fixtures and results in a date range, with kickoff times in your chosen time zone. Returns up to 380 matches.
premierleague.com/get_fixtures_and_resultsReturns ranked box office grosses for a weekend in a market. Defaults to the latest reported US and Canada weekend; international markets use their own weekend calendar.
boxofficemojo.com/get_weekend_box_office