Vedic Moon Sign Compatibility API
Compare two profiles using Moon placements.
/v1/astrology/calculate- 500 free calls a month
- No card needed
- Failed calculations are free
Request
Make a calculation
Send "operation": "vedic-compatibility" to POST /v1/astrology/calculate from your server with your API key.
Send these sample parameters under parameters: person1_moon, person2_moon, language. The request uses synthetic inputs where applicable. The sample includes optional settings when relevant.
"language": "hi" under parameters to get the messages and the sign and nakshatra names in Hindi. Codes, scores and calculated values stay the same as in English.curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
-H "Authorization: Bearer $MANTRILO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"parameters":{"person1_moon":{"label":"Person 1","moon_nakshatra":22,"moon_sign":10,"moon_degree":14.2,"moon_pada":2},"person2_moon":{"label":"Person 2","moon_nakshatra":13,"moon_sign":6,"moon_degree":8.5,"moon_pada":3},"language":"en"},"operation":"vedic-compatibility"}'Response
What comes back.
Illustrative response excerpt
{
"data": {
"operation": "vedic-compatibility",
"result": {
"ashtakoota": {
"score": 25,
"max_score": 36
}
}
},
"calculated": true
}Vedic
Build with the result
Display compatibility scores and factors from data.result. Example field: data.result.ashtakoota.score.
A successful call uses one content request. Sandbox and live requests have separate usage totals. Failed calculations are refunded.
Related Vedic capabilities
Same endpoint, another operation.
Vedic Astrology Chat API
Add a Vedic astrology question form.
"operation": "vedic-natal"Vedic Sidereal Natal Chart API
Build a sidereal natal chart.
"operation": "vedic-full-chart"Full Vedic Chart API
Combine Vedic chart calculations in one request.
"operation": "vedic-kp"Vedic KP Astrology API
Show a Krishnamurti Paddhati chart.
"operation": "vedic-kp-image"Vedic KP Chart Image API
Embed a KP chart image.
"operation": "vedic-dasha"Vedic Vimshottari Dasha API
Display Vimshottari periods for a birth chart.
