search

Copy page

Copy page as Markdown for LLMs

View as Markdown

View this page as plain text


Open in ChatGPT

Ask ChatGPT about this page

Open in Claude

Ask Claude about this page

Natal Insights

The Natal Insights API provides a synthesized view of a native’s birth chart by summarizing element distribution, modality (modes) balance, and hemisphere dominance. This is useful for high-level personality overviews, onboarding flows, and compact “about you” astrology sections.


Step by Step Natal Insights API Postman Testing Integration

https://support.divineapi.com/western-astrology-apis/testing-western-api-planetary-positions-api-using-postman


Supported Language Codes

Support Article URL:
https://support.divineapi.com/general-api-support/translating-a-natal-apis-into-a-different-language

CodeLanguage
enEnglish
hiHindi
ptPortuguese
frFrench
deGerman
jaJapanese
trTurkish
ruRussian
itItalian
esSpanish
nlDutch
plPolish

Guide: Pass lan in the request body with one of the above codes to get localized output. Default is en.


House System Codes

House System Codes Support Article URL:
https://support.divineapi.com/western-astrology-apis/how-to-change-the-house-system-code-in-natal-astrology

CodeDescription
PPlacidus
KKoch
RRegiomontanus
CCampanus
AEqual
WEqual, whole sign
NWhole sign, Aries = 1st house
XAxial rotation system / Meridian houses
TPolich/Page ("topocentric")
MMorinus
OPorphyry
BAlcabitius
DEqual / MC
EEqual = A
FCarter poli-equatorial
G36 Gauquelin sectors
HHorizon / Azimuth
ISunshine
iSunshine alternative
LPullen
S-delta
QPullen
S-ratio
SSripati
UKrusinski-Pisa-Goelzer
VEqual Vehlow
YAPC houses

Note: Default house system is P – Placidus.


API Endpoint

POST https://astroapi-4.divineapi.com/western-api/v1/natal-insights

Returns natal insights in response.


Headers

NameTypeDescription
Authorization*StringYour API Access Token, e.g. Bearer {token}

Request Body

NameTypeDescription
api_key*StringYour API key
full_name*StringFull name, e.g. Rahul Kumar
day*IntegerDate of birth, e.g. 24
month*IntegerMonth of birth, e.g. 05
year*IntegerYear of birth, e.g. 2023
hour*IntegerHour, e.g. 14
min*IntegerMinute, e.g. 40
sec*IntegerSecond, e.g. 43
gender*StringGender, e.g. male
place*StringPlace of birth, e.g. New Delhi
lat*FloatLatitude, e.g. 28.7041
lon*FloatLongitude, e.g. 77.1025
tzone*FloatTimezone, e.g. 5.5 (see Timezone List)
lanStringLanguage code, default: en
house_systemStringHouse system code, default: P (Placidus)

Example Response: 200 OK – Natal Insights Fetched Successfully

{
    "success": 1,
    "data": {
        "elements": {
            "elements_data": [
                {
                    "name": "Fire",
                    "percentage": 25
                },
                {
                    "name": "Earth",
                    "percentage": 33.33
                },
                {
                    "name": "Air",
                    "percentage": 8.33
                },
                {
                    "name": "Water",
                    "percentage": 33.33
                }
            ],
            "description": "You’re grounded, dependable, and practical. You like things you can touch, build, and trust. Stability is important to you, and you often find comfort in routines and long-term plans. You value hard work and tend to show your care through consistent actions. People rely on you because you’re steady and responsible. You don’t rush into decisions—you prefer to assess, plan, and then proceed. Sometimes, you may resist change or get caught up in material concerns, but your strength lies in your patience, loyalty, and realism."
        },
        "modes": {
            "modes_data": [
                {
                    "name": "Cardinal",
                    "percentage": 8.33
                },
                {
                    "name": "Fixed",
                    "percentage": 58.33
                },
                {
                    "name": "Mutable",
                    "percentage": 33.33
                }
            ],
            "description": "Since fixed signs dominate your chart, you’re dependable, determined, and deeply rooted in your values. You don’t back down easily, and once you commit to something—or someone—you give it your all. You’re often the anchor in storms, staying steady when others waver. You value loyalty, consistency, and perseverance. Change doesn’t come easily to you, but when it does, it’s on your terms. Others may see you as stubborn or resistant, but your real strength is your staying power. When you decide something matters, you’ll stick with it through thick and thin."
        },
        "hemisphere": {
            "east_west": {
                "dominant": "West",
                "description": "Your western hemisphere is dominant, you’re naturally collaborative, people-oriented, and responsive to your environment. You gain clarity and direction through your relationships and interactions with others. Rather than pushing your own agenda, you often adapt, support, and harmonize, making you great at working in teams or partnerships. You may find your identity through service, cooperation, or shared goals. While you can sometimes struggle with self-assertion, your strength lies in empathy, diplomacy, and understanding that life is better when shared."
            },
            "north_south": {
                "dominant": "South",
                "description": "As you’re Southern-dominant, you’re extroverted, socially engaged, and drawn to public life or collective impact. You feel a strong pull toward the outer world—whether through career, community, or social influence. You often seek meaning through contribution, achievement, or leadership, and your sense of self is tied to how you connect with the world. You may be ambitious, expressive, and eager to be seen or heard. While you might sometimes overlook personal needs, your strength is your ability to uplift and inspire others on a broader scale."
            }
        }
    }
}

Example Code Implementations

Below are example implementations in various programming environments.


cURL

curl --location 'https://astroapi-4.divineapi.com/western-api/v1/natal-insights' \
--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"'

NodeJS

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-4.divineapi.com/western-api/v1/natal-insights',
  '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);
});


JavaScript (jQuery AJAX)

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/natal-insights",
  "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);
});

Python

import requests

url = "https://astroapi-4.divineapi.com/western-api/v1/natal-insights"

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)
rl, headers=headers, data=payload)
print(response.text)