compatibility_id to call this API.
How to get Compatibility ID →
element_harmony, emotional_connection, communication, and romance_attraction, with the palm features used for each interpretation. https://vision.astrologyapi.com/palmistry/compatibility-connectionx-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.
compatibility_idstringrequiredCompatibility ID returned by Get Compatibility ID. Use this instead of the two partner palm IDs.
curl --location 'https://vision.astrologyapi.com/palmistry/compatibility-connection' \
--header 'Content-Type: application/json' \
--header 'x-astrologyapi-key: <YOUR_ACCESS_TOKEN>' \
--data '{
"compatibility_id": "c5d096cc-0ef2-4c0e-a86b-dcef63e550bc"
}'
Runs with sample data — no API key needed
{
"status": true,
"message": "success",
"data": {
"compatibility": {
"overall": {
"score": 84,
"level": "Strong match",
"headline": "A natural partnership built on shared clarity and steady growth"
},
"element_match": {
"partner_1_element": "Air",
"partner_2_element": "Air",
"match_type": "harmonious"
},
"dimensions": {
"element_harmony": {
"title": "Element harmony",
"score": 85,
"level": "Exceptional match"
}
}
}
}
}