Open data: tutte le estrazioni in CSV e JSON
Questa pagina raccoglie gli archivi completi di tutte le lotterie del sito, da scaricare: un file CSV e un file JSON per gioco, con tutte le estrazioni dalla prima all'ultima. I file vengono rigenerati a ogni ricostruzione del sito, quindi poco dopo ogni estrazione.
I dati provengono dalle pubblicazioni dei gestori (Sisal/ADM, WestLotto, FDJ, Loterie Romande/Swisslos, Camelot/Allwyn, Multi-State Lottery Association, Ithuba, Magnum/Singapore Pools e altri) e vengono verificati all'importazione (completezza, intervalli di valori). Le lacune storiche compaiono come righe mancanti, mai come valori stimati.
| Lotteria | Estrazioni | Periodo | CSV | JSON |
|---|---|---|---|---|
| Da Ma Cai 1+3D | 3.661 | 2005-01-01 – 2026-10-25 | ⬇ CSV 462 kB | JSON |
| Daily Lotto | 2.779 | 2019-03-10 – 2026-10-24 | ⬇ CSV 80 kB | JSON Quote (JSON) |
| EuroDreams | 310 | 2023-11-06 – 2026-10-22 | ⬇ CSV 10 kB | JSON Quote (JSON) |
| Eurojackpot | 997 | 2012-03-23 – 2026-10-23 | ⬇ CSV 33 kB | JSON Quote (JSON) |
| EuroMillions | 1.992 | 2004-02-13 – 2026-10-23 | ⬇ CSV 67 kB | JSON Quote (JSON) |
| KENO | 7.970 | 2004-02-02 – 2026-10-24 | ⬇ CSV 593 kB | JSON |
| Keno FDJ | 19.489 | 1993-09-16 – 2026-10-24 | ⬇ CSV 1481 kB | JSON |
| Korea Lotto 6/45 | 1.247 | 2002-12-07 – 2026-10-24 | ⬇ CSV 43 kB | JSON Quote (JSON) |
| Loto | 1.091 | 2019-11-06 – 2026-10-24 | ⬇ CSV 34 kB | JSON Quote (JSON) |
| Lotto 6 aus 45 | 3.695 | 1986-09-07 – 2026-10-21 | ⬇ CSV 128 kB | JSON |
| Lotto 6/49 | 4.462 | 1982-06-12 – 2026-10-24 | ⬇ CSV 155 kB | JSON |
| LOTTO 6aus49 | 6.572 | 1955-10-09 – 2026-10-24 | ⬇ CSV 228 kB | JSON Quote (JSON) |
| Lotto Belgique | 3.530 | 1992-03-28 – 2026-10-24 | ⬇ CSV 122 kB | JSON Quote (JSON) |
| Lotto italiano | 77.352 | 1939-01-07 – 2026-10-24 | ⬇ CSV 2205 kB | JSON |
| Lotto Max | 1.281 | 2009-09-25 – 2026-10-23 | ⬇ CSV 48 kB | JSON |
| Lotto Plus 1 | 1.230 | 2015-01-03 – 2026-10-24 | ⬇ CSV 43 kB | JSON Quote (JSON) |
| Magnum 4D | 6.832 | 1985-04-25 – 2026-10-25 | ⬇ CSV 861 kB | JSON |
| Mega Millions | 2.551 | 2002-05-17 – 2026-10-23 | ⬇ CSV 82 kB | JSON |
| MillionDAY | 3.182 | 2018-02-07 – 2026-10-24 | ⬇ CSV 93 kB | JSON |
| Powerball | 2.016 | 2010-02-03 – 2026-10-24 | ⬇ CSV 65 kB | JSON |
| PowerBall XTRA | 1.135 | 2015-12-01 – 2026-10-23 | ⬇ CSV 36 kB | JSON Quote (JSON) |
| Québec 49 | 3.034 | 1997-10-01 – 2026-10-24 | ⬇ CSV 105 kB | JSON |
| SA Lotto | 1.230 | 2015-01-03 – 2026-10-24 | ⬇ CSV 43 kB | JSON Quote (JSON) |
| SA PowerBall | 1.230 | 2015-01-02 – 2026-10-23 | ⬇ CSV 39 kB | JSON Quote (JSON) |
| Set For Life | 695 | 2020-02-27 – 2026-10-22 | ⬇ CSV 22 kB | JSON |
| Singapore 4D | 2.554 | 2010-04-18 – 2026-10-25 | ⬇ CSV 322 kB | JSON |
| SuperEnalotto | 4.290 | 1997-12-03 – 2026-10-24 | ⬇ CSV 151 kB | JSON Quote (JSON) |
| Swiss Lotto | 1.439 | 2013-01-12 – 2026-10-24 | ⬇ CSV 49 kB | JSON Quote (JSON) |
| Thunderball | 3.997 | 1999-06-12 – 2026-10-24 | ⬇ CSV 125 kB | JSON |
| TOTO | 1.234 | 2014-10-09 – 2026-10-22 | ⬇ CSV 43 kB | JSON Quote (JSON) |
| UK Lotto | 3.218 | 1994-11-19 – 2026-10-24 | ⬇ CSV 112 kB | JSON |
Tutto in una volta
Tutti i file CSV e JSON in un unico archivio ZIP (4.0 MB): ⬇ lottochaos-draws.zip
Licenza e utilizzo
I file sono pubblicati con licenza CC BY 4.0: puoi copiarli, modificarli e usarli anche a fini commerciali, purché citi «lottochaos.com» come fonte, preferibilmente con un link a questa pagina. Gli indirizzi dei file sono stabili; puoi caricarli direttamente da script o fogli di calcolo (CORS aperto). Per favore non automatizzare più di un download all'ora: i dati cambiano solo dopo un'estrazione.
Formato dei file
CSV: UTF-8, separatore virgola, riga di intestazione, un'estrazione per riga in ordine cronologico crescente. Date in formato ISO (AAAA-MM-GG), numeri senza zeri iniziali.
JSON: un array di oggetti {"date", "numbers", "bonus"} per le lotterie a numeri; per KENO, Lotto italiano e i giochi 4D array più compatti (data più stringa di cifre). Per le quote, la maggior parte delle lotterie a numeri ha anche un file <gioco>_q.json con le vincite per categoria ed estrazione.
Colonne per gioco
- Da Ma Cai 1+3D (
/data/dmc.csv): date, first, second, third, starter_1…10, consolation_1…10 (4 cifre ciascuno) - Daily Lotto (
/data/za_daily.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n5 in ordine crescente - EuroDreams (
/data/ed.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n6 in ordine crescente, b1…b1 (D) - Eurojackpot (
/data/ej.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n5 in ordine crescente, b1…b2 (EZ) - EuroMillions (
/data/em.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n5 in ordine crescente, b1…b2 (★) - KENO (
/data/keno.csv): date, n1…n20 crescenti, plus5 (numero Plus 5 a 5 cifre) - Keno FDJ (
/data/keno_fr.csv): date, slot (midi/soir, vecchia formula), n1…n20 crescenti, multiplier, joker - Korea Lotto 6/45 (
/data/kr_lotto.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n6 in ordine crescente, b1…b1 (B) - Loto (
/data/loto.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n5 in ordine crescente, b1…b1 (C) - Lotto 6 aus 45 (
/data/at_lotto.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n6 in ordine crescente, b1…b1 (Zz) - Lotto 6/49 (
/data/ca649.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n6 in ordine crescente, b1…b1 (B) - LOTTO 6aus49 (
/data/lotto.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n6 in ordine crescente, b1…b1 (SZ), flag (A/B = due estrazioni lo stesso giorno) - Lotto Belgique (
/data/be_lotto.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n6 in ordine crescente, b1…b1 (B) - Lotto italiano (
/data/it_lotto.csv): date, ruota (BA, CA, FI, GE, MI, NA, PA, RO, TO, VE, RN), n1…n5 in ordine di estrazione – una riga per ruota - Lotto Max (
/data/lottomax.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n7 in ordine crescente, b1…b1 (B) - Lotto Plus 1 (
/data/za_lp1.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n6 in ordine crescente, b1…b1 (B) - Magnum 4D (
/data/mg4d.csv): date, first, second, third, starter_1…10, consolation_1…10 (4 cifre ciascuno) - Mega Millions (
/data/us_mm.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n5 in ordine crescente, b1…b1 (MB) - MillionDAY (
/data/it_md.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n5 in ordine crescente - Powerball (
/data/us_pb.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n5 in ordine crescente, b1…b1 (PB) - PowerBall XTRA (
/data/za_pbx.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n5 in ordine crescente, b1…b1 (PB) - Québec 49 (
/data/q49.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n6 in ordine crescente, b1…b1 (C) - SA Lotto (
/data/za_lotto.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n6 in ordine crescente, b1…b1 (B) - SA PowerBall (
/data/za_pb.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n5 in ordine crescente, b1…b1 (PB) - Set For Life (
/data/uk_sfl.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n5 in ordine crescente, b1…b1 (L) - Singapore 4D (
/data/sg4d.csv): date, first, second, third, starter_1…10, consolation_1…10 (4 cifre ciascuno) - SuperEnalotto (
/data/it_se.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n6 in ordine crescente, b1…b1 (J) - Swiss Lotto (
/data/ch_lotto.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n6 in ordine crescente, b1…b1 (GZ) - Thunderball (
/data/uk_tb.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n5 in ordine crescente, b1…b1 (TB) - TOTO (
/data/toto.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n6 in ordine crescente, b1…b1 (A) - UK Lotto (
/data/uk_lotto.csv): date (AAAA-MM-GG), weekday (mon…sun), n1…n6 in ordine crescente, b1…b1 (B)
Esempio: caricamento in Python
Con pandas bastano due righe; poi frequenze, somme o ritardi si calcolano direttamente:
import pandas as pd
df = pd.read_csv("https://lottochaos.com/data/ej.csv", parse_dates=["date"])
print(df.tail())
print(df.filter(regex=r"^n\d").stack().value_counts().head(10)) # numeri più frequenti
Gli stessi file si aprono anche in Excel (Dati → Da testo/CSV), LibreOffice o R (read.csv(url)).
Per ricerca, didattica e giornalismo
Se riutilizzi i dati in una tesi, un articolo o un dataset (Kaggle, GitHub…), ci farà piacere saperlo via Telegram o Instagram, e metteremo volentieri un link di ritorno. Il sito resta puramente descrittivo: ogni combinazione ha la stessa probabilità a ogni estrazione, e nessuna statistica ricavata da questi dati cambia questo fatto.
FAQ
Posso usare i dati a fini commerciali?
Sì. La licenza CC BY 4.0 consente qualsiasi uso, anche commerciale, a condizione di citare la fonte lottochaos.com.
Quanto sono aggiornati i file?
Il sito viene ricostruito automaticamente dopo ogni estrazione, di solito entro una o due ore dalla pubblicazione ufficiale. I file contengono allora la nuova estrazione.
Esiste un'API?
Non un'API classica, ma i file si trovano a indirizzi fissi e possono essere scaricati direttamente (CORS aperto). Per la maggior parte degli usi basta un download al giorno.
I file contengono anche le quote?
I CSV contengono solo i numeri vincenti. Per SuperEnalotto, Eurojackpot, EuroMillions e altri giochi c'è un file JSON aggiuntivo con le vincite per categoria (nome che termina in _q.json), indicato nella tabella quando disponibile.
Un numero non corrisponde al sito ufficiale: che fare?
Segnalalo via Telegram o Instagram. Le importazioni sono verificate, ma errori di trascrizione alle fonti capitano; gli errori segnalati vengono corretti all'aggiornamento successivo.