Planetary Positions
Explore the current celestial layout with Planetary Positions, understanding the astrological influence of each planet.
Supported Language Codes:
Support Article URL - https://support.divineapi.com/article/translating-a-natal-apis-into-a-different-language
en For English
hi For Hindi
pt For Portuguese
fr For French
de For German
ja For Japanese
tr For turkish
ru For Russian
it For Italian
es For Spanish
nl For Dutch
pl For Polish
Guide: These languages are supported by this API. You can use by passing "lan" in body with a value of the language.
House system codes:
House System Codes Support Article URL - https://support.divineapi.com/article/how-to-change-the-house-system-code-in-natal-astrology
P: Placidus
K: Koch
R: Regiomontanus
C: Campanus
A: equal
W: equal, whole sign
N: Whole sign, Aries = 1st house
X: axial rotation system/ Meridian houses
T: Polich/Page ("topocentric")
M: Morinus
O: Porphyry
B: Alcabitius
D: equal / MC
E: equal = A
F: Carter poli-equatorial
G: 36 Gauquelin sectors
H: horizon / azimuth
I: Sunshine
i: Sunshine alternative
L: Pullen
S-delta
Q: Pullen
S-ratio
S: Sripati
U: Krusinski-Pisa-Goelzer
V: equal Vehlow
Y: APC houses
Note: The default house system used is P - Placidus
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 Timezone List |
lan | String | Language en/hi, default en |
house_system | String | House system code, default - P (Placidus) |
{
"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"'
--form 'lan="en"' \
--form 'house_system="P"'
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'
'lan': 'en',
'house_system': 'P'
}
};
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");
form.append("lan", "en");
form.append("house_system", "P");
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'
'lan': 'en',
'house_system': 'P'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Last updated