Planetary Positions
Explore the current celestial layout with Planetary Positions, understanding the astrological influence of each planet.
Use translator for other language:
Update translator: https://divineapi.com/translator
en For English
hi For Hindi
pt For Portuguese
fr For French
es For Spanish
ru For Russian
de For German
nl For Dutch
it For Italian
pl For Polish
ar For Arabic
ja For Japanese
zh For Chinese
tm for Tamil
tl for Telugu
POST
https://astroapi-4.divineapi.com/western-api/v1/planetary-positions
Returns Planets Positions in response
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | your API Access Token eg: Bearer {token} |
Request Body
Name | Type | Description |
---|---|---|
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 | timezone, eg: 5.5 |
lan | String | Language en/hi, default en |
{
"success": 1,
"data": [
{
"name": "Ascendant",
"full_degree": "185.7194444",
"sign": "Libra",
"sign_no": 7,
"longitude": "5:43:10",
"speed": "317.7084886",
"is_retro": "false",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 1,
"element": "Air",
"modality": "Cardinal"
},
{
"name": "Sun",
"full_degree": "62.9674392",
"sign": "Gemini",
"sign_no": 3,
"longitude": "2:58:3",
"speed": "0.9614362",
"is_retro": "false",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 8,
"element": "Air",
"modality": "Mutable"
},
{
"name": "Moon",
"full_degree": "117.3009018",
"sign": "Cancer",
"sign_no": 4,
"longitude": "27:18:3",
"speed": "12.0107618",
"is_retro": "false",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 10,
"element": "Water",
"modality": "Cardinal"
},
{
"name": "Mars",
"full_degree": "122.1365708",
"sign": "Leo",
"sign_no": 5,
"longitude": "2:8:12",
"speed": "0.5736332",
"is_retro": "false",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 10,
"element": "Fire",
"modality": "Fixed"
},
{
"name": "Mercury",
"full_degree": "39.0266329",
"sign": "Taurus",
"sign_no": 2,
"longitude": "9:1:36",
"speed": "0.6655789",
"is_retro": "false",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 8,
"element": "Earth",
"modality": "Fixed"
},
{
"name": "Venus",
"full_degree": "107.9024129",
"sign": "Cancer",
"sign_no": 4,
"longitude": "17:54:9",
"speed": "1.0291571",
"is_retro": "false",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 10,
"element": "Water",
"modality": "Cardinal"
},
{
"name": "Jupiter",
"full_degree": "31.7286063",
"sign": "Taurus",
"sign_no": 2,
"longitude": "1:43:43",
"speed": "0.2224855",
"is_retro": "false",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 7,
"element": "Earth",
"modality": "Fixed"
},
{
"name": "Saturn",
"full_degree": "336.7262736",
"sign": "Pisces",
"sign_no": 12,
"longitude": "6:43:35",
"speed": "0.0393767",
"is_retro": "false",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 5,
"element": "Water",
"modality": "Mutable"
},
{
"name": "North node",
"full_degree": "32.6111394",
"sign": "Taurus",
"sign_no": 2,
"longitude": "2:36:40",
"speed": "-0.0529293",
"is_retro": "true",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 7,
"element": "Earth",
"modality": "Fixed"
},
{
"name": "South node",
"full_degree": 212.6111394,
"sign": "Scorpio",
"sign_no": 8,
"longitude": "2:36:40",
"speed": "-0.0529293",
"is_retro": "true",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 1,
"element": "Water",
"modality": "Fixed"
},
{
"name": "Uranus",
"full_degree": "49.7738719",
"sign": "Taurus",
"sign_no": 2,
"longitude": "19:46:26",
"speed": "0.0568086",
"is_retro": "false",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 8,
"element": "Earth",
"modality": "Fixed"
},
{
"name": "Neptune",
"full_degree": "357.3108515",
"sign": "Pisces",
"sign_no": 12,
"longitude": "27:18:39",
"speed": "0.0196822",
"is_retro": "false",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 6,
"element": "Water",
"modality": "Mutable"
},
{
"name": "Pluto",
"full_degree": "300.2465454",
"sign": "Aquarius",
"sign_no": 11,
"longitude": "0:14:48",
"speed": "-0.0101909",
"is_retro": "true",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 4,
"element": "Air",
"modality": "Fixed"
},
{
"name": "MC",
"full_degree": "95.9631371",
"sign": "Cancer",
"sign_no": 4,
"longitude": "5:57:47",
"speed": "331.8722650",
"is_retro": "false",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 9,
"element": "Water",
"modality": "Cardinal"
},
{
"name": "Chiron",
"full_degree": "18.4950277",
"sign": "Aries",
"sign_no": 1,
"longitude": "18:29:42",
"speed": "0.0453457",
"is_retro": "false",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 7,
"element": "Fire",
"modality": "Cardinal"
},
{
"name": "Part of fortune",
"full_degree": 240.052907,
"sign": "Sagittarius",
"sign_no": 9,
"longitude": "0:3:10",
"speed": "--",
"is_retro": "false",
"is_rising": "false",
"is_setting": "false",
"in_midheaven": "false",
"house": 2,
"element": "Fire",
"modality": "Mutable"
}
]
}
Take a look at how you might call this method via cURL, NodeJS or JavaScript jQuery AJAX and Python :
curl --location 'https://astroapi-4.divineapi.com/western-api/v1/planetary-positions' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'full_name="Rahul Kumar"' \
--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, India"' \
--form 'lat="28.7041"' \
--form 'lon="77.1025"' \
--form 'tzone="5.5"'
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-4.divineapi.com/western-api/v1/planetary-positions',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'full_name': 'Rahul Kumar',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi, India',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5'
}
};
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", "Rahul Kumar");
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, India");
form.append("lat", "28.7041");
form.append("lon", "77.1025");
form.append("tzone", "5.5");
var settings = {
"url": "https://astroapi-4.divineapi.com/western-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-4.divineapi.com/western-api/v1/planetary-positions"
payload = {'api_key': '{Your API Key}',
'full_name': 'Rahul Kumar',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi, India',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Last updated