logo

Complete Panchang API

Panchang also known as Hindu calendar is a technique of time keeping.

Our panchang and related APIs provide a detailed view of the given date.

Be it simple panchang attributes such as Tithi, yog, nakshatra and karan or complex to calculate hindu months, anandadi yoga, durmuhurta and many more auspicious and inauspicious yogas and their timings.

dosha

Detailed Panchang

Integreat the best time to get the work done. The API provides detailed panchang calculations like tithi, karan, and much more about panchang.

image

Chaughadiya Muhurta

Check the auspicious times of the day and night with Chaugadiya Muhurta API. This API helps in planning important events based on auspicious muhurat.

Hora Muhurta

Learn which planet gives the best time to perform aupicious work. The API gives an auspicious time period based on the planet ruling a particular time period.

Panchang Chart

The Panchang Chart API gives an idea of planetary positions at a particular time. With planetary details and positions, it describes the degree of each planet and which nakshartra it belongs to.

image

Tamil Panchang

The Exculsive Tamil Panchang API shows the five attributes of any day. The API also includes Tarabalam, Chandrabalam, and much more.

Personalised Gochar APIs

Get the planetary movement of the natal Moon based on the kundli chart. Calculate Gochar phala based on the personalised Kundli chart with this API.

What the Panchang API gives you

A panchang is the Hindu almanac for one day at one place. It covers the weekday, tithi, nakshatra, yog and karan (half of a lunar day). Each of these ends at its own time, and sunrise moves with the seasons and the city.

Send us a date, a time and a place. We return the panchang for that moment, with end times for each part and the good and bad time windows of the day. You can show a simple daily card or a full almanac page.

  • Five daily parts

    Tithi, nakshatra, yog and karan with their number, name, deity and end time, plus the weekday.

  • Sun and Moon times

    Sunrise, sunset, moonrise and moonset, and a separate Vedic sunrise and sunset.

  • Good and bad windows

    Abhijit muhurta, Rahu kaal, Gulik kaal and Yamghant kaal for the day.

  • Chaughadiya and hora

    The day and night split into Chaughadiya slots such as Amrit, Shubh and Labh, and into planet hours called hora.

  • Lagna table

    Each rising sign, or lagna, of the day with its start and end time.

  • Calendar views

    A monthly panchang, a Tamil panchang with Tamil months, and festival lists for a date.

Panchang endpoints and sample responses

Each call is a POST with day, month, year, hour, min, lat, lon and tzone. Some also have a /sunrise version that returns the panchang for sunrise. The samples below are trimmed from our docs.

Base URL: https://json.astrologyapi.com/v1

POST/advanced_panchang

Full daily panchang

Every part of the day with its end time. It also has the paksha (lunar half), the ritu (season), Abhijit muhurta and Rahu kaal.

1{
2  "day": "Tuesday",
3  "sunrise": "5:10:7",
4  "sunset": "18:54:25",
5  "moonrise": "1:17:21",
6  "tithi": {
7    "details": {
8      "tithi_number": 25,
9      "tithi_name": "Krishna Dashami",
10      "deity": "Dharma"
11    },
12    "end_time": {"hour": 16, "minute": 22, "second": 51}
13  },
14  "paksha": "Krishna-Paksha",
15  "ritu": "Grishm",
16  "abhijit_muhurta": {"start": "11:35", "end": "12:29"},
17  "rahukaal": {"start": "15:28:21", "end": "17:11:23"}
18}
Read the /advanced_panchang reference →
POST/chaughadiya_muhurta

Chaughadiya muhurta

Day and night slots named Labh, Amrit, Shubh, Kaal and more. Show them so users can plan an event around a good slot.

1{
2  "chaughadiya": {
3    "day": [
4      {"time": "5 : 41 : 01 - 4 : 06 : 50", "muhurta": "Labh"},
5      {"time": "4 : 06 : 50 - 2 : 32 : 39", "muhurta": "Amrit"},
6      {"time": "2 : 32 : 39 - 12 : 58 : 27", "muhurta": "Kaal"}
7    ],
8    "night": [
9      {"time": "05 : 07 : 30 - 06 : 41 : 38", "muhurta": "Udveg"},
10      {"time": "06 : 41 : 38 - 08 : 15 : 46", "muhurta": "Shubh"}
11    ]
12  }
13}
Read the /chaughadiya_muhurta reference →
POST/panchang_lagna_table

Lagna table

Every rising sign for the day with its start and end time. It is ready to show as a simple table.

1[
2  {
3    "lagna": "Cancer",
4    "start_time": "27-07-2018 10:43:30",
5    "end_time": "27-07-2018 12:56:46"
6  },
7  {
8    "lagna": "Leo",
9    "start_time": "27-07-2018 12:56:46",
10    "end_time": "27-07-2018 15:04:54"
11  },
12  {
13    "lagna": "Virgo",
14    "start_time": "27-07-2018 15:04:54",
15    "end_time": "27-07-2018 17:11:47"
16  }
17]
Read the /panchang_lagna_table reference →
POST/tamil_panchang

Tamil panchang

Tamil names for tithi and nakshatra, the Tamil month and Rahu kaal. The full response adds dur muhurtha, amrit kaal, varjyam and anandadi yog.

1{
2  "day": "Friday",
3  "tithi": {"details": "Shasti", "end_time": "19:45:55"},
4  "nakshatra": {"details": "Pooram", "end_time": "27:10:51"},
5  "tamil_month": {"month_name": "Aani"},
6  "paksha": "Shukla",
7  "rahu_kaal": {"start": "11:01:26", "end": "12:41:02"}
8}
Read the /tamil_panchang reference →

Who builds with panchang data

More than 3,000+ businesses use AstrologyAPI. Panchang data often sits at the centre of a daily habit.

Calendar and festival apps

Show the tithi and nakshatra on the home screen each day, with festivals for the date.

30+ Panchang APIs for your app →

Daily content teams

Post a panchang card every morning for your readers or followers.

Automate daily horoscope content →

Puja and event planners

Suggest times inside Abhijit muhurta or a good Chaughadiya slot, and keep away from Rahu kaal.

Vedic Astrology API →

Tamil audiences

Serve Tamil users with Tamil months and Tamil names from tamil_panchang and tamil_month_panchang.

Tamil panchang docs →

Panchang API FAQ

What is a panchang?

A panchang is the Hindu almanac. For each day it gives the tithi (lunar day), nakshatra (the star the Moon is in), yog and karan, plus sunrise and sunset. People use it to pick good times for events.

Why do I need to send a place?

Sunrise and sunset change from city to city. Time windows such as Rahu kaal and Chaughadiya depend on them. So the same date can give different times in Delhi and in London. Send lat, lon and tzone for the place you care about.

Can I get a whole month in one call?

Yes. monthly_panchang returns the tithi and nakshatra numbers, sunrise and sunset for every day of a month. tamil_month_panchang does the same with Tamil names and the paksha (lunar half).

Do you return festivals?

Yes. panchang_festival lists the festivals for a date, in English or Hindi. festivals-by-date returns the festivals and events for a date and place, with a count of results.

Which languages can the text come back in?

Most panchang endpoints support English, Hindi, Marathi, Bengali, Tamil, Telugu, Malayalam and Kannada. monthly_panchang, tamil_panchang and panchang_lagna_table return English only.

How do I start?

Open a free account to get your API key and 150 free credits. You do not need a card. Call basic_panchang with your own city to see the shape of the data.

Get started with AstrologyAPI

Create a free account and test every endpoint with free credits. No credit card needed.

TRY BEFORE YOU BUY
NO CREDIT CARD REQUIRED