SEARCH ASTROLOGY API DOCS

Home
Indian Astrology

Match Horoscope/match_horoscope

API Endpoint : match_horoscope
Method : POST
Full URL :
https://json.astrologyapi.com/v1/match_horoscope

Request Data

ParamsData typeDescriptions

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

Response Data

{
	"astro_details": {
		"male_profile": {
			"ascendant": "Scorpio",
			"moon_sign": "Aquarius",
			"moon_sign_lord": "Saturn",
			"naksahtra": "Shatbhisha-2",
			"naksahtra_lord": "Rahu",
			"varna": "Shoodra",
			"vashya": "Maanav",
			"yoni": "Ashwa",
			"gan": "Rakshasa",
			"nadi": "Adi",
			"tithi": "Krishna Navami",
			"yog": "Endra",
			"karan": "Gara",
			"yunja": "Parbhaag",
			"tatva": "Air",
			"name_alphabet": "Saa",
			"paya": "Copper"
		},
		"female_profile": {
			"ascendant": "Scorpio",
			"moon_sign": "Aquarius",
			"moon_sign_lord": "Saturn",
			"naksahtra": "Shatbhisha-2",
			"naksahtra_lord": "Rahu",
			"varna": "Shoodra",
			"vashya": "Maanav",
			"yoni": "Ashwa",
			"gan": "Rakshasa",
			"nadi": "Adi",
			"tithi": "Krishna Navami",
			"yog": "Endra",
			"karan": "Gara",
			"yunja": "Parbhaag",
			"tatva": "Air",
			"name_alphabet": "Saa",
			"paya": "Copper"
		}
	},
	"match_analysis": {
		"match_type": "Dashkoot Matching",
		"match_points": {
			"dina": {
				"description": "",
				"male_koot_attribute": "Shatbhisha",
				"female_koot_attribute": "Shatbhisha",
				"total_points": 3,
				"received_points": 0
			},
			"gana": {
				"description": "",
				"male_koot_attribute": "Rakshasa",
				"female_koot_attribute": "Rakshasa",
				"total_points": 4,
				"received_points": 4
			},
			"yoni": {
				"description": "",
				"male_koot_attribute": "Ashwa",
				"female_koot_attribute": "Ashwa",
				"total_points": 4,
				"received_points": 4
			},
			"rashi": {
				"description": "",
				"male_koot_attribute": "Aquarius",
				"female_koot_attribute": "Aquarius",
				"total_points": 7,
				"received_points": 7
			},
			"rasyadhipati": {
				"description": "",
				"male_koot_attribute": "Saturn",
				"female_koot_attribute": "Saturn",
				"total_points": 5,
				"received_points": 5
			},
			"rajju": {
				"description": "",
				"male_koot_attribute": "Kanth Rajju",
				"female_koot_attribute": "Kanth Rajju",
				"total_points": 5,
				"received_points": 0
			},
			"vedha": {
				"description": "",
				"male_koot_attribute": "Shatbhisha",
				"female_koot_attribute": "Shatbhisha",
				"total_points": 2,
				"received_points": 2
			},
			"vashya": {
				"description": "",
				"male_koot_attribute": "Maanav",
				"female_koot_attribute": "Maanav",
				"total_points": 2,
				"received_points": 2
			},
			"mahendra": {
				"description": "",
				"male_koot_attribute": "Shatbhisha",
				"female_koot_attribute": "Shatbhisha",
				"total_points": 2,
				"received_points": 0
			},
			"streeDeergha": {
				"description": "",
				"male_koot_attribute": "Shatbhisha",
				"female_koot_attribute": "Shatbhisha",
				"total_points": 2,
				"received_points": 2
			},
			"total": {
				"total_points": 36,
				"received_points": 26,
				"minimum_required": 18
			}
		},
		"match_percentage": 72.22
	},
	"manglik": {
		"male_profile": {
			"from_ascendant": {
				"is_manglik": false,
				"mars_house": 9,
				"conclusion": "You do not have any effect of manglik dosha in your horoscope. You are not manglik."
			},
			"from_moon": {
				"is_manglik": false,
				"mars_house": 6,
				"conclusion": "You do not have any effect of manglik dosha in your horoscope. You are not manglik."
			},
			"from_venus": {
				"is_manglik": false,
				"mars_house": 5,
				"conclusion": "You do not have any effect of manglik dosha in your horoscope. You are not manglik."
			}
		},
		"female_profile": {
			"from_ascendant": {
				"is_manglik": false,
				"mars_house": 9,
				"conclusion": "You do not have any effect of manglik dosha in your horoscope. You are not manglik."
			},
			"from_moon": {
				"is_manglik": false,
				"mars_house": 6,
				"conclusion": "You do not have any effect of manglik dosha in your horoscope. You are not manglik."
			},
			"from_venus": {
				"is_manglik": false,
				"mars_house": 5,
				"conclusion": "You do not have any effect of manglik dosha in your horoscope. You are not manglik."
			}
		},
		"conclusion": {
			"match": true,
			"report": "The boy is not a Manglik; nor is the girl a Manglik. Mangal Dosha being absent in either horoscopes, there shall be no ill effect on their marriage. This match is recommended."
		}
	}
}
POST
var api = 'match_horoscope';
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);
});