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

Contrasting Aspect Reading

Explore Synastry API's Contrasting Aspect Reading for insightful relationship analysis, spotlighting divergent planetary aspects to navigate and understand differences in astrological compatibility.


Step by Step Contrasting Aspect Reading API Postman Testing Integration

View Full Guide on Support Portal


Use Translator for Other Languages

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: These languages are supported by this API. You can use them by passing "lan" in the body with the value of the language.


House System Codes

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

CodeSystem / Description
PPlacidus
KKoch
RRegiomontanus
CCampanus
AEqual
WEqual, Whole Sign
NWhole Sign, Aries = 1st House
XAxial Rotation System / Meridian
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: The default house system used is P — Placidus.


API Endpoint

POST https://astroapi-4.divineapi.com/western-api/v1/synastry/contrasting-aspect-reading

Returns: Contrasting Aspect Reading in response.


Headers

NameTypeDescription
Authorization*StringYour API Access Token. Example: Bearer {token}

Request Body

NameTypeDescription
api_key*StringYour API key
p1_full_name*StringP1's Full Name, ex: Rahul Kumar
p1_day*IntegerP1's date of birth, eg: 24
p1_month*IntegerP1's month of birth, eg: 05
p1_year*IntegerP1's year of birth, eg: 1998
p1_hour*IntegerP1's hour, eg: 14
p1_min*IntegerP1's minute, eg: 40
p1_sec*IntegerP1's second, eg: 43
p1_gender*StringP1's gender, ex: male
p1_place*StringP1's birth place, ex: New Delhi
p1_lat*FloatP1's latitude, eg: 28.7041
p1_lon*FloatP1's longitude, eg: 77.1025
p1_tzone*FloatP1's timezone, eg: 5.5 Timezone List
p2_full_name*StringP2's Full Name, ex: Simran Kumari
p2_day*IntegerP2's date of birth, eg: 24
p2_month*IntegerP2's month of birth, eg: 05
p2_year*IntegerP2's year of birth, eg: 1998
p2_hour*IntegerP2's hour, eg: 14
p2_min*IntegerP2's minute, eg: 40
p2_sec*IntegerP2's second, eg: 43
p2_gender*StringP2's gender, ex: female
p2_place*StringP2's birth place, ex: New Delhi
p2_lat*FloatP2's latitude, eg: 28.7041
p2_lon*FloatP2's longitude, eg: 77.1025
p2_tzone*FloatP2's timezone, eg: 5.5 Timezone List
lanStringLanguage en/hi, default en
house_systemStringHouse system code, default — P (Placidus)

200: OK Contrasting Aspect Reading Fetched Successfully

The API returns contrasting aspects that highlight polarity and difference between two individuals, offering insights into relationship dynamics and growth opportunities.

{
    "success": 1,
    "data": [
        {
            "p1": {
                "planet": "Sun",
                "full_degree": "63.0091751",
                "sign": "Gemini",
                "sign_no": 3,
                "longitude": "3:0:33"
            },
            "p2": {
                "planet": "Pluto",
                "full_degree": "246.7995404",
                "sign": "Sagittarius",
                "sign_no": 9,
                "longitude": "6:47:58"
            },
            "orb": 3.79,
            "aspect": "Opposition",
            "aspect_type": "Hard",
            "reading": [
                {
                    "title": "Power Struggles",
                    "description": "In this synastry aspect, Rahul Kumar and Simran Kumari may find themselves in a consistent power struggle. Simran Kumari's Pluto opposition to Rahul Kumar's Sun can result in conflict as both individuals vie to maintain control within the relationship."
                },
                {
                    "title": "Transformation Challenges",
                    "description": "Rahul Kumar may be forced to undergo transformations they are not comfortable with due to the intense influence of Simran Kumari’s Pluto. Unless handled delicately, this can bring about upheaval and distress in the relationship."
                },
                {
                    "title": "Intense Attraction",
                    "description": "Despite the challenges, this opposition can also bring about an intensely magnetic attraction between Rahul Kumar and Simran Kumari. This passionate energy might translate to an irresistible but volatile love affair."
                }
            ]
        },
        {
            "p1": {
                "planet": "Moon",
                "full_degree": "43.0997128",
                "sign": "Taurus",
                "sign_no": 2,
                "longitude": "13:5:59"
            },
            "p2": {
                "planet": "Chiron",
                "full_degree": "224.2841493",
                "sign": "Scorpio",
                "sign_no": 8,
                "longitude": "14:17:3"
            },
            "orb": 1.18,
            "aspect": "Opposition",
            "aspect_type": "Hard",
            "reading": [
                {
                    "title": "Emotional Turbulence",
                    "description": "When Rahul Kumar's Moon is in opposition to Simran Kumari's Chiron, it may provoke emotional turbulence. Rahul Kumar's emotional reactions and instincts may often wound or trigger Simran Kumari's deep-seated pains or hidden vulnerabilities."
                },
                {
                    "title": "Shared Healing",
                    "description": "Despite triggering each other's wounds, this aspect also creates potential for shared healing. If both Rahul Kumar and Simran Kumari can acknowledge their emotional issues and work on healing them collectively, their bond could grow much stronger."
                },
                {
                    "title": "Depth of Understanding",
                    "description": "Although challenging, this opposition often leads to increased understanding between Rahul Kumar and Simran Kumari. Rahul Kumar’s emotional intuition coupled with Simran Kumari’s suffering can lead to deeper comprehension and empathy for each other's emotional states."
                }
            ]
        },
        {
            "p1": {
                "planet": "Mercury",
                "full_degree": "44.8177723",
                "sign": "Taurus",
                "sign_no": 2,
                "longitude": "14:49:4"
            },
            "p2": {
                "planet": "Chiron",
                "full_degree": "224.2841493",
                "sign": "Scorpio",
                "sign_no": 8,
                "longitude": "14:17:3"
            },
            "orb": 0.53,
            "aspect": "Opposition",
            "aspect_type": "Hard",
            "reading": [
                {
                    "title": "Communication clashes",
                    "description": "Rahul Kumar's Mercury opposition Simran Kumari's Chiron implies there might be differences how Rahul Kumar communicates and Simran Kumari's perspective towards their own wounds and healing process. This might create tension in communication."
                },
                {
                    "title": "Understanding challenges",
                    "description": "Rahul Kumar might inadvertently trigger Simran Kumari's deepest insecurities or past traumas, as Chiron represents wounds. This may lead to misunderstanding if Rahul Kumar seems unsympathetic or unknowingly harsh in their approach."
                },
                {
                    "title": "Potential growth",
                    "description": "The tension between Rahul Kumar's communication style and Simran Kumari's wounded areas could result in growth for both parties, provided they are willing to work through their issues. Rahul Kumar might learn sensitivity while Simran Kumari may find healing."
                }
            ]
        }
    ]
}

Example Code Implementations

Below are example implementations in various programming environments.


cURL

curl --location 'https://astroapi-4.divineapi.com/western-api/v1/synastry/contrasting-aspect-reading' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'p1_full_name="Rahul Kumar"' \
--form 'p1_day="24"' \
--form 'p1_month="05"' \
--form 'p1_year="1998"' \
--form 'p1_hour="14"' 
--form 'p1_min="40"' \
--form 'p1_sec="43"' \
--form 'p1_gender="male"' \
--form 'p1_place="New Delhi"' \
--form 'p1_lat="28.7041"' \
--form 'p1_lon="77.1025"' \
--form 'p1_tzone="5.5"' \
--form 'p2_full_name="Simran Kumari"' \
--form 'p2_day="24"' \
--form 'p2_month="05"' \
--form 'p2_year="1998"' \
--form 'p2_hour="14"' \
--form 'p2_min="40"' \
--form 'p2_sec="43"' \
--form 'p2_gender="female"' \
--form 'p2_place="New Delhi"' \
--form 'p2_lat="28.7041"' \
--form 'p2_lon="77.1025"' \
--form 'p2_tzone="5.5"' \
--form 'lan="en"'

NodeJS

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-4.divineapi.com/western-api/v1/synastry/contrasting-aspect-reading',
  'headers': {
    'Authorization': 'Bearer {Your Auth Token}
'
  },
  formData: {
    'api_key': '{Your API Key}',
    'p1_full_name': 'Rahul Kumar',
    'p1_day': '24',
    'p1_month': '05',
    'p1_year': '1998',
    'p1_hour': '14',
    'p1_min': '40',
    'p1_sec': '43',
    'p1_gender': 'male',
    'p1_place': 'New Delhi',
    'p1_lat': '28.7041',
    'p1_lon': '77.1025',
    'p1_tzone': '5.5',
    'p2_full_name': 'Simran Kumari',
    'p2_day': '24',
    'p2_month': '05',
    'p2_year': '1998',
    'p2_hour': '14',
    'p2_min': '40',
    'p2_sec': '43',
    'p2_gender': 'female',
    'p2_place': 'New Delhi',
    'p2_lat': '28.7041',
    'p2_lon': '77.1025',
    'p2_tzone': '5.5',
    'lan': 'en'
  }
};
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("p1_full_name", "Rahul Kumar");
form.append("p1_day", "24");
form.append("p1_month", "05");
form.append("p1_year", "1998");
form.append("p1_hour", "14");
form.append("p1_min", "40");
form.append("p1_sec", "43");
form.append("p1_gender", "male");
form.append("p1_place", "New Delhi");
form.append("p1_lat", "28.7041");
form.append("p1_lon", "77.1025");
form.append("p1_tzone", "5.5");
form.append("p2_full_name", "Simran Kumari");
form.append("p2_day", "24");
form.append("p2_month", "05");
form.append("p2_year", "1998");
form.append("p2_hour", "14");
form.append("p2_min", "40");
form.append("p2_sec", "43");
form.append("p2_gender", "female");
form.append("p2_place", "New Delhi");
form.append("p2_lat", "28.7041");
form.append("p2_lon", "77.1025");
form.append("p2_tzone", "5.5");
form.append("lan", "en");

var settings = {
  "url": "https://astroapi-4.divineapi.com/western-api/v1/synastry/contrasting-aspect-reading",
  "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/synastry/contrasting-aspect-reading"

payload = {'api_key': '{Your API Key}',
'p1_full_name': 'Rahul Kumar',
'p1_day': '24',
'p1_month': '05',
'p1_year': '1998',
'p1_hour': '14',
'p1_min': '40',
'p1_sec': '43',
'p1_gender': 'male',
'p1_place': 'New Delhi',
'p1_lat': '28.7041',
'p1_lon': '77.1025',
'p1_tzone': '5.5',
'p2_full_name': 'Simran Kumari',
'p2_day': '24',
'p2_month': '05',
'p2_year': '1998',
'p2_hour': '14',
'p2_min': '40',
'p2_sec': '43',
'p2_gender': 'female',
'p2_place': 'New Delhi',
'p2_lat': '28.7041',
'p2_lon': '77.1025',
'p2_tzone': '5.5',
'lan': 'en'}

headers = {
  'Authorization': 'Bearer {Your Auth Token}'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

Implementation Notes

Always secure your API key in server-side configurations.

Add retry logic for handling network or rate-limit errors (HTTP 429).

Cache responses for faster repeated lookups.