← API reference

Planets, points and signs: the names and keys the API uses

"Sun" is the easy part. The hard part is that a planet's name arrives as name, planet or body depending on the endpoint family, and the lunar nodes are spelled differently in Vedic and Western responses.

Updated · values generated from the engine

What this catalog is

Vedic endpoints work with nine grahas: the seven visible planets plus the lunar nodes Rahu and Ketu. Western endpoints add the outer planets and Chiron and call the nodes TrueNode and SouthNode. Upagrahas (shadow points such as Gulika and Mandi) come from their own endpoint.

Signs are always the English names, in zodiac order, in every family.

Vedic grahas

The order of data.planets in /v1/charts/birth, /v1/planets and the varga charts.

Vedic planet names in response order
Ordername
1"Sun"
2"Moon"
3"Mars"
4"Mercury"
5"Jupiter"
6"Venus"
7"Saturn"
8"Rahu"
9"Ketu"

Western bodies

The order of data.planets in the Western natal endpoints. The key is planet, not name.

Western body names in response order
Orderplanet
1"Sun"
2"Moon"
3"Mercury"
4"Venus"
5"Mars"
6"Jupiter"
7"Saturn"
8"Uranus"
9"Neptune"
10"Pluto"
11"Chiron"
12"TrueNode"
13"SouthNode"

Upagrahas

Upagraha names in response order
Ordername
1"Kala"
2"Mrityu"
3"Ardhaprahara"
4"Yamaghantaka"
5"Gulika"
6"Mandi"
7"Indrachapa"
8"Upaketu"

Signs

Sign names, index and ruling planet
IndexsignlordStarts at
1"Aries""Mars"0°
2"Taurus""Venus"30°
3"Gemini""Mercury"60°
4"Cancer""Moon"90°
5"Leo""Sun"120°
6"Virgo""Mercury"150°
7"Libra""Venus"180°
8"Scorpio""Mars"210°
9"Sagittarius""Jupiter"240°
10"Capricorn""Saturn"270°
11"Aquarius""Saturn"300°
12"Pisces""Jupiter"330°
  • lord - the classical ruler, as /v1/houses returns it per house. The engine treats Scorpio and Aquarius as having co-lords (Ketu, Rahu) only inside Char dasha.
  • Starts at - ecliptic longitude of 0° of the sign: sidereal on Vedic and KP endpoints, tropical on Western ones.

Parsing notes

  • Three keys for one idea: Vedic, KP and varga responses use name; Western responses use planet; /v1/nadi/amsha uses body (and reports the ascendant as "body": "Ascendant").
  • Nodes: Vedic "Rahu" / "Ketu" use the mean node; Western "TrueNode" / "SouthNode" use the true node. They are different points, so do not map one pair onto the other.
  • The remedies endpoints key their catalog by lowercase ids - "planet": "sun", "sign": "leo", item ids like "sun.ruby". Normalise case before joining with chart output (/v1/remedies/gemstone, /v1/remedies/puja, /v1/remedies/rudraksha).
  • The ascendant is never in planets[]. Vedic charts return it as data.ascendant (sign + degree within the sign); Western houses return ascendant and midheaven with a longitude as well.
  • retrograde is reported for every body, including the Sun and Moon (always false). Rahu's flag comes from the mean node's motion (so it reads true), and Ketu copies Rahu's.
  • Western latitude is ecliptic latitude, not geographic - it is near 0 for the Sun and a few degrees for the Moon.

In a real response

POST /v1/western/natal/planets - Recorded POST /v1/western/natal/planets response, one body: note planet and the tropical meta.zodiac.

json
{
  "data": {
    "planets": [
      {
        "planet": "Sun",
        "longitude": 102.19711469629999,
        "sign": "Cancer",
        "degree_in_sign": 12.197114696299991,
        "retrograde": false,
        "house": 11
      }
    ],
    "meta": {
      "zodiac": "tropical",
      "house_system": "placidus",
      "aspect_set": "ptolemaic",
      "orb_set": "standard",
      "engine_version": "1.2.1"
    }
  }
}

Questions

Which endpoints does this page apply to?
7 endpoints: Planet Positions (Sidereal) (POST /v1/planets); Birth Chart (Kundli) (POST /v1/charts/birth); House Cusps (Bhava) (POST /v1/houses); Western Natal Planets (POST /v1/western/natal/planets); Upagraha Positions (Gulika, Mandi) (POST /v1/upagraha-positions); Nadiamsa (D150) (POST /v1/nadi/amsha); Gemstone Recommendation (POST /v1/remedies/gemstone).