Eight koots, 36 points
| Koot | Max | Compares |
|---|---|---|
| Varna | 1 | Spiritual temperament of the Moon signs |
| Vashya | 2 | Mutual attraction / influence of the Moon signs |
| Tara | 3 | Birth-star distance, counted both ways |
| Yoni | 4 | Nakshatra animal pairing |
| Graha Maitri | 5 | Friendship of the Moon-sign lords |
| Gana | 6 | Deva / Manushya / Rakshasa temperament |
| Bhakoot | 7 | Relative position of the Moon signs |
| Nadi | 8 | Nadi (Adi / Madhya / Antya) of the nakshatras |
POST /v1/compatibility returns each koot's score, max and a pass flag, the total, a match_percentage, and a bucket: 28+ Excellent, 24-27 Good, 18-23 Moderate, below 18 Poor.
Order matters: who is the groom
Classical Ashtakoot is not symmetric. Varna and Gana (and Mahendra in the Dashakoot variant) score differently depending on which chart is the groom's. Send the same couple in both orders and the score can change:
| Order | Varna | Total | Bucket |
|---|---|---|---|
| person_a as groom | 1 / 1 | 32 / 36 | Excellent |
| person_b as groom | 0 / 1 | 31 / 36 | Excellent |
So the API lets you say who is who. Without a genders field, person_a is the groom. With one: for a man and a woman, the man is the groom whichever slot he is in; if only one gender is given, that person takes their slot; if both are the same, the API scores both orders and keeps the lower total. The response's slotting field (groom, basis) tells you which rule applied.
{
"person_a": { "date": "1993-07-04", "time": "09:27:11", "tz_offset_minutes": 330, "lat": 31.7473, "lng": 77.7754 },
"person_b": { "date": "1994-11-22", "time": "18:45:00", "tz_offset_minutes": 330, "lat": 28.6139, "lng": 77.209 },
"genders": { "person_a": "male", "person_b": "female" }
}Cancellations (parihara)
Traditional texts list conditions under which a low koot is cancelled. The API applies them and shows its working: initial_score is the raw koot score, score is after cancellation, and cancellation_note says why. In the sample couple Graha Maitri starts at 1 / 5 and becomes 3 / 5 - "Maitri Dosha cancelled due to the boy's strong Moon".
- A cancellation restores half marks, rounded up - not full marks. Nadi goes 0 → 4 / 8, Bhakoot 0 → 4 / 7, Gana and Graha Maitri → 3, Yoni and Tara → 2, Vashya and Varna → 1.
- Nadi dosha (same nadi) is cancelled when both have the same nakshatra but different padas, or when the Moon signs are 1/5/9 from each other.
- Bhakoot dosha (2-12, 5-9 or 6-8 positions) is cancelled by conditions including the same sign or the same sign lord, friendly lords, an upachaya relation, or a strong Moon or lagna.
- Because both numbers are returned, you can show the classical raw score, the adjusted score, or both - and explain the difference to your users.
Mangal dosha is reported, not scored
The response also carries manglik_match: whether each person is effectively manglik after their own chart's cancellations, and a status of compatible, mutual_cancellation or caution. It does not change the 36-point total - keep the two separate in your UI. In the sample, one partner has Mars in a dosha house but it is cancelled (Mars in a friendly sign), so the status is compatible. For the full analysis use POST /v1/dosha/mangal.
Scoring many candidates at once? POST /v1/compatibility/batch takes up to 500 pairs in one call.
Questions
- What do the Ashtakoot score bands mean?
- Out of 36 points: 28 or more is Excellent, 24 to 27 Good, 18 to 23 Moderate, and below 18 Poor.
POST /v1/compatibilityreturns the band asbucket. - Does it matter which chart is sent as the groom's?
- Yes. Classical Ashtakoot is not symmetric: Varna and Gana score differently depending on which chart is the groom's, so the same couple sent in the other order can get a different total.
- Does Mangal dosha change the 36-point score?
- No. It is reported separately as
manglik_matchand does not change the total, so keep the two apart in your interface.