Composite Friendship
Get composite friendship details with Divine API's Kundli API. Provide users with insights into astrological compatibility based on the friendship between planets in their birth charts.
Uncover intricate social dynamics with our 'Composite Friendship' API, providing insights into the compatibility and interplay of individuals' astrological attributes within the realm of Indian Astrology.
POST https://astroapi-3.divineapi.com/indian-api/v1/composite-friendship
Returns Composite Friendship Table in response
Headers
Authorization*
String
your API Access Token
eg: Bearer {token}
Request Body
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
{
"success": 1,
"data": {
"natural_friendship": {
"Sun": {
"Sun": "-",
"Moon": "Friend",
"Mars": "Friend",
"Mercury": "Neutral",
"Jupiter": "Friend",
"Venus": "Enemy",
"Saturn": "Enemy"
},
"Moon": {
"Sun": "Friend",
"Moon": "-",
"Mars": "Neutral",
"Mercury": "Friend",
"Jupiter": "Neutral",
"Venus": "Neutral",
"Saturn": "Neutral"
},
"Mars": {
"Sun": "Friend",
"Moon": "Friend",
"Mars": "-",
"Mercury": "Enemy",
"Jupiter": "Friend",
"Venus": "Neutral",
"Saturn": "Neutral"
},
"Mercury": {
"Sun": "Friend",
"Moon": "Enemy",
"Mars": "Neutral",
"Mercury": "-",
"Jupiter": "Neutral",
"Venus": "Friend",
"Saturn": "Neutral"
},
"Jupiter": {
"Sun": "Friend",
"Moon": "Friend",
"Mars": "Friend",
"Mercury": "Enemy",
"Jupiter": "-",
"Venus": "Enemy",
"Saturn": "Neutral"
},
"Venus": {
"Sun": "Enemy",
"Moon": "Enemy",
"Mars": "Neutral",
"Mercury": "Friend",
"Jupiter": "Neutral",
"Venus": "-",
"Saturn": "Friend"
},
"Saturn": {
"Sun": "Enemy",
"Moon": "Enemy",
"Mars": "Enemy",
"Mercury": "Friend",
"Jupiter": "Neutral",
"Venus": "Friend",
"Saturn": "-"
}
},
"temporary_friendship": {
"Sun": {
"Sun": "-",
"Moon": "Friend",
"Mercury": "Friend",
"Venus": "Friend",
"Mars": "Friend",
"Jupiter": "Friend",
"Saturn": "Friend"
},
"Moon": {
"Sun": "Friend",
"Moon": "-",
"Mercury": "Friend",
"Venus": "Friend",
"Mars": "Enemy",
"Jupiter": "Friend",
"Saturn": "Enemy"
},
"Mercury": {
"Sun": "Friend",
"Moon": "Friend",
"Mercury": "-",
"Venus": "Friend",
"Mars": "Friend",
"Jupiter": "Enemy",
"Saturn": "Friend"
},
"Venus": {
"Sun": "Friend",
"Moon": "Friend",
"Mercury": "Friend",
"Venus": "-",
"Mars": "Friend",
"Jupiter": "Friend",
"Saturn": "Enemy"
},
"Mars": {
"Sun": "Friend",
"Moon": "Enemy",
"Mercury": "Friend",
"Venus": "Friend",
"Mars": "-",
"Jupiter": "Friend",
"Saturn": "Enemy"
},
"Jupiter": {
"Sun": "Friend",
"Moon": "Friend",
"Mercury": "Enemy",
"Venus": "Friend",
"Mars": "Friend",
"Jupiter": "-",
"Saturn": "Friend"
},
"Saturn": {
"Sun": "Friend",
"Moon": "Enemy",
"Mercury": "Friend",
"Venus": "Enemy",
"Mars": "Enemy",
"Jupiter": "Friend",
"Saturn": "-"
}
},
"five_fold_friendship": {
"Sun": {
"Sun": "-",
"Moon": "Best Friend",
"Mercury": "Friend",
"Venus": "Neutral",
"Mars": "Best Friend",
"Jupiter": "Best Friend",
"Saturn": "Neutral"
},
"Moon": {
"Sun": "Best Friend",
"Moon": "-",
"Mercury": "Best Friend",
"Venus": "Friend",
"Mars": "Enemy",
"Jupiter": "Friend",
"Saturn": "Enemy"
},
"Mercury": {
"Sun": "Best Friend",
"Moon": "Neutral",
"Mercury": "-",
"Venus": "Best Friend",
"Mars": "Friend",
"Jupiter": "Enemy",
"Saturn": "Friend"
},
"Venus": {
"Sun": "Neutral",
"Moon": "Neutral",
"Mercury": "Best Friend",
"Venus": "-",
"Mars": "Friend",
"Jupiter": "Friend",
"Saturn": "Neutral"
},
"Mars": {
"Sun": "Best Friend",
"Moon": "Neutral",
"Mercury": "Neutral",
"Venus": "Friend",
"Mars": "-",
"Jupiter": "Best Friend",
"Saturn": "Enemy"
},
"Jupiter": {
"Sun": "Best Friend",
"Moon": "Best Friend",
"Mercury": "Bitter Enemy",
"Venus": "Neutral",
"Mars": "Best Friend",
"Jupiter": "-",
"Saturn": "Friend"
},
"Saturn": {
"Sun": "Neutral",
"Moon": "Bitter Enemy",
"Mercury": "Best Friend",
"Venus": "Neutral",
"Mars": "Bitter Enemy",
"Jupiter": "Friend",
"Saturn": "-"
}
}
}
}
Take a look at how you might call this method via cURL, NodeJS or JavaScript jQuery AJAX and Python :
curl -X POST \
https://astroapi-3.divineapi.com/indian-api/v1/composite-friendship \
-H 'authorization: Bearer {Your API Access Token}' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-F api_key={Your API Key}
-F full_name='Rahul Kumar' \
-F place='New Delhi, India' \
-F gender='male' \
-F day=24 \
-F month=05 \
-F year=2023 \
-F hour=14 \
-F min=40 \
-F sec=43 \
-F lat=28.7041 \
-F lon=77.1025 \
-F tzone=5.5 \
Last updated