Planetary Positions
Access planetary positions with Divine API's Kundli API. Provide users with detailed astrological data on the placement of planets in their birth chart based on Vedic astrology.
Last updated
Access planetary positions with Divine API's Kundli API. Provide users with detailed astrological data on the placement of planets in their birth chart based on Vedic astrology.
Last updated
Explore the dynamic dance of planets through our 'Planetary Positions' API, providing real-time insights into the cosmic placements that influence astrological interpretations within the Indian tradition.
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-3.divineapi.com/indian-api/v1/planetary-positions
Returns Planets Positions in response
Authorization*
String
your API Access Token
eg: Bearer {token}
api_key*
String
your API key
full_name*
String
full name, ex: Rahul kumar
day*
Integer
date of birth, eg: 24
month*
Integer
month of birth, eg: 05
year*
Integer
year of birth, eg: 2023
hour*
Integer
hour, eg: 14
min *
Integer
minute, eg: 40
sec*
Integer
second, eg 43
gender*
String
gender, ex: male
place*
String
place, ex: New Delhi
lat*
Float
latitude, eg: 28.7041
lon*
Float
longitude, eg: 77.1025
tzone*
Float
lan
String
{
"success": 1,
"data": {
"date": "2023-05-24",
"time": "14:40:43",
"latitude": "28.7041",
"longitude": "77.1025",
"timezone": "5.5",
"planets": [
{
"name": "Sun",
"name_lan": "Sun",
"full_degree": "38.7863039",
"speed": "0.9613735",
"is_retro": "false",
"is_combusted": "false",
"longitude": "8:47:10",
"sign": "Taurus",
"sign_no": 2,
"rashi_lord": "Venus",
"nakshatra": "Krittika",
"nakshatra_pada": 4,
"nakshatra_no": 3,
"nakshatra_lord": "Sun",
"sub_lord": "Venus",
"awastha": "Vriddha",
"karakamsha": "Maatra",
"house": 9,
"type": "malefic",
"lord_of": "Twelfth House",
"image": "https://astroapi-3.divineapi.com/public/assets/images/planets/Sun.png"
},
{
"name": "Moon",
"name_lan": "Moon",
"full_degree": "93.1197665",
"speed": "12.0106988",
"is_retro": "false",
"is_combusted": "false",
"longitude": "3:7:11",
"sign": "Cancer",
"sign_no": 4,
"rashi_lord": "Moon",
"nakshatra": "Punarvasu",
"nakshatra_pada": 4,
"nakshatra_no": 7,
"nakshatra_lord": "Jupiter",
"sub_lord": "Rahu",
"awastha": "Mrityu",
"karakamsha": "Dara",
"house": 11,
"type": "malefic",
"lord_of": "Eleventh House",
"image": "https://astroapi-3.divineapi.com/public/assets/images/planets/Moon.png"
},
{
"name": "Mercury",
"name_lan": "Mercury",
"full_degree": "14.8454976",
"speed": "0.6655159",
"is_retro": "false",
"is_combusted": "false",
"longitude": "14:50:43",
"sign": "Aries",
"sign_no": 1,
"rashi_lord": "Mars",
"nakshatra": "Bharani",
"nakshatra_pada": 1,
"nakshatra_no": 2,
"nakshatra_lord": "Venus",
"sub_lord": "Venus",
"awastha": "Yuva",
"karakamsha": "Amatya",
"house": 8,
"type": "benefic",
"lord_of": "Tenth,First House",
"image": "https://astroapi-3.divineapi.com/public/assets/images/planets/Mercury.png"
},
{
"name": "Venus",
"name_lan": "Venus",
"full_degree": "83.7212776",
"speed": "1.0290943",
"is_retro": "false",
"is_combusted": "false",
"longitude": "23:43:16",
"sign": "Gemini",
"sign_no": 3,
"rashi_lord": "Mercury",
"nakshatra": "Punarvasu",
"nakshatra_pada": 2,
"nakshatra_no": 7,
"nakshatra_lord": "Jupiter",
"sub_lord": "Saturn",
"awastha": "Vriddha",
"karakamsha": "Atma",
"house": 10,
"type": "benefic",
"lord_of": "Ninth,Second House",
"image": "https://astroapi-3.divineapi.com/public/assets/images/planets/Venus.png"
},
{
"name": "Mars",
"name_lan": "Mars",
"full_degree": "97.9554355",
"speed": "0.5735704",
"is_retro": "false",
"is_combusted": "false",
"longitude": "7:57:19",
"sign": "Cancer",
"sign_no": 4,
"rashi_lord": "Moon",
"nakshatra": "Pushya",
"nakshatra_pada": 2,
"nakshatra_no": 8,
"nakshatra_lord": "Saturn",
"sub_lord": "Ketu",
"awastha": "Vriddha",
"karakamsha": "Putra",
"house": 11,
"type": "malefic",
"lord_of": "Eighth,Third House",
"image": "https://astroapi-3.divineapi.com/public/assets/images/planets/Mars.png"
},
{
"name": "Jupiter",
"name_lan": "Jupiter",
"full_degree": "7.5474710",
"speed": "0.2224227",
"is_retro": "false",
"is_combusted": "false",
"longitude": "7:32:50",
"sign": "Aries",
"sign_no": 1,
"rashi_lord": "Mars",
"nakshatra": "Aswini",
"nakshatra_pada": 3,
"nakshatra_no": 1,
"nakshatra_lord": "Ketu",
"sub_lord": "Rahu",
"awastha": "Kumar",
"karakamsha": "Gnati",
"house": 8,
"type": "neutral",
"lord_of": "Fourth,Seventh House",
"image": "https://astroapi-3.divineapi.com/public/assets/images/planets/Jupiter.png"
},
{
"name": "Saturn",
"name_lan": "Saturn",
"full_degree": "312.5451383",
"speed": "0.0393139",
"is_retro": "false",
"is_combusted": "false",
"longitude": "12:32:42",
"sign": "Aquarius",
"sign_no": 11,
"rashi_lord": "Saturn",
"nakshatra": "Shatabhisha",
"nakshatra_pada": 2,
"nakshatra_no": 24,
"nakshatra_lord": "Rahu",
"sub_lord": "Saturn",
"awastha": "Yuva",
"karakamsha": "Bhratra",
"house": 6,
"type": "benefic",
"lord_of": "Fifth,Sixth House",
"image": "https://astroapi-3.divineapi.com/public/assets/images/planets/Saturn.png"
},
{
"name": "Uranus",
"name_lan": "Uranus",
"full_degree": "25.5927366",
"speed": "0.0567459",
"is_retro": "false",
"is_combusted": "false",
"longitude": "25:35:33",
"sign": "Aries",
"sign_no": 1,
"rashi_lord": "Mars",
"nakshatra": "Bharani",
"nakshatra_pada": 4,
"nakshatra_no": 2,
"nakshatra_lord": "Venus",
"sub_lord": "Mercury",
"awastha": "Mrityu",
"karakamsha": "",
"house": 8,
"type": "",
"lord_of": "",
"image": "https://astroapi-3.divineapi.com/public/assets/images/planets/Uranus.png"
},
{
"name": "Neptune",
"name_lan": "Neptune",
"full_degree": "333.1297162",
"speed": "0.0196194",
"is_retro": "false",
"is_combusted": "false",
"longitude": "3:7:46",
"sign": "Pisces",
"sign_no": 12,
"rashi_lord": "Jupiter",
"nakshatra": "Purva Bhadrapada",
"nakshatra_pada": 4,
"nakshatra_no": 25,
"nakshatra_lord": "Jupiter",
"sub_lord": "Rahu",
"awastha": "Mrityu",
"karakamsha": "",
"house": 7,
"type": "",
"lord_of": "",
"image": "https://astroapi-3.divineapi.com/public/assets/images/planets/Neptune.png"
},
{
"name": "Pluto",
"name_lan": "Pluto",
"full_degree": "276.0654101",
"speed": "-0.0102537",
"is_retro": "true",
"is_combusted": "false",
"longitude": "6:3:55",
"sign": "Capricorn",
"sign_no": 10,
"rashi_lord": "Saturn",
"nakshatra": "Uttara Ashada",
"nakshatra_pada": 3,
"nakshatra_no": 21,
"nakshatra_lord": "Sun",
"sub_lord": "Mercury",
"awastha": "Vriddha",
"karakamsha": "",
"house": 5,
"type": "",
"lord_of": "",
"image": "https://astroapi-3.divineapi.com/public/assets/images/planets/Pluto.png"
},
{
"name": "Rahu",
"name_lan": "Rahu",
"full_degree": "8.4300041",
"speed": "-0.0529920",
"is_retro": "true",
"is_combusted": "false",
"longitude": "8:25:48",
"sign": "Aries",
"sign_no": 1,
"rashi_lord": "Mars",
"nakshatra": "Aswini",
"nakshatra_pada": 3,
"nakshatra_no": 1,
"nakshatra_lord": "Ketu",
"sub_lord": "Jupiter",
"awastha": "Kumar",
"karakamsha": "",
"house": 8,
"type": "",
"lord_of": "",
"image": "https://astroapi-3.divineapi.com/public/assets/images/planets/Rahu.png"
},
{
"name": "Ketu",
"name_lan": "Ketu",
"full_degree": "188.43",
"speed": "-0.0529920",
"is_retro": "true",
"is_combusted": "false",
"longitude": "8:25:48",
"sign": "Libra",
"sign_no": 7,
"rashi_lord": "Venus",
"nakshatra": "Swati",
"nakshatra_pada": 1,
"nakshatra_no": 15,
"nakshatra_lord": "Rahu",
"sub_lord": "Rahu",
"awastha": "Kumar",
"karakamsha": "",
"house": 2,
"type": "",
"lord_of": "",
"image": "https://astroapi-3.divineapi.com/public/assets/images/planets/Ketu.png"
},
{
"name": "Ascendant",
"name_lan": "Ascendant",
"full_degree": "161.5383092",
"speed": "317.7084886",
"is_retro": "false",
"is_combusted": "false",
"longitude": "11:32:17",
"sign": "Virgo",
"sign_no": 6,
"rashi_lord": "Mercury",
"nakshatra": "Hasta",
"nakshatra_pada": 1,
"nakshatra_no": 13,
"nakshatra_lord": "Moon",
"sub_lord": "Mars",
"awastha": "Vriddha",
"karakamsha": "",
"house": 1,
"type": "",
"lord_of": "",
"image": "https://astroapi-3.divineapi.com/public/assets/images/planets/Ascendant.png"
}
]
}
}
Take a look at how you might call this method via cURL, NodeJS or JavaScript jQuery AJAX and Python :
curl --location 'https://astroapi-3.divineapi.com/indian-api/v1/planetary-positions' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'full_name="Test"' \
--form 'day="24"' \
--form 'month="05"' \
--form 'year="2023"' \
--form 'hour="14"' \
--form 'min="40"' \
--form 'sec="43"' \
--form 'gender="male"' \
--form 'place="New Delhi"' \
--form 'lat="28.7041"' \
--form 'lon="77.1025"' \
--form 'tzone="5.5"' \
--form 'lan="en"'
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-3.divineapi.com/indian-api/v1/planetary-positions',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'full_name': 'Test',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi',
'lat': '28.7041',
'lon': '77.1025',
'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("full_name", "Test");
form.append("day", "24");
form.append("month", "05");
form.append("year", "2023");
form.append("hour", "14");
form.append("min", "40");
form.append("sec", "43");
form.append("gender", "male");
form.append("place", "New Delhi");
form.append("lat", "28.7041");
form.append("lon", "77.1025");
form.append("tzone", "5.5");
form.append("lan", "en");
var settings = {
"url": "https://astroapi-3.divineapi.com/indian-api/v1/planetary-positions",
"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-3.divineapi.com/indian-api/v1/planetary-positions"
payload = {'api_key': '{Your API Key}',
'full_name': 'Test',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi',
'lat': '28.7041',
'lon': '77.1025',
'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'.