New Numerology API

Yogas and doshas

Pitra dosh in Vedic astrology

Pitra dosh (pitra dosha) is a chart feature traditionally linked to ancestors. Rules differ between schools. The API reports it when the Sun, Rahu or Ketu afflicts the 9th house or its ruler, or when the ruler of the 9th house sits in house 6, 8 or 12.

Updated

More terms in Yogas and doshas

© API for Astrology (apiforastrology.com). "Glossary houses chart". All rights reserved. Not to be copied or reused.123456789101112A North Indian chart has 12 houses

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."
  }
}
Why John Doe's chart has pitra dosh: the ruler of the 9th house, the planet that afflicts it, and the answer in plain English. Real output for John Doe, born Aug 15, 1990, 10:30 AM, New York.

Get it from the API

Doshas: manglik, kaal sarpa, pitra, or the papa count. Here is the call to API for Astrology (apiforastrology.com) for our sample, John Doe, born Aug 15, 1990, 10:30 AM, New York.

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/charityCharity (daan) this chart points to, and why
POST/v1/remedies/fastingFasting (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 countpitra: the Sun, Rahu or Ketu afflicting the 9th house or its ruler.
  • POST /v1/remedies/charity · Charity (daan) this chart points to, and whymanglik (Mars), kaalsarpa (Rahu and Ketu) and pitra (the Sun, with tithi: Amavasya, the new-moon day): only when /v1/dosha/all reports that dosha present.
  • remedies endpointstopic:remedy-kaal-sarp and topic:remedy-pitra-dosha give 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

POST /v1/planets200 OK
  • RisingVirgoHast
  • SunCancerAshlesha
  • MoonTaurusMrigashira
  • MarsAriesKrittika

Real API output. A free test key gets the same answer.

  1. 01

    Test key: 1,000 test calls a month to build with

  2. 02

    Free plan: 2,000 live calls a month, no card needed

  3. 03

    Open rules: every rule is published, so you can check any answer