Sign, star, sub, sub-sub
Every KP position resolves to four lords. The sign lord and star (nakshatra) lord are standard. KP then divides each 13°20′ nakshatra into nine subs whose widths follow the Vimshottari years: a lord with y years gets y / 120 of the nakshatra. The first sub belongs to the nakshatra's own lord and the rest follow in Vimshottari order. The sub-sub applies the same rule again inside the sub.
| Lord | Ketu | Venus | Sun | Moon | Mars | Rahu | Jupiter | Saturn | Mercury |
|---|---|---|---|---|---|---|---|---|---|
| Arc-min | 46.67 | 133.33 | 40 | 66.67 | 46.67 | 120 | 106.67 | 126.67 | 113.33 |
Worked: the Moon and the Sun
POST /v1/kp/planet-position puts the sample birth's Moon at 266.8906° (KP-Newcomb). Uttara Ashadha starts at 266.6667° and is ruled by the Sun, so the Moon is 13.44′ in. The first sub is the Sun's own, 40′ wide, so the sub lord is the Sun. Inside that 40′ sub the sub-subs run Sun 2′, Moon 3.33′, Mars 2.33′, Rahu 6′ - cumulative 13.67′ - so the sub-sub lord is Rahu. The response: star_lord: "Sun", sub_lord: "Sun", sub_sub_lord: "Rahu".
The Sun at 10.7721° is 646.3′ into Ashwini (Ketu). Walking the subs from Ketu - Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter - reaches 560′; Saturn's 126.67′ covers the rest, so the sub lord is Saturn, as the API returns.
KP uses the KP-Newcomb ayanamsa, not Lahiri: the KP ascendant here is 169.856° against Lahiri's 169.760°. A tenth of a degree is enough to change a sub (the smallest is 40′ wide, the smallest sub-sub about 2′), so never resolve KP lords from a Lahiri longitude. See ayanamsa.
Cusps and the two house numbers
POST /v1/kp/house-cusps returns 12 Placidus cusps, each resolved the same way. The first three for the sample birth:
| Cusp | Longitude | Sign | Star lord | Sub lord |
|---|---|---|---|---|
| 1 | 169.8564° | Virgo | Moon | Ketu |
| 2 | 199.3503° | Libra | Rahu | Mars |
| 3 | 229.3392° | Scorpio | Mercury | Venus |
Planets carry two house fields: house_from_lagna (whole-sign) and placidus_house (between the KP cusps). They differ when a planet sits in the sign of one house but before its cusp - the Sun here is house_from_lagna: 8 but placidus_house: 7. KP reasoning uses the Placidus house, and so do the significator endpoints.
Significators: four levels, in priority order
POST /v1/kp/planet-significator lists, for each planet, (1) planets in its star, (2) the planet itself, (3) occupants of the houses it owns, (4) its own star lord. POST /v1/kp/house-significator does the same per house, from the cusp lord. Each level is a separate array, so you can keep the priority instead of flattening it. Jupiter, for example, returns level_3_owned_house_occupants: ["Moon", "Sun", "Venus"] - the Placidus occupants of houses 4 and 7, whose cusps fall in Jupiter's signs.
Questions
- How are KP sub-lords derived?
- Each 13°20′ nakshatra is divided into nine subs whose widths follow the Vimshottari years: a lord with
yyears getsy / 120of the nakshatra. The first sub belongs to the nakshatra's own lord. - Which house system and ayanamsa do the KP endpoints use?
- Placidus cusps with the KP-Newcomb ayanamsa.
POST /v1/kp/house-cuspsreturns 12 cusps, each resolved to its sign, star, sub and sub-sub lords.