Accuracy Lab
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.
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.
| # | City | Local birth time | Largest graha diff. | Lagna diff. | Sign · nakshatra · pada |
|---|---|---|---|---|---|
| V01 | Delhi | 1952-08-15 06:05 (UTC+05:30) | 0.12″ | 0.05″ ≈ 0.00 s of birth time | 8 / 8 |
| V02 | Delhi | 2001-12-02 23:40 (UTC+05:30) near local midnight | 0.11″ | 1.29″ ≈ 0.10 s of birth time | 8 / 8 |
| V03 | Mumbai | 1990-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 |
| V04 | Mumbai | 1975-06-25 04:15 (UTC+05:30) before sunrise | 0.08″ | 3.24″ ≈ 0.21 s of birth time | 8 / 8 |
| V05 | Kolkata | 1961-03-03 13:20 (UTC+05:30) | 0.18″ | 0.06″ ≈ 0.00 s of birth time | 8 / 8 |
| V06 | Kolkata | 2010-10-10 19:45 (UTC+05:30) | 0.1″ | 1.07″ ≈ 0.07 s of birth time | 8 / 8 |
| V07 | Chennai | 1968-11-21 02:50 (UTC+05:30) | 0.05″ | 0.51″ ≈ 0.03 s of birth time | 8 / 8 |
| V08 | Chennai | 2018-04-14 08:00 (UTC+05:30) | 0.05″ | 1.89″ ≈ 0.12 s of birth time | 8 / 8 |
| V09 | Bengaluru | 1984-07-30 17:25 (UTC+05:30) | 0.05″ | 1.15″ ≈ 0.08 s of birth time | 8 / 8 |
| V10 | Bengaluru | 2022-01-26 11:11 (UTC+05:30) | 0.11″ | 1.98″ ≈ 0.11 s of birth time | 8 / 8 |
| V11 | Hyderabad | 1956-05-09 21:30 (UTC+05:30) | 0.38″ | 0.08″ ≈ 0.01 s of birth time | 8 / 8 |
| V12 | Hyderabad | 2005-09-18 05:55 (UTC+05:30) | 0.42″ | 8.7″ ≈ 0.60 s of birth time | 8 / 8 |
| V13 | Ahmedabad | 1979-02-27 15:05 (UTC+05:30) | 0.23″ | 5.6″ ≈ 0.42 s of birth time | 8 / 8 |
| V14 | Ahmedabad | 2014-08-06 00:35 (UTC+05:30) just after local midnight | 0.23″ | 5.18″ ≈ 0.31 s of birth time | 8 / 8 |
| V15 | Pune | 1971-10-19 09:40 (UTC+05:30) | 0.11″ | 1.28″ ≈ 0.10 s of birth time | 8 / 8 |
| V16 | Pune | 1998-03-22 22:10 (UTC+05:30) | 0.05″ | 0.75″ ≈ 0.06 s of birth time | 8 / 8 |
| V17 | Dubai | 1987-12-24 07:30 (UTC+04:00) | 0.43″ | 8.8″ ≈ 0.62 s of birth time | 8 / 8 |
| V18 | Dubai | 2016-05-01 14:50 (UTC+04:00) | 0.1″ | 1.76″ ≈ 0.13 s of birth time | 8 / 8 |
| V19 | Singapore | 1965-08-09 10:00 (UTC+07:30) historic offset UTC+07:30 | 0.05″ | 0.15″ ≈ 0.01 s of birth time | 8 / 8 |
| V20 | Singapore | 2008-02-29 18:20 (UTC+08:00) leap day | 0.21″ | 5.17″ ≈ 0.34 s of birth time | 8 / 8 |
| V21 | London | 1969-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 |
| V22 | London | 2003-01-07 03:15 (UTC+00:00) winter, UTC+0 | 0.2″ | 2.94″ ≈ 0.28 s of birth time | 8 / 8 |
| V23 | New York | 1977-07-13 21:27 (UTC-04:00) daylight saving | 0.05″ | 2.5″ ≈ 0.12 s of birth time | 8 / 8 |
| V24 | New York | 2012-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 |
| V25 | Toronto | 1983-04-24 16:00 (UTC-04:00) daylight saving | 0.08″ | 1.17″ ≈ 0.10 s of birth time | 8 / 8 |
| V26 | Toronto | 2020-12-31 23:59 (UTC-05:00) last minute of the year | 0.14″ | 2.08″ ≈ 0.18 s of birth time | 8 / 8 |
| V27 | Sydney | 1973-10-20 12:00 (UTC+10:00) southern hemisphere | 0.1″ | 0.84″ ≈ 0.07 s of birth time | 8 / 8 |
| V28 | Sydney | 2000-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.
| Check | Reference | Compared | Median | Largest |
|---|---|---|---|---|
| Tithi end-time | Moon − Sun elongation from JPL | 38 moments | 0.3 s | 0.7 s |
| Karana end-time | Moon − Sun elongation from JPL | 79 moments | 0.4 s | 0.8 s |
| Nakshatra end-time | JPL Moon, Lahiri ayanamsa | 39 moments | 0.2 s | 0.7 s |
| Yoga end-time | JPL Sun + Moon, Lahiri ayanamsa | 41 moments | 0.2 s | 0.6 s |
| sunrise | JPL Horizons, upper limb | 336 events | 4.4 s | 8.3 s |
| sunset | JPL Horizons, upper limb | 336 events | 4.7 s | 8.6 s |
| moonrise | JPL Horizons, upper limb | 336 events | 4.4 s | 10 s |
| moonset | JPL Horizons, upper limb | 336 events | 4.7 s | 10.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.py | The script that made everything below. Python 3.9+, standard library only. | 26 KB |
| vectors.json | The inputs: 14 cities, 28 birth moments, 24 panchang dates. | 6 KB |
| api_responses.jsonl | Every LifeAstroAPI response, unedited, one JSON object per line with its path and query. | 658 KB |
| jpl_responses.jsonl | Every NASA JPL Horizons answer, unedited, with the exact query URL. | 16.5 MB |
| birth_grahas.csv | Seven grahas in 28 charts: API vs JPL longitude, sign, nakshatra and pada. | 26 KB |
| birth_lagna.csv | Lagna and MC in 28 charts: API vs the value from JPL's local sidereal time. | 5 KB |
| panchang_elements.csv | Tithi, karana, nakshatra and yoga end-times: API vs JPL. | 172 KB |
| panchang_at_sunrise.csv | Tithi, nakshatra and yoga in force at sunrise: API vs JPL. | 61 KB |
| panchang_riseset.csv | Sunrise, sunset, moonrise and moonset: API vs JPL. | 111 KB |
| summary.json | The numbers on this page. | 4 KB |
| accuracy-lab.zip | All 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.