ephemeris_planet_position
Calculate precise ecliptic longitude, latitude, distance, speed, and retrograde status for any planet or celestial body at a specified date and time using its planet ID and datetime.
Instructions
Get the precise ecliptic longitude, latitude, distance, speed, and retrograde status for a single planet/body at a given date and time. Planet IDs: 0=Sun, 1=Moon, 2=Mercury, 3=Venus, 4=Mars, 5=Jupiter, 6=Saturn, 7=Uranus, 8=Neptune, 9=Pluto, 10=North Node (Mean), 11=North Node (True), 12=Lilith (Mean), 15=Chiron, 17=Ceres, 18=Pallas, 19=Juno, 20=Vesta.
SOUTH NODE: there is no South Node id. The South Node is always exactly opposite the North Node — request id 10 or 11 and add 180° (mod 360).
CREDIT COST: 1 credit per call.
EXAMPLE: Where is Mars on 2026-03-20 at noon UTC? planet_id=4, datetime='2026-03-20T12:00:00Z'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datetime | Yes | ISO 8601 datetime; zone required — a `Z`/±HH:MM suffix or the `timezone` argument. Date-only resolves to 12:00 UTC. Full rule: server `instructions`. | |
| latitude | No | Observer latitude for topocentric position (optional). Omit for geocentric. | |
| timezone | No | IANA timezone (e.g. `America/Chicago`); required when the datetime is naive, ignored otherwise. | |
| longitude | No | Observer longitude for topocentric position (optional). Omit for geocentric. | |
| planet_id | Yes | Planet/body ID (0=Sun, 1=Moon, 2=Mercury, 3=Venus, 4=Mars, 5=Jupiter, 6=Saturn, 7=Uranus, 8=Neptune, 9=Pluto, 10=North Node (Mean), 11=North Node (True), 12=Lilith (Mean), 15=Chiron, 17=Ceres, 18=Pallas, 19=Juno, 20=Vesta). There is no South Node id — take the North Node and add 180°. |