Real-time lottery data,
sourced from official sites.

Draw results, prize breakdowns, jackpot history, and California-specific data for Powerball, Mega Millions, and SuperLotto Plus — delivered as JSON over HTTPS.

View API Documentation →

Mega Millions and Powerball, including California data.

California uses pari-mutuel prize payouts, which differ from the fixed national amounts. Both are available.

Powerball
Multi-state jackpot game drawn on Mondays, Wednesdays, and Saturdays.
National California
  • Latest draw with winner counts
  • Next draw date and jackpot estimate
  • Paginated draw history with date filters
  • California prize breakdown
  • Prize tiers and odds
Mega Millions
Multi-state jackpot game drawn on Tuesdays and Fridays.
National California
  • Latest draw with winner counts
  • Next draw date and jackpot estimate
  • Paginated draw history with date filters
  • California prize breakdown with Megaplier tiers
SuperLotto Plus
California-exclusive jackpot game drawn on Wednesdays and Saturdays.
California
  • Latest draw with prize breakdown
  • Next draw date and jackpot estimate
  • Paginated draw history with date filters

What the API provides.

Data is fetched directly from official lottery websites after every draw.

⚡
Live draw results
Results are updated immediately after each draw, sourced directly from the official lottery websites.
🇨🇦
California prize data
California pari-mutuel payouts tracked separately, including per-multiplier winner counts for Mega Millions.
📊
Full draw history
Query historical draws with start date, end date, and pagination parameters.
🏆
Prize tier breakdown
Per-tier winner counts, prize amounts, and Power Play or Megaplier details for every draw.
📅
Next draw info
Upcoming draw dates, estimated jackpots, and cash values, updated after each draw.
🔒
Secure access
All endpoints require a Bearer token sent over HTTPS.

One request away.

Use any HTTP client. All responses are JSON.

Request
curl https://cayipi.com/api/v1/megamillions/latest \
  -H "Authorization: Bearer lotto_your_key"
Response
{
  "play_date": "2026-06-17",
  "numbers": [4, 19, 35, 51, 67],
  "mega_ball": 14,
  "megaplier": 3,
  "current_prize_pool": 245000000,
  "current_cash_value": 117800000,
  "nextDraw": {
    "drawing_date": "2026-06-20T23:00:00",
    "prize_pool": 270000000
  }
}