https://json.astrologyapi.com/v1/match_percentagex-astrologyapi-keystringrequiredAPI access token used to authenticate requests. Send your access token in this custom header.
Accept-LanguagestringPreferred language for the response content. Supported: English - en, Hindi - hi, Marathi - ma, Bengali - bn, Tamil - ta, Telugu - te, Malayalam - ml, Kannada - kn.
m_dayintrequiredDay of birth, eg: 10
m_monthintrequiredMonth of birth, eg: 5
m_yearintrequiredYear of birth, eg: 1990
m_hourintrequiredHour of birth, eg: 11
m_minintrequiredMinute of birth, eg: 55
m_latfloatrequiredLatitude, eg: 19.2056
m_lonfloatrequiredLongitude, eg: 25.2056
m_tzonefloatrequiredTimezone, eg: 5.5
f_dayintrequiredDay of birth, eg: 10
f_monthintrequiredMonth of birth, eg: 5
f_yearintrequiredYear of birth, eg: 1990
f_hourintrequiredHour of birth, eg: 11
f_minintrequiredMinute of birth, eg: 55
f_latfloatrequiredLatitude, eg: 19.2056
f_lonfloatrequiredLongitude, eg: 25.2056
f_tzonefloatrequiredTimezone, eg: 5.5
curl --location 'https://json.astrologyapi.com/v1/match_percentage' \
--header 'Content-Type: application/json' \
--header 'x-astrologyapi-key: <YOUR_ACCESS_TOKEN>' \
--data '{
"m_day": 10,
"m_month": 5,
"m_year": 1990,
"m_hour": 11,
"m_min": 55,
"m_lat": 19.2056,
"m_lon": 25.2056,
"m_tzone": 5.5,
"f_day": 10,
"f_month": 5,
"f_year": 1990,
"f_hour": 11,
"f_min": 55,
"f_lat": 19.2056,
"f_lon": 25.2056,
"f_tzone": 5.5
}'
Runs with sample data — no API key needed
{
"ashtakoota_percentage": 58,
"manglik_match_percentage": 85,
"rajju_match_percentage": 100,
"vedha_match_percentage": 100,
"match_percentage": 79,
"is_match_good": true
}