This API provides the dashakoot points and their attributes for a couple's horoscope match. The response includes the total points, received points, and minimum required points for each of the ten koots (dina, gana, yoni, rashi, rasyadhipati, rajju, vedha, vashya, mahendra, and streeDeergha).
Params | Data type | Descriptions |
day required month required year required hour required min required lat required lon required tzone required | int int int int int float float float | date of birth, eg: 10 month of birth, eg: 5 year of birth, eg: 1990 hour, eg: 19 minute, eg: 55 latitude, eg: 19.2056 longitude, eg: 25.2056 timezone, eg: 5.5 |
{
"dina": {
"description": "",
"male_koot_attribute": "Hast",
"female_koot_attribute": "Krittika",
"total_points": 3,
"received_points": 3
},
"gana": {
"description": "",
"male_koot_attribute": "Dev",
"female_koot_attribute": "Rakshasa",
"total_points": 4,
"received_points": 0
},
"yoni": {
"description": "",
"male_koot_attribute": "Mahisha",
"female_koot_attribute": "Mesha",
"total_points": 4,
"received_points": 3
},
"rashi": {
"description": "",
"male_koot_attribute": "Virgo",
"female_koot_attribute": "Taurus",
"total_points": 7,
"received_points": 0
},
"rasyadhipati": {
"description": "",
"male_koot_attribute": "Mercury",
"female_koot_attribute": "Venus",
"total_points": 5,
"received_points": 5
},
"rajju": {
"description": "",
"male_koot_attribute": "-",
"female_koot_attribute": "-",
"total_points": 5,
"received_points": 5
},
"vedha": {
"description": "",
"male_koot_attribute": "Hast",
"female_koot_attribute": "Krittika",
"total_points": 2,
"received_points": 2
},
"vashya": {
"description": "",
"male_koot_attribute": "Maanav",
"female_koot_attribute": "Chatuspad",
"total_points": 2,
"received_points": 1
},
"mahendra": {
"description": "",
"male_koot_attribute": "Hast",
"female_koot_attribute": "Krittika",
"total_points": 2,
"received_points": 0
},
"streeDeergha": {
"description": "",
"male_koot_attribute": "Hast",
"female_koot_attribute": "Krittika",
"total_points": 2,
"received_points": 0
},
"total": {
"total_points": 36,
"received_points": 19,
"minimum_required": 18
}
}
var api = 'match_dashakoot_points';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var data = {
m_day: 6,
m_month: 1,
m_year: 2000,
m_hour: 7,
m_min: 45,
m_lat: 19.132,
m_lon: 72.342,
m_tzone: 5.5,
f_day: 6,
f_month: 1,
f_year: 2000,
f_hour: 7,
f_min: 45,
f_lat: 19.132,
f_lon: 72.342,
f_tzone: 5.5,
};
var auth = "Basic " + new Buffer(userId + ":" + apiKey).toString("base64");
var request = $.ajax({
url: "https://json.astrologyapi.com/v1/"+api,
method: "POST",
dataType:'json',
headers: {
"authorization": auth,
"Content-Type":'application/json'
},
data:JSON.stringify(data)
});
request.then( function(resp){
console.log(resp);
}, function(err){
console.log(err);
});