← API reference

Panchang elements: tithi, karana, yoga and vara values

POST /v1/panchang returns five limbs, each as an { index, name } pair. Four of them count from 1. One counts from 0. This page has every value of each.

Updated · values generated from the engine

What this catalog is

The panchang is the five-limbed Hindu almanac: vara (weekday), tithi (lunar day), nakshatra, yoga (the Sun-Moon sum, not a chart yoga) and karana (half a tithi). The response carries each as an object with an index and a name, plus sunrise, sunset, moonrise and moonset.

Nakshatra values are on their own page; the other four are below.

Tithi

Thirty tithis per lunar month. The names repeat across the two fortnights, so index and paksha are what make a tithi unique.

Tithi index, name and paksha
indexnamepaksha
1"Pratipada""Shukla"
2"Dwitiya""Shukla"
3"Tritiya""Shukla"
4"Chaturthi""Shukla"
5"Panchami""Shukla"
6"Shashthi""Shukla"
7"Saptami""Shukla"
8"Ashtami""Shukla"
9"Navami""Shukla"
10"Dashami""Shukla"
11"Ekadashi""Shukla"
12"Dwadashi""Shukla"
13"Trayodashi""Shukla"
14"Chaturdashi""Shukla"
15"Purnima""Shukla"
16"Pratipada""Krishna"
17"Dwitiya""Krishna"
18"Tritiya""Krishna"
19"Chaturthi""Krishna"
20"Panchami""Krishna"
21"Shashthi""Krishna"
22"Saptami""Krishna"
23"Ashtami""Krishna"
24"Navami""Krishna"
25"Dashami""Krishna"
26"Ekadashi""Krishna"
27"Dwadashi""Krishna"
28"Trayodashi""Krishna"
29"Chaturdashi""Krishna"
30"Amavasya""Krishna"

Karana

A karana is half a tithi, so karana.index runs from 1 to 60. Seven movable karanas cycle eight times through slots 2-57; four fixed karanas occupy one slot each around the new moon.

Karana names and the index slots they occupy
nameKindindex valuesSlots
"Bava"movable2, 9, 16, …, 518
"Balava"movable3, 10, 17, …, 528
"Kaulava"movable4, 11, 18, …, 538
"Taitila"movable5, 12, 19, …, 548
"Garaja"movable6, 13, 20, …, 558
"Vanija"movable7, 14, 21, …, 568
"Vishti"movable8, 15, 22, …, 578
"Shakuni"fixed581
"Chatushpada"fixed591
"Naga"fixed601
"Kimstughna"fixed11

Yoga (Sun + Moon)

Panchang yoga index and name
indexname
1"Vishkambha"
2"Priti"
3"Ayushman"
4"Saubhagya"
5"Shobhana"
6"Atiganda"
7"Sukarma"
8"Dhriti"
9"Shoola"
10"Ganda"
11"Vriddhi"
12"Dhruva"
13"Vyaghata"
14"Harshana"
15"Vajra"
16"Siddhi"
17"Vyatipata"
18"Variyana"
19"Parigha"
20"Shiva"
21"Siddha"
22"Sadhya"
23"Shubha"
24"Shukla"
25"Brahma"
26"Mahendra"
27"Vaidhriti"

Vara (weekday)

vara.index is 0-based with Sunday = 0, the same convention as JavaScript's Date.getUTCDay(). The response adds the ruling planet as vara.lord.

Vara index, name and lord
indexnamelord
0"Ravivara""Sun"
1"Somavara""Moon"
2"Mangalavara""Mars"
3"Budhavara""Mercury"
4"Guruvara""Jupiter"
5"Shukravara""Venus"
6"Shanivara""Saturn"

Parsing notes

  • Do not key a lookup table on the karana name alone: "Bava" is eight different slots. Key on karana.index (1-60).
  • vara.index is the only 0-based index in the response. Every other panchang index starts at 1.
  • The panchang yoga names are a different catalog from the chart yogas in /v1/yogas ("Shoola" appears in both with unrelated meanings).
  • tithi carries start and end instants; the other limbs do not. All instants are UTC - for a location east of Greenwich, sunrise on the requested date is often the previous day in UTC ("date": "2026-05-12" with "sunrise": "2026-05-11T23:54:28.000Z" for IST).
  • The request takes date, tz_offset_minutes, lat and lng - no time. Vara, nakshatra, yoga and karana are the ones in force at local sunrise on that date; tithi additionally carries its own start and end.

In a real response

POST /v1/panchang - Recorded POST /v1/panchang response, limbs only: karana index 50 is a Vishti slot, vara index 2 is Tuesday.

json
{
  "data": {
    "date": "2026-05-12",
    "vara": {
      "index": 2,
      "name": "Mangalavara",
      "lord": "Mars"
    },
    "tithi": {
      "index": 25,
      "name": "Dashami",
      "paksha": "Krishna",
      "start": "2026-05-11T09:55:05.000Z",
      "end": "2026-05-12T09:22:56.000Z"
    },
    "nakshatra": {
      "index": 25,
      "name": "Purva Bhadrapada"
    },
    "yoga": {
      "index": 27,
      "name": "Vaidhriti"
    },
    "karana": {
      "index": 50,
      "name": "Vishti"
    }
  }
}

Questions

Which endpoints does this page apply to?
1 endpoint: Panchang (POST /v1/panchang).

In the API

Endpoints that return these values