---
title: "Pitru Dosha (Pitru Shapa)"
method: POST
path: "/v1/astro/pitra-dosha"
tags: ["Astrology"]
---

# Pitru Dosha (Pitru Shapa)

`POST /v1/astro/pitra-dosha`

## Request

- Base URL: `https://api.asterwise.com`
- URL: `https://api.asterwise.com/v1/astro/pitra-dosha`
- Auth: HTTP bearer

Detects Pitru Dosha (Pitru Shapa, the father's curse) from the eleven combinations of BPHS 83.20–83.30, each read literally. `present` is true only when at least one combination forms; `combinations_detail` names the verse and the chart factors. Conjunction is the same sign; aspects are full Parashari graha drishti (Mars 4/7/8, Jupiter 5/7/9, Saturn 3/7/10, Rahu 7); malefics are the chart's natural malefics (Sun, Mars, Saturn, Rahu, Ketu, a waning Moon, a Mercury joined by a malefic). House lords are whole sign from the lagna. General Sun and 9th-lord conditions are listed as `indicators` and never make the dosha present. BPHS gives no grading, so `severity` is null and `combinations_count` says how many combinations formed. Remedies are those of BPHS 83.31–83.32. The same rule fills the pitru_dosha bucket of /v1/astro/dosha.

## Request body

- PitruDoshaRequest: Pitra Dosha request: birth details with the exact birth time.
  - `location` string, nullable: City name to resolve to lat/lon/tz automatically. Example: 'Mumbai' or 'New Delhi, India'. If provided, latitude, longitude and timezone are not required.
  - `name` string: Person name associated with the birth record
  - `date` string, required: Birth date in YYYY-MM-DD format
  - `time` string, required: Birth time in HH:MM 24-hour format. Required: this endpoint has no sunrise fallback.
  - `latitude` number, nullable: Latitude. Required if location not provided.
  - `longitude` number, nullable: Longitude. Required if location not provided.
  - `timezone` string, nullable: IANA timezone. Required if location not provided (unless utc_offset is given). For dates before the zone adopted a standard time, the birthplace's local mean time (longitude / 15 hours) is used.
  - `utc_offset` string, nullable: Optional explicit UTC offset of the birth time, as ±HH:MM or ±HH:MM:SS (e.g. '+04:51:31' for Bombay mean time). Overrides the offset `timezone` would give. Use it when the birth record states the offset, or for historical local times the IANA database cannot represent.
  - `ayanamsa` 'lahiri' | 'raman' | 'kp' | 'tropical': Sidereal ayanamsa mode used in calculations

## Response `200`

Successful Response

- ApiResponsePitruDoshaResponse
  - `success` boolean: True if the request succeeded
  - `message` string: Human-readable status message
  - `data` PitruDoshaResponse, required
    - `birth_time_provided` boolean: True when a birth time was supplied. False when it was not: house, Ascendant and Moon-dependent results then carry the accuracy limits of an unknown birth time.
    - `present` boolean, required
    - `severity` string, nullable
    - `severity_note` string, nullable
    - `combinations_triggered` string[], required: Names of the BPHS Ch.83 combinations that formed; details in combinations_detail.
    - `combinations_detail` PitruCombination[]: One entry per formed combination, in the order of combinations_triggered.
      - `combination` string, required: Name, e.g. 'Pitru Shapa (BPHS 83.24)'.
      - `verse` string, nullable: The BPHS verse, e.g. 'BPHS 83.24'.
      - `description` string, required: What formed the combination in this chart.
      - `factors` string[], required: The chart factors that met the combination's conditions.
      - `weight` integer, required: Always 1: each BPHS 83 combination counts once (BPHS gives no weighting).
    - `combinations_count` integer, required
    - `sun_analysis` PitruSunAnalysis, required
      - `house` integer, nullable
      - `sign_index` integer, nullable
      - `debilitated` boolean, required
      - `afflictions` string[], required
    - `ninth_lord_analysis` PitruNinthLordAnalysis, required
      - `planet` string, nullable
      - `house` integer, nullable
      - `sign_index` integer, nullable
      - `debilitated` boolean, required
      - `afflictions` string[], required
    - `all_factors` string[], required: Chart factors of the formed verse combinations only.
    - `indicators` string[]: General Sun and 9th-lord conditions (debilitated, in house 6/8/12, joined or aspected by a malefic). Context only: they are not a BPHS 83 combination and never make the dosha present.
    - `cancellations` string[], required
    - `interpretation` string, required
    - `classical_symptoms` string[], required
    - `remedies` string[], required
    - `source` string, nullable

## Other responses

- `401`: Authentication failed
- `403`: Authorization failed
- `404`: Resource not found
- `413`: Payload too large
- `422`: Validation error
- `429`: Rate limit exceeded
- `500`: Internal error
- `502`: Upstream provider error
- `503`: Service unavailable

---

[API](https://skmtc.dev/asterwise/apis/asterwise-api.md) · [All operations](https://skmtc.dev/asterwise/apis/asterwise-api/llms.txt) · [OpenAPI document](https://skmtc.dev/asterwise/apis/asterwise-api/revisions/3c4bbb1194e2?raw)
