Where can I find such dataset.

For each object, I would want name, size, distance from sun (if applicable), mass. Can be separate dataset for all moons and for all planets. (and maybe asteroids).

  • 1
    You can get all this from Wikipedia. Start here en.wikipedia.org/wiki/Planet
    – user4293
    Commented Mar 12, 2017 at 13:23
  • "and maybe asteroids" is a much, much larger scope.
    – wogsland
    Commented Mar 12, 2017 at 16:15

2 Answers 2


Devstronomy project provides the datasets for planets (plus Pluto) and their satellites(moons) in accessible formats (CSV, JSON, SQL), available for download. The datasets originate from the NASA Jet Propulsion Laboratory. Check the site for details.

Edit: please note that I'm the author of the Devstonomy project. I had a similar issue and did not find a solution. So I've provided the datasets on the Devstronomy site.

  • @NisseEngström: Thanks for correcting me, Nisse. This was my first answer here. It makes a lot of sense. Commented Jan 23, 2019 at 10:21

These two put everything in one place and so are simple.


This one treats each astronomical object separately, but you can get much more detailed information.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.