Panchang, Shad Bala and Vimshottari Dasha APIs
Use a date, local time and location to calculate a Vedic calendar, measure planetary strength or find planetary periods. The three API builders use the same birth record and return structured JSON. Each works without an API key.
Panchang calendar API
A Panchang describes the local Vedic calendar. Send POST /panchang. Use the include array to select one or more of these sections. The default is ["summary"]. Read each section by name inside output.
The daily summary and weekday support 14 label languages. The other sections use English.
| Section | What it returns |
|---|---|
Daily summarysummary | Sunrise, sunset, weekday, lunar month and the four lunar calendar divisions. |
Sunrise and sunsetsunrise_sunset | Local times for sunrise and sunset. |
Tithitithi | The current lunar day and the time it ends. |
Nakshatranakshatra | The Moon’s current sky sector and its start and end times. |
Yogayoga | Calendar divisions based on the combined longitudes of the Sun and Moon. |
Karanakarana | Half-lunar-day periods and their end times. |
Weekdayweekday | The civil weekday and the Vedic weekday, which starts at sunrise. |
Lunar monthlunar_month | The lunar month and its place in the calendar. |
Season (ritu)season | The current season in the six-season calendar. |
Calendar yearyear | Year numbers and names in the Saka and Vikram calendars. |
Solar half-year (ayana)ayana | The current half of the Sun’s annual cycle. |
Planetary hours (hora)hora | The ruling planet and time range for each of the 24 day and night periods. |
Choghadiyachoghadiya | Eight day periods and eight night periods with their traditional names. |
Daily time windowsdaily_periods | The eight traditional time windows, grouped by name. |
Abhijit Muhuratabhijit | The interval around the middle of the daylight period. |
Amrit Kaalamrit_kaal | A time window calculated from the Moon’s current sky sector. |
Brahma Muhuratbrahma_muhurat | A traditional time window before sunrise. |
Rahu Kalamrahu_kalam | The daylight interval assigned to Rahu. |
Yama Gandamyama_gandam | The daylight interval assigned to Yama. |
Gulika Kalamgulika_kalam | The daylight interval assigned to Gulika. |
Dur Muhuratdur_muhurat | One or more traditional intervals that depend on the weekday. |
Varjyamvarjyam | A traditional interval calculated from the Moon’s current sky sector. |
Shad Bala planetary strength API
Shad Bala measures the traditional strength of the seven classical planets. Send POST /shadbala. Set view to summary for totals, breakdown for all six contributions, or component for one measure. The summary is the default. One rupa equals 60 virupas.
| View or component | What it returns |
|---|---|
Summarysummary | Total strength and the percentage of the required strength for each planet. |
Breakdownbreakdown | The six contributions to the total for each planet. |
Position (Sthana Bala)position | Strength from a planet’s position in the zodiac and divisional charts. |
Time (Kaala Bala)time | Strength from time factors at birth. |
Direction (Dig Bala)direction | Strength from a planet’s direction in the birth chart. |
Motion (Cheshta Bala)motion | Strength from a planet’s motion. |
Aspect (Drig Bala)aspect | Strength from the influence of other planets by angle. |
Natural (Naisargika Bala)natural | The fixed strength assigned to each planet. |
Vimshottari Dasha planetary period API
Vimshottari Dasha divides a 120-year cycle into planetary periods. Send POST /dasha. The birth Moon sets the starting period. The default view is major. For at_event, include the event year, month, date, hours, minutes and seconds in event_data. Use the birth record’s UTC offset.
| View | What it returns |
|---|---|
Major periodsmajor | The major planetary periods and their start and end times. |
Major periods and subperiodssubperiods | Each major period divided into nine shorter planetary periods. |
Periods at an eventat_event | The planetary periods active at the specified local event time. |
Example Panchang request
Send this example JSON to POST /panchang. It requests sunrise, sunset and the lunar day for a location in India. The UTC offset is in hours.
{
"include": [
"sunrise_sunset",
"tithi"
],
"year": 2000,
"month": 1,
"date": 1,
"hours": 17,
"minutes": 30,
"seconds": 0,
"latitude": 17.38333,
"longitude": 78.4666,
"timezone": 5.5,
"config": {
"observation_point": "topocentric",
"ayanamsha": "lahiri",
"language": "en"
}
}
Load this example in the playground
For a birth chart or a divisional chart, use the guide to the 20 Vedic charts.