Every Lego set in the open Rebrickable catalog, 28,553 of them, one row each. Columns: set number, name, release year, theme, the top-level theme it rolls up into, piece count, an image link and the Rebrickable page. Sets span 1949 to the present. The largest is the Lego Art World Map at 11,695 pieces, ahead of the Eiffel Tower and Titanic Icons sets, and Star Wars, City and Technic are among the deepest building themes (the Gear theme, which is non-building merchandise, is the most numerous). A fun dataset for analysis: how set sizes have grown over the decades, the biggest builds, and output by theme over time. Nine acceptance tests, one enforcing the 25 percent fill rule on every column.
28,553 rows in one CSV file, with 8 columns in total: Set_Number, Name, Year, Theme, Root_Theme, Num_Parts, Image_URL, Set_URL.
It is built by programmatically scraping rebrickable.com, last pulled on 2026-10-25. Datasets are versioned; older versions stay downloadable.
Yes. Every CodeSights dataset is completely free as a CSV download; a free account is all it takes. Anyone can preview the data without signing in.
Yes. The exact Python scraper that built it is viewable on the dataset page by any signed-in member, so every number is reproducible.
Automated scraping leaves room for error and the underlying sources change over time, so no version is guaranteed accurate or complete. If a number matters, verify it against the original source.