Find Panchang
Note: API Key and API Access Token is mandatory. You can get this in to your Divine account > Profile Details page.
Elevate your astrological inquiries with our comprehensive 'Panchang' API, delivering essential Nakshatras, Yoga, Karana, and Tithi data deeply rooted in the fabric of Indian Astrology.
POST
https://astroapi-1.divineapi.com/indian-api/v1/find-panchang
Returns Panchag details in the response.
Headers
Authorization*
String
your API Access Token
eg: Bearer {token}
Request Body
api_key*
String
your API key
day*
Integer
day of panchang, eg: 24
month*
Integer
month of panchang, eg: 05
year*
Integer
year of panchang, eg: 2023
place
String
place, ex: New Delhi
lat*
Float
latitude, eg: 28.6139
lon*
Float
longitude, eg: 77.2090
tzone*
Float
lan
String
Language en/hi, default en
{
"success": 1,
"data": {
"sunrise": "2023-05-24 05:25:56",
"sunset": "2023-05-24 19:10:28",
"nakshatras": {
"zodiac_point": [
{
"sign": "gemini",
"end_time": "2023-05-24 08:26:56"
},
{
"sign": "cancer",
"end_time": ""
}
],
"nakshatra_list": [
{
"nak_name": "Punarvasu",
"end_time": "2023-05-24 15:05:56"
},
{
"nak_name": "Pushya",
"end_time": ""
}
],
"nakshatra_pada": [
{
"nak_name": "Punarvasu",
"lord": "Jupiter",
"deity": "Aditi",
"element": "Jala",
"symbol": "Bow and Quiver",
"syllables": "के, को, हा, ही",
"pursuit": "Artha",
"gana": "Deva",
"direction": "North",
"guna": "Sattavik",
"body_part": "Finger & Nose",
"color": "Green/Silver",
"nak_number": 7,
"nak_pada": 3,
"end_time": "2023-05-24 08:26:56",
"end_time_seprated": {
"day": "24",
"month": "05",
"year": "2023",
"hour": "08",
"minute": "26",
"second": "56"
}
},
{
"nak_name": "Punarvasu",
"lord": "Jupiter",
"deity": "Aditi",
"element": "Jala",
"symbol": "Bow and Quiver",
"syllables": "के, को, हा, ही",
"pursuit": "Artha",
"gana": "Deva",
"direction": "North",
"guna": "Sattavik",
"body_part": "Finger & Nose",
"color": "Green/Silver",
"nak_number": 7,
"nak_pada": 4,
"end_time": "2023-05-24 15:05:56",
"end_time_seprated": {
"day": "24",
"month": "05",
"year": "2023",
"hour": "15",
"minute": "05",
"second": "56"
}
},
{
"nak_name": "Pushya",
"lord": "Saturn",
"deity": "Brihaspati",
"element": "Jala",
"symbol": "Cow's Udder",
"syllables": "हु, हे, हो, ड",
"pursuit": "Dharma",
"gana": "Deva",
"direction": "East",
"guna": "Sattavik",
"body_part": "Mouth, Face, connections to facial expressions, Bones, Joints, Elbows",
"color": "Red/Black",
"nak_number": 8,
"nak_pada": 1,
"end_time": "2023-05-24 21:45:56",
"end_time_seprated": {
"day": "24",
"month": "05",
"year": "2023",
"hour": "21",
"minute": "45",
"second": "56"
}
},
{
"nak_name": "Pushya",
"lord": "Saturn",
"deity": "Brihaspati",
"element": "Jala",
"symbol": "Cow's Udder",
"syllables": "हु, हे, हो, ड",
"pursuit": "Dharma",
"gana": "Deva",
"direction": "East",
"guna": "Sattavik",
"body_part": "Mouth, Face, connections to facial expressions, Bones, Joints, Elbows",
"color": "Red/Black",
"nak_number": 8,
"nak_pada": 2,
"end_time": "2023-05-25 04:27:56",
"end_time_seprated": {
"day": "25",
"month": "05",
"year": "2023",
"hour": "04",
"minute": "27",
"second": "56"
}
},
{
"nak_name": "Pushya",
"lord": "Saturn",
"deity": "Brihaspati",
"element": "Jala",
"symbol": "Cow's Udder",
"syllables": "हु, हे, हो, ड",
"pursuit": "Dharma",
"gana": "Deva",
"direction": "East",
"guna": "Sattavik",
"body_part": "Mouth, Face, connections to facial expressions, Bones, Joints, Elbows",
"color": "Red/Black",
"nak_number": 8,
"nak_pada": 3,
"end_time": ""
}
]
},
"sun_nakshatras": {
"zodiac_point": [
{
"sign": "taurus",
"end_time": ""
}
],
"nakshatra_list": [
{
"nak_name": "Krittika",
"end_time": ""
}
],
"nakshatra_pada": [
{
"nak_name": "Krittika",
"lord": "Sun",
"deity": "Agni",
"element": "Prithvi",
"symbol": "Spear/Knife",
"syllables": "अ, ई, उ, ऐ",
"pursuit": "Kama",
"gana": "Rakshasa",
"direction": "North",
"guna": "Rajasik",
"body_part": "Waist, Hip Joint, Crown of Head",
"color": "White",
"nak_number": 3,
"nak_pada": 4,
"end_time": ""
}
]
},
"tithis": [
{
"start_time": "2023-05-24 00:58:44",
"end_time": "2023-05-25 03:00:44",
"number": "5",
"tithi": "Panchmi",
"paksha": "Shukla",
"type": "Purna",
"deity": "Naga",
"vriddhi": "false",
"kshaya": "false",
"gandanta": {
"start_time": "2023-05-25 02:36:44",
"end_time": "2023-05-25 03:00:44"
},
"paksha_randhra": []
},
{
"start_time": "2023-05-25 03:01:44",
"end_time": "2023-05-26 05:19:44",
"number": "6",
"tithi": "Shasthi",
"paksha": "Shukla",
"type": "Nanda",
"deity": "Kartikeya",
"vriddhi": "false",
"kshaya": "false",
"gandanta": {
"start_time": "2023-05-25 03:01:44",
"end_time": "2023-05-25 03:25:44"
},
"paksha_randhra": {
"start_time": "2023-05-25 03:01:44",
"end_time": "2023-05-25 06:37:44"
}
}
],
"yogas": [
{
"start_time": "2023-05-23 16:46:44",
"end_time": "2023-05-24 17:19:44",
"yoga_number": "10",
"yoga_name": "Ganda",
"visha_ghatis": {
"start_time": "2023-05-23 16:46:44",
"end_time": "2023-05-23 19:10:44"
}
},
{
"start_time": "2023-05-24 17:19:44",
"end_time": "2023-05-25 18:07:44",
"yoga_number": "11",
"yoga_name": "Vridhi",
"visha_ghatis": []
}
],
"karnas": [
{
"start_time": "2023-05-24 00:58:44",
"end_time": "2023-05-24 13:56:44",
"tithi": "Panchmi",
"paksha": "Shukla",
"karana_name": "Bav",
"mobility": "Moveable",
"rulling_planet": "Sun",
"devata": "Indra",
"nature": "Saumya",
"bhadra": [],
"bhadra_niwas": []
},
{
"start_time": "2023-05-24 13:57:44",
"end_time": "2023-05-25 03:00:44",
"tithi": "Panchmi",
"paksha": "Shukla",
"karana_name": "Balav",
"mobility": "Moveable",
"rulling_planet": "Moon",
"devata": "Brahma",
"nature": "Saumya",
"bhadra": [],
"bhadra_niwas": []
},
{
"start_time": "2023-05-25 03:01:44",
"end_time": "2023-05-25 16:08:44",
"tithi": "Shasthi",
"paksha": "Shukla",
"karana_name": "Kaulava",
"mobility": "Moveable",
"rulling_planet": "Mars",
"devata": "Mitra",
"nature": "Saumya",
"bhadra": [],
"bhadra_niwas": []
}
]
}
}
Take a look at how you might call this method via cURL, NodeJS or JavaScript jQuery AJAX and Python
:
curl --location 'https://astroapi-1.divineapi.com/indian-api/v1/find-panchang' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'day="24"' \
--form 'month="05"' \
--form 'year="2023"' \
--form 'Place="New Delhi"' \
--form 'lat="28.6139"' \
--form 'lon="77.2090"' \
--form 'tzone="5.5"' \
--form 'lan="en"'
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-1.divineapi.com/indian-api/v1/find-panchang',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'day': '24',
'month': '05',
'year': '2023',
'Place': 'New Delhi',
'lat': '28.6139',
'lon': '77.2090',
'tzone': '5.5',
'lan': 'en'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
var form = new FormData();
form.append("api_key", "{Your API Key}");
form.append("day", "24");
form.append("month", "05");
form.append("year", "2023");
form.append("Place", "New Delhi");
form.append("lat", "28.6139");
form.append("lon", "77.2090");
form.append("tzone", "5.5");
form.append("lan", "en");
var settings = {
"url": "https://astroapi-1.divineapi.com/indian-api/v1/find-panchang",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer {Your Auth Token}"
},
"processData": false,
"mimeType": "multipart/form-data",
"contentType": false,
"data": form
};
$.ajax(settings).done(function (response) {
console.log(response);
});
import requests
url = "https://astroapi-1.divineapi.com/indian-api/v1/find-panchang"
payload = {'api_key': '{Your API Key}',
'day': '24',
'month': '05',
'year': '2023',
'Place': 'New Delhi',
'lat': '28.6139',
'lon': '77.2090',
'tzone': '5.5',
'lan': 'en'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Last updated