Answers.Body: <p>I wasn't able to find anything like this, so I contacted the admins of the sites that I mentioned in the question. Rebrickable was kind enough to send me a dump of their set inventories under a Creative Commons 3.0 BY-SA license, which basically means that you can do whatever you want with the data as long as Rebrickable is acknowledged as the source and you share any updates that you make.</p>
  <p>I've created an archive which contains a spreadsheet for each set that was in the dump that I received. Hopefully this is useful to someone else.</p>
  <p><a href="http://joncraton.org/files/lego_sets_20140302.7z" rel="nofollow noreferrer">Lego Set Inventories as of March 2014</a></p>
  <p>Update:</p>
  <p>The raw data that I used to create these spreadsheets is now available <a href="http://rebrickable.com/downloads" rel="nofollow noreferrer">directly from Rebrickable</a> and is updated monthly there. I also maintain <a href="https://github.com/jncraton/rebrickable-sqlite" rel="nofollow noreferrer">software to build an SQLite database from these dumps</a>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-03-02T22:31:52.447Z
Answers.Text: I've updated my link and added a note about getting this data directly from Rebrickable. If you aren't familiar with Rebrickable, you should check it out. It sounds like it does exactly what you are trying to do.
Answers.UserDisplayName: jncraton
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-22T02:11:20.123Z
Answers.Text: Thanks for posting this. This is a very suitable solution.
Answers.UserDisplayName: RevNoah
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2013-02-16T14:04:47.723Z
Answers.LastActivityDate: 2021-01-08T17:09:55.133Z
Answers.LastEditDate: 2021-01-08T17:09:55.133Z
Answers.UserDisplayName: jncraton
Body: <p>I'm working on a project that will require a list of all sets including all of the parts they contain. I'm aware of at least three sites which have this information (<a href="http://peeron.com">Peeron</a>, <a href="http://bricklink.com">BrickLink</a>, and <a href="http://rebrickable.com">Rebrickable</a>), but I haven't been able to find a way to download all of this data easily.</p>
  
  <p>The closest thing I have been able to find so far is the <a href="http://www.brickset.com/webservices/">Brickset API</a>, but Brickset only has a limited amount of set metadata (year, theme, part count, etc) and does not seem to have a full listing of parts contained in each set.</p>
  
Tags: <set-database>
Title: Is there a freely downloadable LEGO set and part dataset?
UserDisplayName: jncraton
ThreadText: # Is there a freely downloadable LEGO set and part dataset?
  
  (Asked by: username_0 on 2012-12-29)
  
  I'm working on a project that will require a list of all sets including all of the parts they contain. I'm aware of at least three sites which have this information ([Peeron](http://peeron.com), [BrickLink](http://bricklink.com), and [Rebrickable](http://rebrickable.com)), but I haven't been able to find a way to download all of this data easily.
  
  The closest thing I have been able to find so far is the [Brickset API](http://www.brickset.com/webservices/), but Brickset only has a limited amount of set metadata (year, theme, part count, etc) and does not seem to have a full listing of parts contained in each set.
  
  **Tags:** set-database
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2013-02-16. Score: 22 | Accepted answer
  
  I wasn't able to find anything like this, so I contacted the admins of the sites that I mentioned in the question. Rebrickable was kind enough to send me a dump of their set inventories under a Creative Commons 3.0 BY-SA license, which basically means that you can do whatever you want with the data as long as Rebrickable is acknowledged as the source and you share any updates that you make.
  
  I've created an archive which contains a spreadsheet for each set that was in the dump that I received. Hopefully this is useful to someone else.
  
  [Lego Set Inventories as of March 2014](http://joncraton.org/files/lego_sets_20140302.7z)
  
  Update:
  
  The raw data that I used to create these spreadsheets is now available [directly from Rebrickable](http://rebrickable.com/downloads) and is updated monthly there. I also maintain [software to build an SQLite database from these dumps](https://github.com/username_0/rebrickable-sqlite).
  
  > **Comments:**
  > **username_0**: I've updated my link and added a note about getting this data directly from Rebrickable. If you aren't familiar with Rebrickable, you should check it out. It sounds like it does exactly what you are trying to do.  
  > **username_1**: Thanks for posting this. This is a very suitable solution.  
  
  ---
  
  