Skip to content
How it works

Pillar A — How it works

Published 2026-05-22 · Updated 2026-06-18 · By Avinash Chandan, Founder, Navamsha

Manglik Dosha: Mars House Rules and How to Check It via API

Manglik dosha (Mangal dosha or Kuja dosha) is a marriage compatibility factor in Vedic astrology that flags when Mars occupies any of the 1st, 2nd, 4th, 7th, 8th, or 12th house from the Lagna, Moon, or Venus reference points.

Matrimony products surface Manglik status early in profile flows. The calculation itself is deterministic house arithmetic once Mars and reference longitudes are known — Navamsha implements classical house rules with Lahiri charts via Swiss Ephemeris.

Which houses trigger Manglik dosha

Mars in houses 1, 2, 4, 7, 8, or 12 from each reference is checked independently. If Mars triggers any reference, is_present is true and triggered_references lists which ones fired.

ReferenceWhat it represents
Lagna (1st house)Self, body, overall marital temperament
MoonMind, emotional compatibility in marriage
VenusLove, partnership, spousal harmony

How house positions are derived

Given Mars longitude and a reference longitude (Lagna, Moon, or Venus), the engine computes whole-sign house distance: which house Mars occupies counting from the reference sign as house 1.

Navamsha returns checked_houses per reference, mars_longitude, and reference_longitudes so support teams can reproduce the result without re-running desktop software.

Single-chart vs pair comparison

Use /dosha/mangal for one person's Manglik status on a profile page. Use /compatibility/manglik when both partners' statuses matter — the response includes person_a, person_b, and a compatibility label (both_manglik, one_manglik, neither_manglik).

Classical texts describe cancellation (nivaran) rules when both partners are Manglik or when Mars is in own sign, exaltation, or specific conjunctions. Navamsha returns severity and cancellation fields for future rule expansion; integrate detailed cancellation via /apis/compatibility advanced endpoints.

Checking Manglik via API

curl — single person

curl -X POST "https://api.navamsha.in/api/v1/dosha/mangal" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "year": 1995, "month": 8, "date": 15, "hours": 14, "minutes": 30, "seconds": 0, "latitude": 19.0760, "longitude": 72.8777, "timezone": 5.5, "settings": { "observation_point": "topocentric", "ayanamsha": "lahiri", "language": "en" } }'

Python — pair comparison

import httpx

resp = httpx.post(
    "https://api.navamsha.in/api/v1/compatibility/manglik",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={
        "person_a": {"year": 1995, "month": 8, "date": 15, "hours": 14, "minutes": 30,
                     "latitude": 19.076, "longitude": 72.8777, "timezone": 5.5,
                     "settings": {"ayanamsha": "lahiri"}},
        "person_b": {"year": 1993, "month": 3, "date": 22, "hours": 9, "minutes": 15,
                     "latitude": 28.6139, "longitude": 77.209, "timezone": 5.5,
                     "settings": {"ayanamsha": "lahiri"}},
    },
)
out = resp.json()["output"]
print(out["person_a"]["is_present"], out["person_b"]["is_present"])
print(out["compatibility"])

Combine Manglik checks with 36-point Ashtakoot scoring for complete matchmaking flows at /apis/compatibility. Lahiri ayanamsa keeps Mars house positions aligned with Gun Milan Moon calculations. Start free at /getting-started — 10,000 calls/month.

FAQ

Does Manglik always block marriage?

Traditional practice treats it as a caution flag, not an absolute bar. Many communities accept the match when both partners are Manglik (Mutual Manglik) or when classical cancellation conditions apply. Products should explain the status, not hide it.

Which houses does Navamsha check?

Mars in houses 1, 2, 4, 7, 8, or 12 from Lagna, Moon, and Venus — the standard Parashari set. rule_houses in the response lists [1, 2, 4, 7, 8, 12] explicitly.

What ayanamsa is used for Manglik calculation?

Lahiri ayanamsa. Mars and reference longitudes are sidereal, consistent with Kundali and Ashtakoot endpoints on the same platform.

Can I batch-screen Manglik for many profiles?

Call /dosha/mangal per profile or combine with Ashtakoot batch matchmaking endpoints for ranked compatibility lists. Each call is lightweight (typically 1 credit) on the 10,000 free calls/month tier.