LottoLogic IQ  ·  API
API Documentation

Our data, as JSON,
in your own tools.

Everything the terminal shows you is served by an API — the same one. Elite subscribers get a key and can pull the draw archive, the scratch-off expected-value engine, and their own forward ledger straight into a spreadsheet, a notebook, or whatever you actually work in.

Getting started

Authentication

Pass your key as the key query parameter, or as a bearer token. Elite subscribers generate a key from account settings.

# Query parameter
curl "https://api.lottologiciq.com/api/scratch/ev?key=YOUR_KEY"

# Or as a header
curl -H "Authorization: Bearer YOUR_KEY" \
     "https://api.lottologiciq.com/api/scratch/ev"

# Every endpoint also returns CSV — just add .csv
curl "https://api.lottologiciq.com/api/scratch/ev.csv?key=YOUR_KEY"

In Google Sheets or Excel, no code required — this is how most subscribers actually use the API:

// Google Sheets — live scratch-off EV, auto-refreshing
=IMPORTDATA("https://api.lottologiciq.com/api/scratch/ev.csv?key=YOUR_KEY")

// Excel: Data > From Web > paste the same URL

Rate limits. 60 requests/minute burst · 500 requests/day. Per-endpoint caps: scratch EV 120/day · draws 240/day · ledger 60/day · full archive export 3/day. Our data updates twice a day, so a realistic integration needs about 50 calls/day — these limits are roughly ten times any genuine need. They exist to stop bulk cloning, not to get in your way. Need more for a legitimate use? Ask us and we will raise your key.

Responses are JSON (or CSV). Timestamps are ISO-8601. Money values are decimal dollars. Responses are edge-cached for 30 minutes — a cached hit does not count against your quota.

Reference

Endpoints

GET /api/draw/{game} Live Public

The full historical draw archive — 75,000+ records across Powerball, Mega Millions, FL Lotto, Jackpot Triple Play, Fantasy 5, and Pick 2–5 (midday and evening). Use ALL for every game, or a game name. Paginate with limit and offset.

GET /api/draw/ALL?limit=1000&offset=0

{
  "draws": [
    { "game": "PICK 3 Midday", "draw_date": "2026-07-11",
      "numbers": [4, 8, 1], "special": null }
  ],
  "total": 1000, "offset": 0, "next_offset": 1000
}
GET /api/scratch/ev Live Elite

The one genuinely exploitable signal we have. Every active Florida scratch-off, ranked by expected value per dollar, computed from prizes remaining. Includes the capped headline EV, the uncapped live EV, top-prize depletion, and a flag for games whose top prizes are already gone.

GET /api/scratch/ev

{
  "games": [
    { "game_id": 1608, "name": "$15MM DIAMOND SPECTACULAR",
      "price": 30, "ev": 23.71, "roi_pct": -21.0,
      "top_prizes_remaining": 1, "top_prizes_total": 2,
      "overall_odds": 2.61, "score": 54 }
  ]
}
GET /api/forward/ledger Live Pro / Elite

Your forward ledger: every pick, written before the draw and graded after it. Filter by days, game, strategy, and risk_tier. Elite reaches back 365 days; Pro reaches 30.

GET /api/forward/ledger?days=365&strategy=ANTI_SPLIT

{
  "rows": [ { "pick_date": "2026-02-17", "game": "PICK 4 Evening",
                "numbers": [3,7,7,1], "prize": 5000.00 } ],
  "summary": { "settled": 41727, "spent": 49203, "won": 21787 }
}
GET /api/scratch/alerts Coming soon Elite

Webhooks for top-prize depletion. Get notified the moment a scratch-off's last top prize is claimed — the point at which a game's remaining tickets become measurably worse value, and usually days before the shelves are cleared. This is the highest-value thing on our roadmap, because it is time-sensitive and genuinely actionable.

GET /api/jackpot/ev Coming soon Elite

Live Powerball and Mega Millions expected value as a function of the current jackpot, adjusted for cash option, federal and state tax, and estimated split risk at the current ticket-sales run rate. Tells you where the EV line actually sits — and how rarely it is truly crossed.

GET /api/stats/{game} Coming soon Elite

Per-game statistical summaries computed server-side: digit frequency, gap distribution, chi-square uniformity, autocorrelation, and Hurst exponent — the same tests we publish on the audit page, available as JSON so you can verify them yourself rather than take our word for it.

Coming soon means designed and scheduled, not hypothetical. Elite subscribers get access as each ships, at no extra cost, and we email you when it lands. Want one of these sooner, or need an endpoint we haven't listed? Tell us — Elite requests set the order we build in.

Why it exists

What the API is actually for

Because the terminal is our opinion, and the data is yours

We chose the charts, the scores, and the thresholds. You may disagree with all of them. The API hands you the same underlying numbers with none of our framing, so you can build your own view — and check ours.

Because scratch-off EV is time-sensitive

Prizes remaining changes daily, and a game can go from decent to gutted in a week. A key and a cron job beats reloading a dashboard. This is the endpoint most Elite subscribers actually use, and it is the one signal on this platform that is genuinely exploitable.

Because we would rather be verified than believed

Our audit says our strategies show no measurable edge over a random control. That claim is worth very little if you cannot test it. The draw archive and ledger endpoints exist so you can run our numbers yourself and reach your own conclusion.

Limits

Terms of use

API access is a personal, non-transferable licence. Do not share your key, resell or redistribute the data, or use it to build a competing product or dataset. Do not exceed documented rate limits. Full detail is in Section 8 of the Terms.

Data is provided "as is." Always verify winning numbers and prizes remaining with the official Florida Lottery before making any purchasing decision. Nothing the API returns is a prediction, and no output can make a lottery game profitable.