US :  +1 (888) 261-8481    |    INDIA :  +91 (22) 2635-9680

Astrology API Reference Documentation

Match Making/match_horoscope

API Endpoint

match_horoscope

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

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."
        }
    }
}
			
		
Params Data type Descriptions

m_day

m_month

m_year

m_hour

m_min

m_lat

m_lon

m_tzone

f_day

f_month

f_year

f_hour

f_min

f_lat

f_lon

f_tzone

match_method

manglik_regional_setting

int

int

int

int

int

float

float

float

int

int

int

int

int

float

float

float

string

string

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

eg: "ashtakoot" or "dashkoot"

eg: "all", "north" or "south"

            
                var userId = '';
var apiKey = '';
var data = 'JSON Request Data';
var request = $.ajax({
url: "https://json.astrologyapi.com/v1/"+api,
    method: "POST",
    dataType:'json',
    headers: {
    "authorization": "Basic " + btoa(userId+":"+apiKey),
        "Content-Type":'application/json'
    },
    data:JSON.stringify(data)
});
// Returns A promiss
return( request.then( function(resp){
    return resp;
}, function(err){
    return err;
}));
}
            
		
                
                    require_once 'VedicRishiClient.php';
$userId = "";
$apiKey = "";
$data = array(
    'date' => 25,
    'month' => 12,
    'year' => 1988,
    'hour' => 4,
    'minute' => 0,
    'latitude' => 25.123,
    'longitude' => 82.34,
    'timezone' => 5.5
);
$resourceName = "astro_details";
$vedicRishi = new VedicRishiClient($userId, $apiKey);
$responseData = $vedicRishi->call($resourceName, $data['date'], $data['month'], $data['year'], $data['hour'], $data['minute'], $data['latitude'], $data['longitude'], $data['timezone']);
echo $responseData;


                

             
Download PHP Client