Sub Planet Positions
Last updated
Last updated
Explore the dynamic dance of planets through our 'Sub Planet Positions' API, providing real-time insights into the cosmic placements that influence astrological interpretations within the Indian tradition.
POST
https://astroapi-3.divineapi.com/indian-api/v1/sub-planet-positions
Returns Sub Planet Positions in response
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
{
"success": 1,
"data": {
"date": "2023-05-24",
"time": "14:40:43",
"latitude": "28.7041",
"longitude": "77.1025",
"timezone": "5.5",
"planets": [
{
"name": "Dhuma",
"name_lan": "Dhuma",
"full_degree": "172.11964",
"longitude": "22:7:10",
"sign": "vi",
"sign_no": 6,
"sign_name": "Virgo",
"house": 1,
"nakshatra": "Hasta",
"nakshatra_pada": 4,
"nakshatra_no": 13,
"nakshatra_lord": "Moon",
"rashi_lord": "Virgo",
"sub_lord": "Venus",
"sub_sub_lord": "Saturn"
},
{
"name": "Vyatripata",
"name_lan": "Vyatripata",
"full_degree": "187.88036",
"longitude": "7:52:49",
"sign": "li",
"sign_no": 7,
"sign_name": "Libra",
"house": 2,
"nakshatra": "Swati",
"nakshatra_pada": 1,
"nakshatra_no": 15,
"nakshatra_lord": "Rahu",
"rashi_lord": "Libra",
"sub_lord": "Rahu",
"sub_sub_lord": "Ketu"
},
{
"name": "Parivesh",
"name_lan": "Parivesh",
"full_degree": "7",
"longitude": "7:0:0",
"sign": "ar",
"sign_no": 1,
"sign_name": "Aries",
"house": 8,
"nakshatra": "Aswini",
"nakshatra_pada": 3,
"nakshatra_no": 1,
"nakshatra_lord": "Ketu",
"rashi_lord": "Aries",
"sub_lord": "Rahu",
"sub_sub_lord": "Venus"
},
{
"name": "Indrachapa",
"name_lan": "Indrachapa",
"full_degree": "353",
"longitude": "23:0:0",
"sign": "pi",
"sign_no": 12,
"sign_name": "Pisces",
"house": 7,
"nakshatra": "Revati",
"nakshatra_pada": 2,
"nakshatra_no": 27,
"nakshatra_lord": "Mercury",
"rashi_lord": "Pisces",
"sub_lord": "Moon",
"sub_sub_lord": "Mercury"
},
{
"name": "Upaketu",
"name_lan": "Upaketu",
"full_degree": "9",
"longitude": "9:0:0",
"sign": "ar",
"sign_no": 1,
"sign_name": "Aries",
"house": 8,
"nakshatra": "Aswini",
"nakshatra_pada": 3,
"nakshatra_no": 1,
"nakshatra_lord": "Ketu",
"rashi_lord": "Aries",
"sub_lord": "Jupiter",
"sub_sub_lord": "Mars"
},
{
"name": "Gulika",
"name_lan": "Gulika",
"full_degree": "130.19779",
"longitude": "10:11:52",
"sign": "le",
"sign_no": 5,
"sign_name": "Leo",
"house": 12,
"nakshatra": "Magha",
"nakshatra_pada": 4,
"nakshatra_no": 10,
"nakshatra_lord": "Ketu",
"rashi_lord": "Leo",
"sub_lord": "Saturn",
"sub_sub_lord": "Venus"
},
{
"name": "Yamaghantaka",
"name_lan": "Yamaghantaka",
"full_degree": "86.0191",
"longitude": "26:1:9",
"sign": "ge",
"sign_no": 3,
"sign_name": "Gemini",
"house": 10,
"nakshatra": "Punarvasu",
"nakshatra_pada": 2,
"nakshatra_no": 7,
"nakshatra_lord": "Jupiter",
"rashi_lord": "Gemini",
"sub_lord": "Ketu",
"sub_sub_lord": "Moon"
},
{
"name": "Kaala",
"name_lan": "Kaala",
"full_degree": "152.81073",
"longitude": "2:48:39",
"sign": "vi",
"sign_no": 6,
"sign_name": "Virgo",
"house": 1,
"nakshatra": "Uttara Phalguni",
"nakshatra_pada": 2,
"nakshatra_no": 12,
"nakshatra_lord": "Sun",
"rashi_lord": "Virgo",
"sub_lord": "Jupiter",
"sub_sub_lord": "Rahu"
},
{
"name": "Mrityu",
"name_lan": "Mrityu",
"full_degree": "197.79242",
"longitude": "17:47:33",
"sign": "li",
"sign_no": 7,
"sign_name": "Libra",
"house": 2,
"nakshatra": "Swati",
"nakshatra_pada": 4,
"nakshatra_no": 15,
"nakshatra_lord": "Rahu",
"rashi_lord": "Libra",
"sub_lord": "Sun",
"sub_sub_lord": "Saturn"
},
{
"name": "Ardhaprahara",
"name_lan": "Ardhaprahara",
"full_degree": "63.08098",
"longitude": "3:4:52",
"sign": "ge",
"sign_no": 3,
"sign_name": "Gemini",
"house": 10,
"nakshatra": "Mrigashira",
"nakshatra_pada": 3,
"nakshatra_no": 5,
"nakshatra_lord": "Mars",
"rashi_lord": "Gemini",
"sub_lord": "Venus",
"sub_sub_lord": "Sun"
}
]
}
}
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/sub-planet-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/sub-planet-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/sub-planet-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/sub-planet-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)