https://json.astrologyapi.com/v1/zodiac_compatibility/:zodiacName/:partnerZodiacNamex-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.
zodiacNamestringrequiredZodiac Name , eg: aries,taurus
ariestaurusgeminicancerleovirgolibrascorpiosagittariuscapricornaquariuspiscespartnerZodiacNamestringrequiredPartner Zodiac Name , eg: aries,taurus
ariestaurusgeminicancerleovirgolibrascorpiosagittariuscapricornaquariuspiscesThis endpoint takes no body parameters.
curl --location 'https://json.astrologyapi.com/v1/zodiac_compatibility/aries/aries' \
--header 'Content-Type: application/json' \
--header 'x-astrologyapi-key: <YOUR_ACCESS_TOKEN>' \
--data '{}'
Runs with sample data — no API key needed
{
"your_sign": "Aries",
"your_partner_sign": "Aries",
"compatibility_report": "Aries need independence , freedom and excitement. They will easily understand their partner’s similar needs. Their partnership can be extremely powerful if they resist the urge to compete with each other. Two Aries will have a fun filled relationship, they will appreciate each other's spontaneity and will never be bored. Their relationship is a passionate one and indeed highly compatible.",
"compatibility_percentage": 75
}