Home · Blog · Developers

Dataset: Latest Lottery Draws

Download: JSON (sha256: d33ae55356a6eee0cda1ad2ecba2578c9d47f48aa6b9d646637ffa4a16750e30) · CSV (sha256: 0c99b509a66a09a5042d7b2e8b55bf09d2b668dc9b473ca7bc10f001c58a4103)

Schema

date, game, numbers[], jackpot_usd, winners, source_url, fetched_at, version, last_updated

Examples

# curl
curl -s https://whatwouldyoudoifyouwonthelottery.com/datasets/latest-draws.json | jq .records[0]

# node
const res = await fetch("https://whatwouldyoudoifyouwonthelottery.com/datasets/latest-draws.json");
const data = await res.json();

# python
import pandas as pd
df = pd.read_csv("https://whatwouldyoudoifyouwonthelottery.com/datasets/latest-draws.csv")
print(df.head())