LifeAstroAPILifeAstroAPI

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

GET /v1/milan/ashtakoota

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/ashtakoota

30 credits per call

Show Nadi Dosha exceptions

Get the dosha status and any applicable exceptions.

/v1/milan/nadi-dosha

10 credits per call

Offer a branded compatibility report

Fetch report JSON for server-side PDF rendering with the Node SDK.

/v1/reports/match-making

750 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

Matrimony and dating portalsMarriage compatibility reportsAstrologer tools

Endpoints (16)

EndpointWhat it returnsCredits
GET /v1/milan/ashtakootaFull 36-point Ashtakoota with the total score and all 8 kootas in one call.30
GET /v1/milan/ashtakoota/totalTotal 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-doshaMangal Dosha with cancel rules.10
GET /v1/milan/nadi-doshaNadi dosha with exceptions.10
GET /v1/milan/shani-doshaShani (Saturn) dosha check.10
GET /v1/milan/navamsa-compatD9 navamsa compatibility.20
GET /v1/milan/dasha-syncCurrent 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-phalVivah Phal — marriage outcome prediction from both charts.10
GET /v1/milan/stree-dirghaStree Dirgha — distance between girl's Moon nakshatra and boy's birth star.10
GET /v1/milan/mahendraMahendra koota — longevity and prosperity check.10
GET /v1/milan/longevityLongevity check from both charts.10
GET /v1/milan/santan-yogSantan Yog — progeny potential check.10
GET /v1/milan/dhan-yogDhan Yog — financial prosperity compatibility.10
GET /v1/milan/overlayCouple 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/summaryCouple 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.