MyLotteryData API

Access historical lottery draw data programmatically via our REST API.

Authentication

All requests require an API key passed in the X-API-Key header.

curl -H "X-API-Key: YOUR_KEY" https://api.mylotterydata.com/v1/games

Pricing

Free

$0

  • 100 requests / day
  • All endpoints
  • JSON responses

Pro

$9.99/mo

  • 10,000 requests / day
  • All endpoints
  • Priority support

Endpoints

GET/v1/games

List all available games with latest draw numbers.

GET/v1/draws/recent

Get the most recent draws for a game.

Params: game, count
GET/v1/draws/date/{date}

Get all draws on a specific date (YYYY-MM-DD).

Params: game_type (optional)
GET/v1/draws/search

Search for a number across all games (exact + box match).

Params: number, game_type (optional)
GET/v1/draws/by-sum

Find draws where digits add up to a specific sum.

Params: sum, game, limit
GET/v1/draws/by-pair

Find draws containing a specific 2-digit pair.

Params: pair, game, limit
GET/v1/draws/history

Get all draws for a game in a specific year.

Params: game, year
GET/v1/stats

Get statistics: total draws, date range, top sums, hot numbers.

Params: game
GET/v1/overview

Get a summary of all games with draw counts and date ranges.

Example Response

{
  "draws": [
    {
      "date": "2026-05-09",
      "tod": "Evening",
      "numbers": [
        "2",
        "8",
        "1",
        "6"
      ],
      "number_str": "2816",
      "normalized": "1268",
      "digits_sum": 17,
      "game": "pick-4-evening",
      "game_name": "Pick 4 Evening",
      "game_type": "pick4",
      "pairs_2dp": [
        "12",
        "16",
        "18",
        "26",
        "28",
        "68"
      ]
    }
  ],
  "total": 12727,
  "game": "pick-4-evening"
}

Frequently Asked Questions

What is MyLotteryData?
MyLotteryData is a lottery data analysis platform that uses 24+ prediction algorithms to analyze Pick 3, Pick 4, and Pick 5 lottery games across 37 US states. It provides free historical results, pattern detection, and algorithm-generated prediction lists to help players make data-driven number selections.
How do lottery prediction algorithms work?
MyLotteryData's algorithms analyze historical draw data to detect recurring patterns. Methods include temporal proximity (finding numbers that appear near each other in time), anchor convergence (identifying co-occurring numbers across time windows), echo patterns (detecting repeating sequences), consecutive draws analysis, truth tables, and month convergence. Each algorithm produces a ranked prediction list of numbers sorted by signal strength.
What states does MyLotteryData support?
MyLotteryData covers 37 US states including Florida, Georgia, Pennsylvania, New Jersey, Virginia, South Carolina, North Carolina, Texas, Ohio, New York, California, Illinois, and many more. Each state's Pick 3, Pick 4, and Pick 5 games are tracked with daily updated results and full historical data going back years.
What is temporal proximity in lottery analysis?
Temporal proximity is a pattern detection method that identifies numbers appearing within a narrow time window (typically 5 days) of a seed number's draw date. By finding numbers that historically cluster together in time, the algorithm generates prediction lists of numbers likely to appear near future draws of the seed number. This was the method behind documented wins including a $10,000+ result.
How accurate are lottery prediction algorithms?
No algorithm can guarantee lottery wins since draws are random events. However, MyLotteryData's algorithms have demonstrated statistically significant hit rates in backtesting. For example, anchor convergence achieved 20-24% top-50 hit rates across multiple states, compared to random chance of under 1%. The algorithms narrow thousands of possible combinations down to playable prediction lists of under 50 numbers.
What is a prediction list (PL)?
A prediction list (PL) is a ranked set of lottery numbers generated by one or more algorithms, sorted by signal strength. PLs are kept to 50 or fewer combinations to be practically playable. Each number in a PL is scored by how many algorithmic signals support it, with the strongest candidates ranked at the top.
What is anchor convergence?
Anchor convergence is an algorithm that finds numbers co-occurring with a selected anchor number across historical time windows. It calculates temporal affinity scores based on how frequently numbers appear together within convergent windows, producing a prediction list ranked by co-occurrence strength. Dual-anchor mode intersects two anchors' PLs for stronger signals.
How much does MyLotteryData cost?
MyLotteryData offers free access to historical lottery results and basic statistics for all supported states and games. The prediction algorithms and advanced features are available through paid access tiers: $8 per hour, $45 per day, or $850 per month for unlimited algorithm access across all states and game types.