Planet Position
ephemeris_planet_positionCalculate one celestial body's ecliptic longitude, latitude, distance, speed and retrograde status at a given moment. Use it to locate a planet now, check a zodiac sign placement, or find where a body was on a birth date.
Instructions
Use this when the user asks 'where is Mars right now', 'what sign is the Moon in today', 'what's my sun sign / star sign' (planet_id=0; a bare birth date resolves to noon UTC, no location needed), 'where was Jupiter on my birthday', 'where is the North Node' — one body at one moment. Returns ecliptic longitude, latitude, distance, speed and retrograde flag.
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. NODES: id 10 is the mean North Node (mean-node polynomial); id 11 is the true North Node (osculating, referenced to the true ecliptic of date). There is no South Node id; the South Node longitude is a North Node longitude plus 180° (mod 360).
CREDIT COST: 1 credit per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datetime | Yes | ISO 8601; zone required (`Z`/offset, or local time plus `timezone`). | |
| latitude | No | Optional; topocentric if set. | |
| timezone | No | IANA zone for a local datetime. | |
| longitude | No | Optional; topocentric if set. | |
| planet_id | Yes | 0 Sun, 1 Moon, 2–9 Mercury–Pluto, 10 mean node, 11 true node, 12 Lilith, 15 Chiron, 17–20 Ceres/Pallas/Juno/Vesta. |