What this catalog is
Ashtakoot (Gun Milan) compares two Moon positions on eight factors and adds up the points. The API returns data.total (score, max, bucket), a koots array of eight entries in the order below, match_percentage, a Manglik cross-check and slotting.
Each koot carries both initial_score (the table lookup) and score (after the classical cancellation rules), so you can show raw and adjusted values side by side.
The eight koots
| Order | name | max | Compares | Groom/bride order matters |
|---|---|---|---|---|
| 1 | "varna" | 1 | 4 classes | yes |
| 2 | "vashya" | 2 | 5 classes | no |
| 3 | "tara" | 3 | Moon nakshatra (27) | no |
| 4 | "yoni" | 4 | 14 classes | no |
| 5 | "graha_maitri" | 5 | 7 classes | no |
| 6 | "gana" | 6 | 3 classes | yes |
| 7 | "bhakoot" | 7 | 12 classes | no |
| 8 | "nadi" | 8 | 3 classes | no |
- name - lowercase snake_case ids. Graha Maitri is
graha_maitri; Bhakoot isbhakoot. - Compares - how many trait classes the scoring table distinguishes (Tara compares the two Moon nakshatras directly).
- Groom/bride order matters - computed from the engine's scoring tables: Varna and Gana score a pair differently when the two people are swapped; the other six are symmetric.
- `pass` -
varnaandvashyapass only at full marks;taraandyoniat 2 or more;graha_maitriat 3 or more;gana,bhakootandnadiat anything above 0.
Parsing notes
total.bucketis one of"Excellent"(28 or more),"Good"(24-27),"Moderate"(18-23) or"Poor"(below 18). Capitalised, unlike the koot names.match_percentageisround(total.score / 36 × 100)- an integer, not a fraction.- Without
gendersin the request,person_ais read as the groom and the response says"slotting": {"groom": "person_a", "basis": "order"}. Sendgendersto slot by gender; same or unknown genders are scored both ways and the lower result is returned withbasis: "lower-of-both". cancellation_noteis an empty string, notnull, when no cancellation applied./v1/compatibility/dashakootnests the same Ashtakoot object underdata.ashtakoot, alongside its own ten-factor total whosemaxis not 36.
In a real response
POST /v1/compatibility - Recorded POST /v1/compatibility response (koots cut to two).
json
{
"data": {
"total": {
"score": 32,
"max": 36,
"bucket": "Excellent"
},
"koots": [
{
"name": "varna",
"score": 1,
"initial_score": 1,
"max": 1,
"pass": true,
"cancellation_note": ""
},
{
"name": "vashya",
"score": 2,
"initial_score": 2,
"max": 2,
"pass": true,
"cancellation_note": ""
}
],
"match_percentage": 89
}
}Questions
- Which endpoints does this page apply to?
- 2 endpoints: Kundli Matching (Ashtakoot Gun Milan) (
POST /v1/compatibility); Dashakoot Matching (POST /v1/compatibility/dashakoot).