Body Position

Calculating the position of the Sun, Moon, and stars

The body-position end point calculates the position of one or more bodies (e.g. the Sun, and/or Moon) at a given time, or over a given time range and interval.

The general form of a call to this end point is as follows:

	"method": "GET",
	"url": "",
 	"params": {
		"body": "[BODIES]"
curl ""

Specific examples are given in the following sections.

Supported Bodies

The following values are accepted for the body parameter:

  • sun

  • moon

  • gc (the Galactic Center)

Last updated