Yogas and doshas
Pitra dosh in Vedic astrology
Updated
Pitra dosh: how the API computes it
The 9th house stands for the father, elders and ancestors. So the API reads pitra dosh from it (DO-04). It asks three questions.
Does the Sun, Rahu or Ketu afflict (harm) the 9th house, for example by sitting in it? Does one of them afflict the ruler of the 9th house? Is that ruler placed in house 6, 8 or 12?
The response names each trigger it found, with the planet, how it afflicts and the house. Call POST /v1/dosha/pitra, or POST /v1/dosha/all for every dosha at once. The answer block explains the result in plain English and suggests simple next steps.
Remedies for pitra dosh appear in the reading sections only when the dosha is present (RM-04). Rules for it differ a lot between schools. So the response always states the rule it used.
Pitra dosh in a real API answer
POST /v1/dosha/pitra200 OK{
"present": true,
"ninth_lord": "Venus",
"triggers": [
{
"graha": "Ketu",
"how": "conjunct the 9th lord (Venus)",
"house": 11
}
],
"answer": {
"headline": "Pitra dosha is present, because Ketu sits with the ruler of your 9th house."
}
}Get it from the API
POST /v1/dosha/pitra
# John Doe, born Aug 15, 1990, 10:30 AM, New York
curl -X POST "https://apiforastrology.com/api/astrology/v1/dosha/pitra" \
-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"}'Where the API returns it
| POST | /v1/dosha/{name} | Doshas: manglik, kaal sarpa, pitra, or the papa count |
| 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
pitra: the Sun, Rahu or Ketu afflicting the 9th house or its ruler. - 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. - remedies endpoints
topic:remedy-kaal-sarpandtopic:remedy-pitra-doshagive the remedies for those doshas (chart flaws).
Feature page: Yogas and doshas. Who uses it: Astrologer consultation platforms. 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
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