Matching Basic Astro Details
Last updated
Last updated
Align the stars for a prosperous union with our 'Matching Basic Astro Details' API, assessing fundamental astrological aspects for compatibility within the framework of Indian Astrology's Kundali Matching.
POST
https://astroapi-3.divineapi.com/indian-api/v2/matching/basic-astro-details
Returns Matching Basic Astro Details in response
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
{
"success": 1,
"data": {
"p1": {
"full_name": "Rahul Kumar",
"date": "1998-05-24",
"year": "1998",
"month": "05",
"day": "24",
"hour": "14",
"minute": "40",
"gender": "male",
"place": "New Delhi",
"latitude": "28.7041",
"longitude": "77.1025",
"timezone": "5.5",
"sunrise": "1998-05-24 05:26:07",
"sunset": "1998-05-24 19:11:04",
"tithi": "Chaturdashi",
"paksha": "Krishna",
"paya": {
"type": "Gold",
"result": "Average"
},
"sunsign": "Taurus",
"moonsign": "Aries",
"rashi_akshar": "चू, चे, चो, ला, ली, लू, ले, लो, आ",
"chandramasa": "Vaisakh",
"tatva": "Fiery",
"prahar": 3,
"nakshatra": "Bharani",
"vaar": "Sunday",
"varna": "Kshatriya",
"vashya": "Quadruped",
"yoni": "Gaja",
"gana": "Manushya",
"nadi": "Madhya",
"yoga": "Shobhana",
"karana": "Vishti",
"ayanamsha": "23.921046",
"yunja": "Aadi"
},
"p2": {
"full_name": "Simran Kumari",
"date": "1998-05-24",
"year": "1998",
"month": "05",
"day": "24",
"hour": "14",
"minute": "40",
"gender": "female",
"place": "New Delhi",
"latitude": "28.7041",
"longitude": "77.1025",
"timezone": "5.5",
"sunrise": "1998-05-24 05:26:07",
"sunset": "1998-05-24 19:11:04",
"tithi": "Chaturdashi",
"paksha": "Krishna",
"paya": {
"type": "Gold",
"result": "Average"
},
"sunsign": "Taurus",
"moonsign": "Aries",
"rashi_akshar": "चू, चे, चो, ला, ली, लू, ले, लो, आ",
"chandramasa": "Vaisakh",
"tatva": "Fiery",
"prahar": 3,
"nakshatra": "Bharani",
"vaar": "Sunday",
"varna": "Kshatriya",
"vashya": "Quadruped",
"yoni": "Gaja",
"gana": "Manushya",
"nadi": "Madhya",
"yoga": "Shobhana",
"karana": "Vishti",
"ayanamsha": "23.921046",
"yunja": "Aadi"
}
}
}
Take a look at how you might call this method via cURL, NodeJS or JavaScript jQuery AJAX and Python :
curl --location 'https://astroapi-3.divineapi.com/indian-api/v2/matching/basic-astro-details' \
--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"'
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-3.divineapi.com/indian-api/v2/matching/basic-astro-details',
'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);
});
var form = new FormData();
form.append("api_key", "{Your API Key}9");
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-3.divineapi.com/indian-api/v2/matching/basic-astro-details",
"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-3.divineapi.com/indian-api/v2/matching/basic-astro-details"
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)