Marriage Compatibility (Ashtakoota)
Classical 36-point Guna Milan scoring with Mangal, Nadi, and Shani Dosha checks.
Powers matrimonial sites and compatibility quizzes.
What you'll build
- Input form for both partners' birth details
- 36-point Ashtakoota total with per-Koota breakdown (8 factors)
- Mangal Dosha check with cancellation rules
- Nadi Dosha with classical exceptions
- Human-readable verdict: excellent / good / acceptable / reconsider
Build this with AI
Copy the full prompt below, paste it into ChatGPT, Claude, Cursor, or Lovable, and get a working Next.js implementation in minutes. No coding skill required.
Step by step
01Collect both birth details
Collect the local birth date, birth time and time zone for each person. Ashtakoota uses the Moon nakshatra and rashi. If your flow also calls chart-based checks or builds a compatibility report, collect the birth coordinates for both people.
02Call the Ashtakoota endpoint
One endpoint returns the total and the breakdown (Varna, Vashya, Tara, Yoni, Graha Maitri, Gana, Bhakoot, Nadi).
curl "https://api.lifeastroapi.com/v1/milan/ashtakoota?boy.date=1990-01-15&boy.time=14%3A30&boy.tz=Asia%2FKolkata&girl.date=1992-07-20&girl.time=03%3A15&girl.tz=Asia%2FKolkata" \
-H "Authorization: Bearer YOUR_API_KEY"03Run dosha checks in parallel
Mangal, Nadi and Shani Dosha are separate endpoints. Check the reference for each endpoint’s input shape and call the checks your product displays.
04Summarize for non-astrologers
Translate the total + kootas into a simple verdict your user understands: "28.5 / 36 — Excellent match". Show doshas as warnings with cancellation context.
APIs used in this recipe
/v1/milan/ashtakootaFull 36-point compatibility score.
/v1/milan/mangal-doshaMangal dosha with cancellation rules.
/v1/milan/nadi-doshaNadi dosha exceptions.
/v1/milan/navamsa-compatD9 compatibility.
Next, try building
Kundli (Birth Chart) App
Complete Vedic birth chart with divisional charts, Ashtakavarga, and Vimshottari Dasha.
Daily Horoscope Widget
Personalized horoscope cards driven by real-time transit data, not generic sun-sign text.
Ready to try? You get 7,500 welcome credits plus 1,500 free credits every month — no card needed.
Sign up for free