🪐Body Properties

Plants, Sun and Moon entities respond with common object properties. This page describes what to expect in the response.

Body entities returned from the Positions API consists of the following properties.

phase property is available only in the Moon body

Sample response object

{
    "date": "2017-12-20T08:00:00.000Z",
    "id": "saturn",
    "name": "Saturn",
    "distance": {
        "fromEarth": {
            "au": "11.04833",
            "km": "1652807114.58763"
        }
    },
    "position": {
        "horizonal": {
            "altitude": {
                "degrees": "-57.37",
                "string": "-58° 37' 48\""
            },
            "azimuth": {
                "degrees": "78.82",
                "string": "78° 49' 12\""
            }
        },
        "equatorial": {
            "rightAscension": {
                "hours": "17.98",
                "string": "17h 58m 48s"
            },
            "declination": {
                "degrees": "-22.53",
                "string": "-23° 28' 12\""
            }
        }
    },
    "extraInfo": {
        "elongation": "1.66392",
        "magnitude": "0.31200"
    }
}

Last updated