LifeAstroAPILifeAstroAPI

Vedic Chart and Panchang Accuracy Lab

Fixed inputs in 14 metro cities, the raw JSON LifeAstroAPI returned for each of them, the answers NASA JPL Horizons gives for the same moments and places, and every comparison line by line. Download it, open it in a spreadsheet, or rerun the script with your own key.

224 / 224
grahas and lagnas in the same sign, nakshatra and pada
0.05″
median graha difference, 196 positions
0.7 s
largest tithi end-time difference
1008 / 1008
tithi, nakshatra and yoga at sunrise identical

28 birth charts

Two births in each city between 1952 and 2022, chosen to include daylight saving, historic UTC offsets, a leap day and times near midnight. For each one we call /v1/chart/planets and /v1/chart/ascendant exactly as an app would, with the local date, time and time zone, and compare Sun to Saturn, the lagna and the MC with NASA JPL.

#CityLocal birth timeLargest graha diff.Lagna diff.Sign · nakshatra · pada
V01Delhi1952-08-15 06:05 (UTC+05:30)0.12″0.05″ ≈ 0.00 s of birth time 8 / 8
V02Delhi2001-12-02 23:40 (UTC+05:30)
near local midnight
0.11″1.29″ ≈ 0.10 s of birth time 8 / 8
V03Mumbai1990-01-15 10:30 (UTC+05:30)
the sample birth used across the docs
0.11″5.72″ ≈ 0.30 s of birth time 8 / 8
V04Mumbai1975-06-25 04:15 (UTC+05:30)
before sunrise
0.08″3.24″ ≈ 0.21 s of birth time 8 / 8
V05Kolkata1961-03-03 13:20 (UTC+05:30)0.18″0.06″ ≈ 0.00 s of birth time 8 / 8
V06Kolkata2010-10-10 19:45 (UTC+05:30)0.1″1.07″ ≈ 0.07 s of birth time 8 / 8
V07Chennai1968-11-21 02:50 (UTC+05:30)0.05″0.51″ ≈ 0.03 s of birth time 8 / 8
V08Chennai2018-04-14 08:00 (UTC+05:30)0.05″1.89″ ≈ 0.12 s of birth time 8 / 8
V09Bengaluru1984-07-30 17:25 (UTC+05:30)0.05″1.15″ ≈ 0.08 s of birth time 8 / 8
V10Bengaluru2022-01-26 11:11 (UTC+05:30)0.11″1.98″ ≈ 0.11 s of birth time 8 / 8
V11Hyderabad1956-05-09 21:30 (UTC+05:30)0.38″0.08″ ≈ 0.01 s of birth time 8 / 8
V12Hyderabad2005-09-18 05:55 (UTC+05:30)0.42″8.7″ ≈ 0.60 s of birth time 8 / 8
V13Ahmedabad1979-02-27 15:05 (UTC+05:30)0.23″5.6″ ≈ 0.42 s of birth time 8 / 8
V14Ahmedabad2014-08-06 00:35 (UTC+05:30)
just after local midnight
0.23″5.18″ ≈ 0.31 s of birth time 8 / 8
V15Pune1971-10-19 09:40 (UTC+05:30)0.11″1.28″ ≈ 0.10 s of birth time 8 / 8
V16Pune1998-03-22 22:10 (UTC+05:30)0.05″0.75″ ≈ 0.06 s of birth time 8 / 8
V17Dubai1987-12-24 07:30 (UTC+04:00)0.43″8.8″ ≈ 0.62 s of birth time 8 / 8
V18Dubai2016-05-01 14:50 (UTC+04:00)0.1″1.76″ ≈ 0.13 s of birth time 8 / 8
V19Singapore1965-08-09 10:00 (UTC+07:30)
historic offset UTC+07:30
0.05″0.15″ ≈ 0.01 s of birth time 8 / 8
V20Singapore2008-02-29 18:20 (UTC+08:00)
leap day
0.21″5.17″ ≈ 0.34 s of birth time 8 / 8
V21London1969-12-20 21:56 (UTC+01:00)
winter under British Standard Time (UTC+1 all year, 1968-71)
0.05″0.15″ ≈ 0.01 s of birth time 8 / 8
V22London2003-01-07 03:15 (UTC+00:00)
winter, UTC+0
0.2″2.94″ ≈ 0.28 s of birth time 8 / 8
V23New York1977-07-13 21:27 (UTC-04:00)
daylight saving
0.05″2.5″ ≈ 0.12 s of birth time 8 / 8
V24New York2012-11-06 07:45 (UTC-05:00)
two days after daylight saving ended
0.12″3.98″ ≈ 0.34 s of birth time 8 / 8
V25Toronto1983-04-24 16:00 (UTC-04:00)
daylight saving
0.08″1.17″ ≈ 0.10 s of birth time 8 / 8
V26Toronto2020-12-31 23:59 (UTC-05:00)
last minute of the year
0.14″2.08″ ≈ 0.18 s of birth time 8 / 8
V27Sydney1973-10-20 12:00 (UTC+10:00)
southern hemisphere
0.1″0.84″ ≈ 0.07 s of birth time 8 / 8
V28Sydney2000-09-15 20:00 (UTC+11:00)
daylight saving started early that year
0.05″2.43″ ≈ 0.19 s of birth time 8 / 8

1″ (arc-second) is 1/3600 of a degree. A nakshatra pada is 12,000″ wide, and the lagna moves about 15″ for every second of birth time.

Panchang for 2027

The 1st and 15th of every month in all 14 cities — 336 days of /v1/panchang/basic. Every end-time is compared with the moment the JPL Sun and Moon actually reach that boundary, and every rise and set with the moment JPL puts the top edge of the disc on the horizon.

CheckReferenceComparedMedianLargest
Tithi end-timeMoon − Sun elongation from JPL38 moments0.3 s0.7 s
Karana end-timeMoon − Sun elongation from JPL79 moments0.4 s0.8 s
Nakshatra end-timeJPL Moon, Lahiri ayanamsa39 moments0.2 s0.7 s
Yoga end-timeJPL Sun + Moon, Lahiri ayanamsa41 moments0.2 s0.6 s
sunriseJPL Horizons, upper limb336 events4.4 s8.3 s
sunsetJPL Horizons, upper limb336 events4.7 s8.6 s
moonriseJPL Horizons, upper limb336 events4.4 s10 s
moonsetJPL Horizons, upper limb336 events4.7 s10.3 s

At the JPL sunrise of every one of those days, the tithi, nakshatra and yoga worked out from JPL are the ones the API returned: 336 / 336 tithis, 336 / 336 nakshatras and 336 / 336 yogas.

What you can download

accuracy_lab.pyThe script that made everything below. Python 3.9+, standard library only.26 KB
vectors.jsonThe inputs: 14 cities, 28 birth moments, 24 panchang dates.6 KB
api_responses.jsonlEvery LifeAstroAPI response, unedited, one JSON object per line with its path and query.658 KB
jpl_responses.jsonlEvery NASA JPL Horizons answer, unedited, with the exact query URL.16.5 MB
birth_grahas.csvSeven grahas in 28 charts: API vs JPL longitude, sign, nakshatra and pada.26 KB
birth_lagna.csvLagna and MC in 28 charts: API vs the value from JPL's local sidereal time.5 KB
panchang_elements.csvTithi, karana, nakshatra and yoga end-times: API vs JPL.172 KB
panchang_at_sunrise.csvTithi, nakshatra and yoga in force at sunrise: API vs JPL.61 KB
panchang_riseset.csvSunrise, sunset, moonrise and moonset: API vs JPL.111 KB
summary.jsonThe numbers on this page.4 KB
accuracy-lab.zipAll of the above in one file.1.9 MB

How the reference values are made

  • Grahas: NASA JPL Horizons (DE441) geocentric apparent ecliptic longitude of date. The API's sidereal longitude plus the ayanamsa it reports gives the same quantity, so the check covers exactly what your app receives.
  • Lagna and MC: from the local apparent sidereal time JPL gives for the birth place, with the IAU 2006 obliquity and nutation. JPL turns the civil birth time into Earth-rotation time (UT1); astrology software, this API included, treats the birth time as UT. The two never differ by more than 0.9 s, which is the fraction of a second you see in the table.
  • Tithi and karana: the Moon − Sun elongation from an hourly JPL table for 2027, interpolated. No ayanamsa is involved, so this check is entirely independent of LifeAstroAPI.
  • Nakshatra and yoga: the same JPL positions with the Lahiri ayanamsa from /v1/meta/ayanamsas. An ayanamsa is a convention, not a measurement; Lahiri is the default and the value used is in the downloaded responses.
  • Rise and set: the moment the top edge of the Sun or Moon meets the refracted horizon, the standard civil definition. The few seconds left come from the two atmospheric refraction models.
  • Each end-time is counted once. A tithi that ends at one instant appears in every city that has it that day; the table counts the instant, the CSV lists every city.

Rerun it

The script needs Python 3.9 or newer and nothing else. It saves every response as it goes, so an interrupted run picks up where it stopped without spending credits twice.

export LIFEASTRO_API_KEY=YOUR_API_KEY
python3 accuracy_lab.py --only birth --cities Mumbai          # 40 credits
python3 accuracy_lab.py --only panchang --cities Delhi        # 480 credits
python3 accuracy_lab.py                                       # everything: 7,280 credits

# no key, no network: recompute every comparison from the downloaded responses
unzip accuracy-lab.zip && cd accuracy-lab && python3 accuracy_lab.py --out .

Last run: 2026-11-16, on a local copy of the exact build that serves api.lifeastroapi.com, so it used no credits; spot checks against the live API returned the same values to within floating-point rounding (under 0.000001″).

Try the same calls on your own data.

A new free account's welcome credits cover the whole lab: the birth charts in one day, the panchang a couple of cities a day.