An open Rest API for querying all Solar System data.
https://api.le-systeme-solaire.net
All planets and their moons, all dwarfs planets and the main asteroids.
Dimensions, mass, flattening, gravity, inclination and temperature.
Semimajor axis, perihelion, aphelion, eccentricity, orbital period and orbital speed.
Discovery circumstances, discoverer(s), year discovered and provisional designation.
For every body, all its satellites and the ability to navigate between satellites and the star.
Known count of each object type : planets, moons, asteroids, comets.
How to use the API?
An URL returns all bodies in the database with all data:
https://api.le-systeme-solaire.net/rest/bodies/
An URL returns all data of one body:
https://api.le-systeme-solaire.net/rest/bodies/{id}
An URL returns all known count for each object type :
https://api.le-systeme-solaire.net/rest/knowncount/
An URL returns known count for the object type :
https://api.le-systeme-solaire.net/rest/knowncount/{id}
# | Parameter | Action |
---|---|---|
1 | data | The data you want to retrieve (comma separated). |
2 | exclude | One or more data you want to exclude (comma separated). |
3 | order | The sort order data you want to use and the sort direction (comma separated). |
4 | page | Page number (number>=1) and page size (size>=1 with 20 as default) (comma separated). |
5 | rowData | Transform the objects in records. |
6 | filter[] | Filters to be applied. Each filter consists of a data, an operator and a value (comma separated). |
7 | satisfy | Should all filters match (default). |
# | Parameter | Action |
---|---|---|
1 | rowData | Transform the objects in records. |
Distributed under MIT license.