Vedic Astrology Chat API
Add a Vedic astrology question form.
/v1/astrology/calculate- 500 free calls a month
- No card needed
- Failed calculations are free
Request
Make a calculation
Send "operation": "vedic-chat" to POST /v1/astrology/calculate from your server with your API key.
Send these sample parameters under parameters: message. 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":{"message":"What is my birth chart ascendant?"},"operation":"vedic-chat"}'Response
What comes back.
Illustrative response excerpt
{
"data": {
"operation": "vedic-chat",
"result": {
"reply": "Share your birth time and birthplace to calculate your lagna.",
"needs_birth_data": true
}
},
"calculated": true
}Vedic
Build with the result
Display data.result.reply and prompt for birth details when needs_birth_data is true. Example field: data.result.reply.
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 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.
"operation": "vedic-dasha-insights"Vedic Dasha Insights API
Explain a person’s Dasha periods.
