API documentation

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.

SectionWhat it returns
Daily summary
summary
Sunrise, sunset, weekday, lunar month and the four lunar calendar divisions.
Sunrise and sunset
sunrise_sunset
Local times for sunrise and sunset.
Tithi
tithi
The current lunar day and the time it ends.
Nakshatra
nakshatra
The Moon’s current sky sector and its start and end times.
Yoga
yoga
Calendar divisions based on the combined longitudes of the Sun and Moon.
Karana
karana
Half-lunar-day periods and their end times.
Weekday
weekday
The civil weekday and the Vedic weekday, which starts at sunrise.
Lunar month
lunar_month
The lunar month and its place in the calendar.
Season (ritu)
season
The current season in the six-season calendar.
Calendar year
year
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.
Choghadiya
choghadiya
Eight day periods and eight night periods with their traditional names.
Daily time windows
daily_periods
The eight traditional time windows, grouped by name.
Abhijit Muhurat
abhijit
The interval around the middle of the daylight period.
Amrit Kaal
amrit_kaal
A time window calculated from the Moon’s current sky sector.
Brahma Muhurat
brahma_muhurat
A traditional time window before sunrise.
Rahu Kalam
rahu_kalam
The daylight interval assigned to Rahu.
Yama Gandam
yama_gandam
The daylight interval assigned to Yama.
Gulika Kalam
gulika_kalam
The daylight interval assigned to Gulika.
Dur Muhurat
dur_muhurat
One or more traditional intervals that depend on the weekday.
Varjyam
varjyam
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 componentWhat it returns
Summary
summary
Total strength and the percentage of the required strength for each planet.
Breakdown
breakdown
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.

ViewWhat it returns
Major periods
major
The major planetary periods and their start and end times.
Major periods and subperiods
subperiods
Each major period divided into nine shorter planetary periods.
Periods at an event
at_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.

Get API updates

Get occasional emails about new endpoints, API changes, and new features.

Email privacy