← Errors and troubleshooting

Troubleshooting

Why the API's chart differs from another astrology app

When a chart from the API does not match Jagannatha Hora, Astro.com or a client's printed kundli, the calculation is rarely wrong - the two programs are answering slightly different questions. The response tells you which convention it used; compare like with like.

Updated · every example recorded from a real API call

Most likely cause
Zodiac or ayanamsa (planets off by ~24° or a few arc-minutes).
Second most likely
House system (planets agree, houses differ by one).
Where to look
meta in every response names the ayanamsa and house system.
Not the cause
Rounding or ephemeris precision - those differences are far below one arc-minute.

Step 1: read the meta

Each endpoint family reports its convention. From the sample birth (24 Apr 1973, 17:25 IST, Mumbai):

The `meta` block returned by three endpoints
Endpointmeta
/v1/charts/birthayanamsa: "lahiri", house_system: "whole_sign"
/v1/kp/planet-positionayanamsa: "kp_newcomb", house_system: "placidus"
/v1/western/natal/planetszodiac: "tropical", house_system: "placidus"

Set the other program to the same values before comparing anything else. If it cannot be set (many apps hide the option), the table below tells you what difference to expect.

Step 2: match the size of the difference

The Moon for the sample birth, three ways
EndpointMoonLongitude
Western (tropical)Capricorn 20°17′290.28°
Vedic (Lahiri)Sagittarius 26°47′266.79°
KP (KP-Newcomb)Sagittarius 26°53′266.89°
  • ~23-24°, often a whole sign: tropical vs sidereal. Here 290.28° - 266.79° = 23.49°, the Lahiri ayanamsa in 1973 (it is 24.23° today, per GET /v1/ayanamsa). Compare Vedic output only with Vedic software.
  • A few arc-minutes: a different ayanamsa. KP-Newcomb sits 0.10° (about 6′) from Lahiri for this birth. Enough to move a planet across a nakshatra pada or a KP sub-lord near a boundary.
  • About a degree, on Rahu and Ketu only: mean vs true node. Vedic endpoints use the mean node (Rahu at Sagittarius 17°45′ here); the Western endpoint returns TrueNode at 279.88° tropical, which is 1.4° from the mean node converted to tropical.

Step 3: if planets agree but houses do not

Vedic charts use whole-sign houses; KP and most Western software use Placidus. The KP endpoint returns both numbers for every planet, so you can see the effect directly:

Same planets, two house systems ([`/v1/kp/planet-position`](/capabilities/kp/kp-planet-position))
PlanetWhole-sign house (house_from_lagna)Placidus house (placidus_house)
Sun87
Mercury76
Jupiter54
Venus87
Rahu43
Ketu109
Moon, Mars, Saturn4, 5, 94, 5, 9

Six of nine planets change house with identical longitudes. If another app shows the Sun in the 7th and the API says the 8th, neither is wrong. See house systems for what each endpoint uses.

Step 4: if everything is off, check the input

If the ascendant is off by more than a few degrees, or the Moon is in a different nakshatra, the two programs were given different moments or places. Re-check the time-zone offset and coordinates - see why your ascendant is off by a sign.