SEARCH ASTROLOGY API DOCS

Match Making/match_horoscope

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

Request Data

ParamsData typeDescriptions

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

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"

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 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)
});

request.then( function(resp){
    console.log(resp);
}, function(err){
    console.log(err);
});