The response provides the Ashtakoota matching score between a male and a female, based on eight different parameters such as Varna, Vashya, Tara, Yoni, Maitri, Gan, Bhakut, and Nadi. It also provides a conclusion stating whether the matching is favorable or not.
Accept-Language: enGuide:These languages are supported by this API. You can use them by passing Accept-Language header with a value of the language code.
| Params | Data type | Descriptions | 
m_day required m_month required m_year required m_hour required m_min required m_lat required m_lon required m_tzone required f_day required f_month required f_year required f_hour required f_min required f_lat required f_lon required f_tzone required  | int int int int int float float float int int int int int float float float  | eg: 10 eg: 5 eg: 1990 eg: 11 eg: 55 eg: 19.2056 eg: 25.2056 eg: 5.5 eg: 10 eg: 5 eg: 1990 eg: 11 eg: 55 eg: 19.2056 eg: 25.2056 eg: 5.5  | 
{
	"varna": {
		"description": "Natural Refinement / Work",
		"male_koot_attribute": "Kshatriya",
		"female_koot_attribute": "Kshatriya",
		"total_points": 1,
		"received_points": 1
	},
	"vashya": {
		"description": "Innate Giving / Attraction towards each other",
		"male_koot_attribute": "Chatuspad",
		"female_koot_attribute": "Chatuspad",
		"total_points": 2,
		"received_points": 2
	},
	"tara": {
		"description": "Comfort - Prosperity - Health",
		"total_points": 3,
		"received_points": 0
	},
	"yoni": {
		"description": "Intimate Physical",
		"total_points": 4,
		"received_points": 0
	},
	"maitri": {
		"description": "Friendship",
		"male_koot_attribute": "Mars",
		"female_koot_attribute": "Mars",
		"total_points": 5,
		"received_points": 5
	},
	"gan": {
		"description": "Temperament",
		"male_koot_attribute": "",
		"female_koot_attribute": "",
		"total_points": 6,
		"received_points": 6
	},
	"bhakut": {
		"description": "Constructive Ability / Constructivism / Society and Couple",
		"male_koot_attribute": "Aries",
		"female_koot_attribute": "Aries",
		"total_points": 7,
		"received_points": 7
	},
	"nadi": {
		"description": "Progeny / Excess",
		"male_koot_attribute": "",
		"female_koot_attribute": "",
		"total_points": 8,
		"received_points": 0
	},
	"total": {
		"total_points": 36,
		"received_points": 21,
		"minimum_required": 18
	},
	"conclusion": {
		"status": true,
		"report": "Ashtakoota Matching between male and female is 21 points out of 36 points. This is a reasonably good score. Moreover, your rashi lords are friendly with each other thereby signifying mental compatibility and mutual affection between the two. Hence, this is a favourable Ashtakoota match."
	}
}var api = 'match_ashtakoot_points';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var language = '<Your Language>' // By default it is set to en
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',
    "Accept-Language": language 
},
    data:JSON.stringify(data)
});
request.then( function(resp){
    console.log(resp);
}, function(err){
    console.log(err);
});