Just pushed a new commit, which makes system information available to the api. Under /data/system/<system_address> you can get all the system information you need!
Here an example:
GET on 127.0.0.1:8000/data/system/5070074488193
Result:
{ "name": "Imeut", "address": 5070074488193, "body_count": null, "non_body_count": null, "population": 97383, "allegiance": "Independent", "economy": "$economy_Refinery;", "second_economy": "$economy_Extraction;", "government": "$government_Democracy;", "security": "$SYSTEM_SECURITY_low;", "faction": "G-CLAN", "x": 89.03125, "y": -72.25, "z": -103.0625, "planets": [ { "body_name": "Imeut A A Belt Cluster 1", "body_id": 6, "distance_from_arrival_ls": 4.301665, "tidal_lock": null, "terraform_state": "null", "planet_class": "null", "atmosphere": "null", "volcanism": "null", "mass_em": null, "radius": null, "surface_gravity": null, "surface_temperature": null, "surface_pressure": null, "landable": null, "semi_major_axis": null, "eccentricity": null, "orbital_inclination": null, "periapsis": null, "orbital_period": null, "ascending_node": null, "mean_anomaly": null, "rotation_period": null, "axial_tilt": null, "was_discovered": true, "was_mapped": false }, ... { "body_name": "Imeut A 4", "body_id": 15, "distance_from_arrival_ls": 16.346417, "tidal_lock": true, "terraform_state": "", "planet_class": "High metal content body", "atmosphere": "", "volcanism": "major silicate vapour geysers volcanism", "mass_em": 0.013098, "radius": 1544947.125, "surface_gravity": 2.187142, "surface_temperature": 513.94519, "surface_pressure": 0.0, "landable": null, "semi_major_axis": 3838369.190693, "eccentricity": 0.025227, "orbital_inclination": -3.930205, "periapsis": 126.471949, "orbital_period": 33975.194097, "ascending_node": 43.335764, "mean_anomaly": 317.531552, "rotation_period": 45801.064954, "axial_tilt": -0.259308, "was_discovered": true, "was_mapped": true } ], "stars": [ { "body_name": "Imeut A", "body_id": 2, "distance_from_arrival_ls": 0.0, "star_type": "M", "subclass": 5, "stellar_mass": 0.34375, "radius": 332934944.0, "absolute_magnitude": 9.720581, "age_my": 12400, "surface_temperature": 2709.0, "luminosity": "Va", "semi_major_axis": 37582598328.59039, "eccentricity": 0.291696, "orbital_inclination": 47.303669, "periapsis": 188.314326, "orbital_period": 32166134.119034, "ascending_node": 154.563749, "mean_anomaly": 222.98039, "rotation_period": 142220.991907, "axial_tilt": 0.0, "was_discovered": true, "was_mapped": false }, ... ] }