← API reference

Nakshatra values in API responses

Twenty-seven names, one fixed order. The API sends the name everywhere and the index in some places; this table gives you both, with the degree span you need to check a longitude yourself.

Updated · values generated from the engine

What this catalog is

A nakshatra is one of 27 equal arcs of the sidereal zodiac, each 13°20′ wide and split into four padas of 3°20′. Any field that places a body by nakshatra - the Moon in /v1/charts/birth, the day's nakshatra in /v1/panchang, every planet and cusp in the KP endpoints - uses the names in this table.

Vedic endpoints measure longitudes with the Lahiri ayanamsa; KP endpoints use KP-Newcomb, which sits a few arc-minutes away, so the same birth can land in a different nakshatra near a boundary.

The 27 nakshatras

Nakshatra index, JSON name, lord and sidereal span
indexnameLordFromToFrom (decimal °)
1"Ashwini""Ketu"0°13°20′0
2"Bharani""Venus"13°20′26°40′13.3333
3"Krittika""Sun"26°40′40°26.6667
4"Rohini""Moon"40°53°20′40
5"Mrigashira""Mars"53°20′66°40′53.3333
6"Ardra""Rahu"66°40′80°66.6667
7"Punarvasu""Jupiter"80°93°20′80
8"Pushya""Saturn"93°20′106°40′93.3333
9"Ashlesha""Mercury"106°40′120°106.6667
10"Magha""Ketu"120°133°20′120
11"Purva Phalguni""Venus"133°20′146°40′133.3333
12"Uttara Phalguni""Sun"146°40′160°146.6667
13"Hasta""Moon"160°173°20′160
14"Chitra""Mars"173°20′186°40′173.3333
15"Swati""Rahu"186°40′200°186.6667
16"Vishakha""Jupiter"200°213°20′200
17"Anuradha""Saturn"213°20′226°40′213.3333
18"Jyeshtha""Mercury"226°40′240°226.6667
19"Mula""Ketu"240°253°20′240
20"Purva Ashadha""Venus"253°20′266°40′253.3333
21"Uttara Ashadha""Sun"266°40′280°266.6667
22"Shravana""Moon"280°293°20′280
23"Dhanishta""Mars"293°20′306°40′293.3333
24"Shatabhisha""Rahu"306°40′320°306.6667
25"Purva Bhadrapada""Jupiter"320°333°20′320
26"Uttara Bhadrapada""Saturn"333°20′346°40′333.3333
27"Revati""Mercury"346°40′360°346.6667
  • index - 1-based (Ashwini = 1, Revati = 27). Sent as nakshatra.index by /v1/panchang and as nakshatra_index by the KP endpoints.
  • Lord - the Vimshottari dasha lord. The nine lords repeat three times in the same order, which is why the Moon's nakshatra fixes the first mahadasha.
  • From / To - sidereal longitude, 0° = 0° Aries. A body is in the nakshatra when start ≤ longitude < end.

Parsing notes

  • Spellings are fixed and not the only ones in use: the API sends "Mula", "Shravana", "Dhanishta", "Shatabhisha". If you join against another data set, join on the index (compute it as floor(longitude / (360 / 27)) + 1), not on the string.
  • Not every response carries the index. /v1/charts/birth and /v1/planets send nakshatra (name) and nakshatra_pada (1-4) only.
  • The pada field is named nakshatra_pada in chart responses but pada in the KP endpoints.
  • Vedic and KP disagree near boundaries by design (different ayanamsa). Do not compare a /v1/charts/birth nakshatra with a /v1/kp/* one and call the difference a bug.
  • In /v1/panchang the nakshatra is the Moon's at local sunrise; it can change before the next sunrise.

In a real response

POST /v1/kp/planet-position - Recorded KP response, one planet: nakshatra_index 20 is Purva Ashadha, whose lord Venus appears as star_lord.

json
{
  "data": {
    "planets": [
      {
        "name": "Moon",
        "longitude": 260.64149876374654,
        "sign": "Sagittarius",
        "nakshatra_index": 20,
        "nakshatra": "Purva Ashadha",
        "pada": 3,
        "star_lord": "Venus"
      }
    ]
  }
}

Questions

Which endpoints does this page apply to?
12 endpoints: Birth Details (Rashi, Nakshatra, Lagna) (POST /v1/birth-details); Birth Chart (Kundli) (POST /v1/charts/birth); Nakshatra Daily Horoscope (POST /v1/horoscope/nakshatra); KP Chart (Krishnamurti Paddhati) (POST /v1/kp/chart); KP Horary (Prashna 1-249) (POST /v1/kp/horary); KP House Cusps and Sub-lords (POST /v1/kp/house-cusps); KP Planet Positions (POST /v1/kp/planet-position); KP Transits (POST /v1/kp/transit); Panchang (POST /v1/panchang); Planet Positions (Sidereal) (POST /v1/planets); Tara Bala (POST /v1/strength/tara-bala); Varshphal Annual Chart (Tajika) (POST /v1/varshphal/year-chart).