Kundli Matching API
A Kundli matching (Guna Milan) API: the 36-point Ashtakoota score with all eight kootas, Mangal, Nadi and Shani Dosha with cancellation rules, Navamsa compatibility and dasha synchronisation from two birth details.
Make your first request
curl -H "Authorization: Bearer $LIFEASTRO_API_KEY" \
"https://api.lifeastroapi.com/v1/milan/ashtakoota?boy.date=1990-01-15&boy.time=10:30&boy.tz=Asia/Kolkata&girl.date=1992-03-20&girl.time=08:15&girl.tz=Asia/Kolkata"Sample response excerpt
{
"total": 8.5,
"max": 36,
"kootas": {
"bhakoot": {
"score": 0,
"max": 7,
"details": {
"distance": 2,
"dosha": true
}
},
"gana": {
"score": 0,
"max": 6,
"details": {
"boy": "Manushya",
"girl": "Rakshasa"
}
},
"graha_maitri": {
"score": 4,
"max": 5,
"details": {
"boy_lord": "Sun",
"girl_lord": "Mercury",
"relationship": "neutral",
"relationship_girl_to_boy": "friend"
}
},
"nadi": {
"score": 0,
"max": 8,
"details": {
"boy": "Madhya",
"dosha": true,
"girl": "Madhya"
}
},
"tara": {
"score": 1.5,
"max": 3,
"details": {
"cycle_position": 4,
"cycle_position_girl_to_boy": 7,
"distance_nakshatras": 3,
"distance_nakshatras_girl_to_boy": 24
}
},
"varna": {
"score": 1,
"max": 1,
"details": {
"boy": "Kshatriya",
"girl": "Vaishya"
}
},
"vashya": {
"score": 0,
"max": 2,
"details": {
"boy": "Vanchar",
"girl": "Manushya"
}
},
"yoni": {
"score": 2,
"max": 4,
"details": {
"boy": "Mushaka",
"girl": "Vyaghra"
}
}
},
"verdict": "poor"
}Endpoints for your integration
Show a compatibility scorecard
Display the 36-point score and the breakdown for all eight kootas.
/v1/milan/ashtakoota30 credits per call
Show Nadi Dosha exceptions
Get the dosha status and any applicable exceptions.
/v1/milan/nadi-dosha10 credits per call
Offer a branded compatibility report
Fetch report JSON for server-side PDF rendering with the Node SDK.
/v1/reports/match-making750 credits per call
Why developers choose it
- Full 36-point Ashtakoota in one call, with each koota explained.
- Mangal Dosha with classical cancellation rules, Nadi Dosha exceptions, Shani Dosha.
- Navamsa (D9) compatibility and dasha synchronisation beyond the guna score.
What you can build
Endpoints (16)
| Endpoint | What it returns | Credits |
|---|---|---|
| GET /v1/milan/ashtakoota | Full 36-point Ashtakoota with the total score and all 8 kootas in one call. | 30 |
| GET /v1/milan/ashtakoota/total | Total Ashtakoota score only (quick compatibility number). | 10 |
| GET /v1/milan/ashtakoota/{koota} | Single koota score (varna/vashya/tara/yoni/graha-maitri/gana/bhakoot/nadi). Tara and Graha Maitri are scored both ways (boy to girl and girl to boy). | 10 |
| GET /v1/milan/mangal-dosha | Mangal Dosha with cancel rules. | 10 |
| GET /v1/milan/nadi-dosha | Nadi dosha with exceptions. | 10 |
| GET /v1/milan/shani-dosha | Shani (Saturn) dosha check. | 10 |
| GET /v1/milan/navamsa-compat | D9 navamsa compatibility. | 20 |
| GET /v1/milan/dasha-sync | Current Vimshottari Maha Dasha of both partners and whether they overlap. Optional timeline=true adds both partners' MD/AD periods on one aligned timeline; marriage_windows=true tags each span favourable, neutral or avoid. | 20 |
| GET /v1/milan/vivah-phal | Vivah Phal — marriage outcome prediction from both charts. | 10 |
| GET /v1/milan/stree-dirgha | Stree Dirgha — distance between girl's Moon nakshatra and boy's birth star. | 10 |
| GET /v1/milan/mahendra | Mahendra koota — longevity and prosperity check. | 10 |
| GET /v1/milan/longevity | Longevity check from both charts. | 10 |
| GET /v1/milan/santan-yog | Santan Yog — progeny potential check. | 10 |
| GET /v1/milan/dhan-yog | Dhan Yog — financial prosperity compatibility. | 10 |
| GET /v1/milan/overlay | Couple chart overlay as data: each partner's grahas in the other's whole-sign houses, same-sign and same-nakshatra pairs, Moon sign relation (e.g. 2/12) and each lagna lord in the other's chart. | 20 |
| GET /v1/milan/summary | Couple matching data in one call: Ashtakoota with every koota, navamsa compatibility, Mangal dosha of both, 7th-house facts of both (D1, D9, D7), and 10 years of Sade Sati windows for both. include=kundli_facts adds both full charts. | 60 |
Learn more
Frequently asked questions
Is there a free tier?
Yes. Every new account gets 7,500 welcome credits (valid 30 days) plus 1,500 free credits a month with no card required. Paid plans start at ₹999 / $29 a month, and pay-as-you-go is available.
Can AI assistants such as Claude or Cursor call it directly?
Yes. The open-source LifeAstro MCP server exposes every endpoint as a tool for Claude Desktop, Cursor, Codex and other MCP clients that run local servers, using your existing API key.
Which ephemeris and ayanamsa does it use?
Planet positions come from the Swiss Ephemeris. Vedic calculations use the Lahiri (Chitrapaksha) ayanamsa by default; other ayanamsas can be selected per request.