LifeAstroAPILifeAstroAPI
intermediate
~15 minutes with AI 4 APIs

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.

71 lines Structured context With API endpoints

Step by step

01Collect both birth details

Ashtakoota needs date/time/lat/lon for both boy and girl. All 8 Kootas are computed from Moon nakshatra + Rashi.

02Call the Ashtakoota endpoint

One endpoint returns the total and the breakdown (Varna, Vashya, Tara, Yoni, Graha Maitri, Gana, Bhakoot, Nadi).

GET /v1/milan/ashtakoota
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. Run them in parallel for the lowest latency.

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

Next, try building

Ready to try? You get 1,500 free credits — no card needed.

Sign up for free