Vedic Yoga Detection API
Show the yogas detected in a birth chart.
/v1/astrology/calculate- 500 free calls a month
- No card needed
- Failed calculations are free
Request
Make a calculation
Send "operation": "vedic-yogas" to POST /v1/astrology/calculate from your server with your API key.
Send these sample parameters under parameters: year, month, day, hour, minute, lat, lng, tz_str, ayanamsha, house_system, node_type. Use the birth shape shown in the request. For split fields, year/month/day are local calendar integers and hour/minute are local 24-hour time. lat/lng are decimal degrees and tz_str is an IANA time zone or AUTO where shown. Nested datetime and location objects follow the sample. The request uses synthetic inputs where applicable. The sample includes optional settings when relevant.
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
-H "Authorization: Bearer $MANTRILO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"parameters":{"year":1995,"month":6,"day":20,"hour":12,"minute":30,"lat":28.6139,"lng":77.209,"tz_str":"Asia/Kolkata","ayanamsha":"lahiri","house_system":"whole_sign","node_type":"mean"},"operation":"vedic-yogas"}'Response
What comes back.
Illustrative response excerpt
{
"data": {
"operation": "vedic-yogas",
"result": {
"yogas": [],
"summary": {}
}
},
"calculated": true
}Vedic
Build with the result
Render yoga names and descriptions from data.result. Example field: data.result.yogas.
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.
