Yogas and doshas
Manglik dosha in Vedic astrology
Updated
Manglik dosha: how the API computes it
POST /v1/dosha/manglik looks for Mars in house 1, 2, 4, 7, 8 or 12. It counts the houses three ways: from the ascendant (rising sign), from the Moon and from Venus. It reports each count, and the chart is manglik if any count finds it (DO-01).
The response states the rule in plain words. The API also checks four classical exceptions. Mars may be in its own sign or exalted (at its strongest). It may sit in a sign Saturn rules, in house 1, 4, 7 or 10. Or it may be the yogakaraka, the planet that rules both a kendra and a trikona for that rising sign.
The API lists any exception it finds, but it does not apply them for you, because astrologers disagree about which ones count (DO-02). John Doe's chart shows the dosha from his ascendant and from his Moon, with one exception listed: Mars is in its own sign. An answer block explains the result for users.
POST /v1/dosha/all runs this with the other doshas in one call. POST /v1/matching compares the manglik status of both people. Tradition cares whether both or neither are manglik, not only one chart.
Do not guess manglik status from the guna milan total (the 36-point match score). It is a separate check.
Manglik dosha in a real API answer
POST /v1/dosha/manglik200 OK{
"rule": "Mars occupying house 1, 2, 4, 7, 8 or 12, counted separately from the ascendant, from the Moon and from Venus",
"present": true,
"cancellations": [
"Mars is in its own sign"
],
"answer": {
"headline": "Manglik dosha is present, counted from your ascendant and your Moon. The main checks count from your ascendant (the sign rising at your birth) and from your Moon. It is common: about three in four…"
}
}Get it from the API
POST /v1/dosha/manglik
# John Doe, born Aug 15, 1990, 10:30 AM, New York
curl -X POST "https://apiforastrology.com/api/astrology/v1/dosha/manglik" \
-H "Authorization: Bearer $ASTROLOGY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"year":1990,"month":8,"day":15,"hour":10,"minute":30,"second":0,"latitude":40.7128,"longitude":-74.006,"timezone":"America/New_York"}'{
"dosha": "manglik",
"rule": "Mars occupying house 1, 2, 4, 7, 8 or 12, counted separately from the ascendant, from the Moon and from Venus",
"present": true,
"by_reference": {
"natal": {
"present": true,
"mars_house_from_reference": 8,
"reference": "natal"
},
"lunar": {
"present": true,
"mars_house_from_reference": 12,
"reference": "lunar"
},
"venus": {
"present": false,
"mars_house_from_reference": 10,
"reference": "venus"
}
},
"cancellations": [
"Mars is in its own sign"
],
"cancellation_codes": [
"own_sign"
],
"note": "cancellations are reported, not applied -- weighing them is the astrologer's judgment",
"answer": {
"status": "present",
"headline": "Manglik dosha is present, counted from your ascendant and your Moon. The main checks count from your ascendant (the sign rising at your birth) and from your Moon. It is common: about three in four charts have it from one of them.",
"meaning": "Manglik is about Mars, the planet of energy and heat, sitting where it can bring clashes into married life. Astrologers read it mainly when matching two charts, where the tradition prefers both partners to have it or neither.",
"exception": "Your chart also has a classical exception: Mars is in its own sign. Whether it cancels the dosha is for an astrologer to weigh.",
"next": [
"Don't worry about it on its own. It matters mostly when two charts are matched.",
"In matching, a partner who is also Manglik balances it, which the tradition accepts.",
"If it worries you, ask an astrologer about the exceptions in your chart and the usual remedies."
],
"note": "A dosha is a tendency to keep in mind, not a fixed fate. The rest of your chart decides how much it shows."
},
"meta": {
"ayanamsa": "lahiri",
"ayanamsa_value": 23.7260727,
"julian_day": 2448119.10483,
"ephemeris": "JPL DE440s",
"node": "true",
"timezone": {
"source": "zone",
"offset_hours": -4,
"zone": "America/New_York",
"abbreviation": "EDT",
"dst": true,
"dst_hours": 1,
"ambiguous_resolved_by_fold": null,
"note": "read from the IANA tz database at this instant, so daylight saving and historical offset changes are included"
}
}
}Where the API returns it
| POST | /v1/dosha/{name} | Doshas: manglik, kaal sarpa, pitra, or the papa count |
| POST | /v1/matching | Marriage compatibility score (ashtakoot, 36 points) |
| POST | /v1/remedies/charity | Charity (daan) this chart points to, and why |
| POST | /v1/remedies/fasting | Fasting (vrat) this chart points to, and why |
| POST | /v1/reading/section/{section_id} | One section of a reading |
What the API reference says
Each line is quoted from the reference page of the endpoint named above it.
- POST /v1/dosha/{name} · Doshas: manglik, kaal sarpa, pitra, or the papa count
manglik: Mars in house 1, 2, 4, 7, 8 or 12, counted three ways: from the ascendant, from the Moon and from Venus. - POST /v1/matching · Marriage compatibility score (ashtakoot, 36 points)When both people are manglik, tradition holds that the two cancel out; the case tradition warns about is one manglik person and one who is not.
- POST /v1/remedies/charity · Charity (daan) this chart points to, and why
manglik(Mars),kaalsarpa(Rahu and Ketu) andpitra(the Sun, withtithi: Amavasya, the new-moon day): only when/v1/dosha/allreports that dosha present.
Feature page: Yogas and doshas. Who uses it: Matrimony and matchmaking sites. How often charts are manglik: Measured facts. The classical rules the API follows are in the rulebook.
How we check the numbers
Every value here starts from planet positions worked out from NASA JPL planet data (DE440). We test them against NASA JPL Horizons, NASA's planet position service. On 25,571 positions from 1850 to 2149, the Sun and planets agree within 0.001 arc seconds. The Moon agrees within 0.011. On 2,000 random birth charts, the rising sign agrees with Swiss Ephemeris within 0.004 arc seconds. An arc second is 1/3,600 of a degree. A practicing astrologer reviews the rules behind these answers. See how we test.
Related terms
Free tools
See it with your own details
Runs on the same API call. Enter your details and see the answer in your browser.
Manglik dosha check
Whether Mars makes a chart manglik, counted three ways, with any exceptions.
Check for manglik dosha
From the blog

· 10 min read
Unknown Birth Time: How Astrology Apps Should Handle It
Unknown birth time?
Read
· 8 min read
How to Add Kundli Matching to a Matrimony Site
Kundli matching for matrimony sites.
Read
· 7 min read
Kundali Matching Explained: The 36 Points of Guna Milan
Kundali matching scores two birth Moons on eight factors for 36 points.
Read
Astrology API
Get these values from the API
Create a free test key and call any endpoint on this page. Or try a request in the API reference first.
Your first answer
John Doe, New York
- RisingVirgoHast
- SunCancerAshlesha
- MoonTaurusMrigashira
- MarsAriesKrittika
Real API output. A free test key gets the same answer.
01
Test key: 1,000 test calls a month to build with
02
Free plan: 2,000 live calls a month, no card needed
03
Open rules: every rule is published, so you can check any answer