US Lottery API Logo
US Lottery API
LoginGet Free API Key
GET /v1/mega-millions/winning-numbers · Live Data

Mega Millions Winning Numbers API (US) Endpoint

Automate retrieval of official Mega Millions winning numbers, gold Mega Ball, Megaplier multipliers, and next jackpot estimates via high-availability JSON REST API.

API Endpoint
GEThttps://api.uslotteryapi.com/v1/mega-millions/winning-numbers
Draw Schedule: Tue & Fri 11:00 PM ET

Request Query Parameters

ParameterTypeRequiredDescription
datestringOptionalTarget draw date (YYYY-MM-DD). Defaults to latest draw.
limitintegerOptionalNumber of recent draws to return (1 to 50). Default: 1.
formatstringOptionalResponse payload format (json or csv).

Sample JSON Response Payload

{
  "status": "success",
  "data": {
    "game": "Mega Millions",
    "draw_date": "2026-07-31",
    "draw_time": "23:00:00 EST",
    "winning_numbers": {
      "white_balls": [8, 17, 29, 41, 55],
      "mega_ball": 14,
      "megaplier": "4x"
    },
    "jackpot": {
      "annuity": "$280,000,000",
      "cash_option": "$133,400,000"
    },
    "next_draw": {
      "date": "2026-08-04",
      "estimated_jackpot": "$306,000,000"
    }
  },
  "meta": {
    "timestamp": "2026-07-31T23:09:15Z",
    "data_source": "Official Mega Millions Consortium"
  }
}
cURL RequestCLI / Shell
curl -X GET "https://api.uslotteryapi.com/v1/mega-millions/winning-numbers" \
  -H "X-API-Key: YOUR_API_KEY"
Python (requests)Backend App
import requests

res = requests.get('https://api.uslotteryapi.com/v1/mega-millions/winning-numbers', 
                   headers={'X-API-Key': 'YOUR_API_KEY'})
data = res.json()
print("White Balls:", data['data']['winning_numbers']['white_balls'])
print("Mega Ball:", data['data']['winning_numbers']['mega_ball'])

API Quota & Pricing

Access Mega Millions data with 500 free requests per month. Developer and Enterprise tiers available.

Frequently Asked Questions

When are Mega Millions winning numbers updated in the API?

Winning numbers update within 5 to 10 minutes following the official draw at 11:00 PM ET every Tuesday and Friday.

What data fields are included in the Mega Millions response?

Response payloads include 5 white ball numbers, 1 Mega Ball digit, Megaplier multiplier (2x-5x), jackpot estimate, and next draw date.

Can I query historical Mega Millions draws by date?

Yes. Pass the `date=YYYY-MM-DD` query parameter to fetch results for any historical Tuesday or Friday drawing.

Explore Mega Millions & Multi-State APIs