compute_natal_chart
Compute a natal astrological chart from a Julian Day, latitude, and longitude. Returns JSON for planetary positions, houses, aspects, and ayanamsha; pass a sidereal ayanamsha for a Vedic kundali.
Instructions
Compute a natal astrological chart for a given time and location. Returns JSON with each body's longitude, latitude, speed, sign, house, dignity and retrograde flag, the house cusps with ascendant and MC, the aspects, and the ayanamsha applied. Pass a sidereal ayanamsha for a Vedic chart (kundali); the default is tropical. To get a property graph, pass this output to emit_graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | Geographic latitude in degrees [-90, +90] | |
| ayanamsha | No | Sidereal zodiac system. Eleven systems, each derived forward from a primary source and none tuned to match another implementation. The chart's true_ayanamsha_value output field reports the TRUE ayanamsha (mean plus nutation in longitude) already applied — nutation is included, do not add it yourself. Pass Tropical for no rotation. Systems: IndianOfficial = Indian Astronomical Ephemeris 2022, AYANAMSA section: 23 deg 51 min 25.53 sec at J2000.0, propagated by P03 general precession | FaganBradley = Fagan & Firebrace, Primer of Sidereal Astrology: synetic vernal point 335 deg 57 min 28.64 sec at B1950.0, ayanamsha = 360 deg minus SVP | Krishnamurti = Krishnamurti Padhdhati Vol-I: 22 deg 22 min 00 sec on the 1st of Chitra 1900, propagated at KSK's stated 50.2388475 arcsec/yr | Raman = Raman, A Manual of Hindu Astrology (1935), Ch. III Art. 49 | SuryaSiddhanta = Surya Siddhanta Ch. 3 vv. 9-12 | Yukteshwar = Yukteswar, The Holy Science (1894) | RevatiPaksha [star] = Revati at the sidereal initial point, the majority reading against Surya Siddhanta Ch. 8's own 359 deg 50 min, zeta Piscium per Hipparcos | PushyaPaksha [star] = Narasimha Rao, Introducing Pushya-paksha Ayanamsa | TrueChitra [star] = Self-describing condition; Spica per Hipparcos | ChandraHari [star] = Chandra Hari, Indian J. History of Science 33(4), 1998 | GalacticCenter0Sag [star] = Self-describing condition; Sgr A* per Gordon, de Witt & Jacobs (2023), AJ 165, 49. | Tropical |
| longitude | Yes | Geographic longitude in degrees [-180, +180], east positive | |
| julian_day | Yes | Julian Day number in UT1 (Universal Time) — not TT, not TDB. The engine converts to TT internally for the dynamical terms (planetary positions, nutation, obliquity) and evaluates the Earth-rotation term — sidereal time, and hence the ascendant, the MC and all twelve house cusps — at this UT1 value directly. Supplying a TDB Julian Day rotates every cusp by 0.289° (17.3') at today's ΔT ≈ 69 s. | |
| house_system | No | House system: Placidus, Koch, Equal, WholeSign, etc. | Placidus |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| houses | Yes | ||
| aspects | Yes | ||
| planets | Yes | One entry per computed body. | |
| julian_day | Yes | The Julian Day the chart was cast for, echoed back. | |
| config_summary | No | One-line record of the ephemeris, house system and ayanamsha used. | |
| true_ayanamsha_value | No | True ayanamsha (mean plus nutation in longitude) applied, in degrees. Zero for a tropical chart. |