Vedic Birth Chart API
Build a Lahiri birth chart with optional Dasha periods.
/v1/astrology/calculate- 500 free calls a month
- No card needed
- Failed calculations are free
Request
Make a calculation
Send "operation": "chart" to POST /v1/astrology/calculate from your server with your API key.
Provide birth with an ISO 8601 datetime including an offset and seconds set to 00, latitude/longitude in decimal degrees, and an IANA timezone matching the offset. Optional divisions are 1 and/or 9. If dashaLevels is greater than zero, include referenceDate as YYYY-MM-DD.
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
-H "Authorization: Bearer $MANTRILO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"birth":{"datetime":"1995-06-20T12:30:00+05:30","latitude":28.6139,"longitude":77.209,"timezone":"Asia/Kolkata"},"divisions":[1,9],"dashaLevels":1,"referenceDate":"2026-11-12","operation":"chart"}'Response
What comes back.
Verified synthetic D1/D9 and Vimshottari Dasha response excerpt
{
"data": {
"operation": "chart",
"engineVersion": "mantrilo-vedic-1",
"timezone": "Asia/Kolkata",
"ayanamsa": "lahiri",
"houseSystem": "whole_sign",
"nodeType": "mean",
"charts": [
{
"division": 1,
"ascendant": {
"rashi": {
"number": 6,
"name": "Virgo"
},
"house": 1,
"siderealLongitudeDegrees": 156.4105,
"degreesWithinRashi": null,
"retrograde": null,
"nakshatra": {
"number": 12,
"name": "Uttara Phalguni",
"pada": 3,
"lord": "Sun"
}
},
"planets": [
{
"body": "Sun",
"rashi": {
"number": 3,
"name": "Gemini"
},
"house": 10,
"siderealLongitudeDegrees": 64.7152,
"degreesWithinRashi": 4.7152,
"retrograde": false,
"nakshatra": {
"number": 5,
"name": "Mrigashira",
"pada": 4,
"lord": "Mars"
}
},
{
"body": "Moon",
"rashi": {
"number": 12,
"name": "Pisces"
},
"house": 7,
"siderealLongitudeDegrees": 339.132,
"degreesWithinRashi": 9.132,
"retrograde": false,
"nakshatra": {
"number": 26,
"name": "Uttara Bhadrapada",
"pada": 2,
"lord": "Saturn"
}
}
],
"houses": [
{
"number": 1,
"rashi": {
"number": 6,
"name": "Virgo"
}
}
]
},
{
"division": 9,
"ascendant": {
"rashi": {
"number": 11,
"name": "Aquarius"
},
"house": 1,
"siderealLongitudeDegrees": null,
"degreesWithinRashi": null,
"retrograde": null,
"nakshatra": null
},
"planets": [
{
"body": "Sun",
"rashi": {
"number": 8,
"name": "Scorpio"
},
"house": 10,
"siderealLongitudeDegrees": null,
"degreesWithinRashi": null,
"retrograde": null,
"nakshatra": null
},
{
"body": "Moon",
"rashi": {
"number": 6,
"name": "Virgo"
},
"house": 8,
"siderealLongitudeDegrees": null,
"degreesWithinRashi": null,
"retrograde": null,
"nakshatra": null
}
],
"houses": [
{
"number": 1,
"rashi": {
"number": 11,
"name": "Aquarius"
}
}
]
}
],
"vimshottariDasha": {
"referenceDate": "2026-11-12",
"birthBalance": {
"lord": "Saturn",
"end": "2006-03-17",
"remainingYears": 10.7406
},
"activePeriods": [
{
"level": "Mahadasha",
"lord": "Ketu",
"start": "2023-03-17",
"end": "2030-03-17",
"durationYears": 7
}
],
"timeline": [
{
"level": "Mahadasha",
"lord": "Saturn",
"start": "1995-06-20",
"end": "2006-03-17",
"durationYears": 10.74
}
]
}
},
"calculated": true
}Core
Build with the result
Use data.charts for divisions, ascendant, planets and houses. Show data.vimshottariDasha when requested.
A successful call uses one content request. Sandbox and live requests have separate usage totals. Failed calculations are refunded.
Related Core capabilities
Same endpoint, another operation.
Planetary Positions API
Show the planets at a specific instant.
"operation": "panchang"Instant Panchang API
Show Panchang elements at a specific instant.
"operation": "daily-panchang"Daily Panchang API
Build a local daily Panchang calendar.
"operation": "match"Guna Milan API
Compare two birth profiles in a compatibility view.
"operation": "chart-image"Vedic Chart Image API
Show a North, South or East Indian chart in an app.
"operation": "places"Find a Place API
Let a user select a birthplace and time zone.
