Positions at a moment
get_ephemeris_positionsPositions at a moment. Sun, Moon, planets and lunar nodes at one moment: longitude, latitude, distance, speed and retrograde flag, with sign, and nakṣatra and pada when sidereal. equatorial: true adds apparent right ascension and declination.
Cost: 0.1 credit per call, billed as 1 credit per started block of 10 Ephemeris calls (only successful calls are charged; a sandbox key is free and returns a fixed sample).
Deterministic: the same input always gives the same answer.
Example arguments: {"datetime":"2026-10-06T06:00:00Z","bodies":["Sun","Moon","Mars","Jupiter","Saturn","TrueNode"],"zodiac":"sidereal","ayanamsa":"lahiri"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bodies | No | Default: all twelve. | |
| zodiac | No | sidereal (default) or tropical. | sidereal |
| ayanamsa | No | Sidereal only. | lahiri |
| datetime | Yes | ISO 8601 with Z or an explicit offset, between 1800-01-02 and 2149-12-31 UTC. A time without a zone is refused (invalid_datetime). | |
| equatorial | No | Also return apparent right ascension and declination. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||