Find Nakshatra
Access Nakshatra details with Divine API's Daily Panchang API. Provide users with accurate birth star (nakshatra) information and characteristics based on date, time, and location.
Last updated
Access Nakshatra details with Divine API's Daily Panchang API. Provide users with accurate birth star (nakshatra) information and characteristics based on date, time, and location.
Last updated
Note: API Key and API Access Token is mandatory. You can get this in to your Divine account > Profile Details page.
Journey through the cosmic tapestry using our 'Nakshatras' API, unraveling profound insights into lunar constellations that shape the essence of Indian Astrology.
Support Article URL -
en For English
hi For Hindi
bn For Bengali
ma For Marathi
tm For Tamil
tl For Telugu
ml For Malayalam
kn For Kannada
Guide: These languages are supported by this API. You can use by passing "lan" in body with a value of the language.
POST https://astroapi-1.divineapi.com/indian-api/v1/find-nakshatra
Returns nakshatra details in response.
Authorization*
String
your API Access Token
eg: Bearer {token}
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
{
"success": 1,
"data": {
"sunrise": "2023-05-24 05:25:56",
"sunset": "2023-05-24 19:10:28",
"nakshatras": {
"nakshatra_list": [
"Punarvasu",
"Pushya"
],
"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": ""
}
]
}
}
}
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-nakshatra' \
--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-nakshatra',
'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-nakshatra",
"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-nakshatra"
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)
timezone, eg: 5.5
Language code as per the above, default is 'en'.