What this catalog is
Dosha endpoints take a single birth (Papa Samyam takes a couple) and return a small object. They agree on nothing structural: Mangal and Pitra report present plus a severity, Kaal Sarp reports present plus a partial flag and a named type, Sade Sati reports active plus a phase, and Papa Samyam reports a status comparing two people.
All five work from the sidereal (Lahiri) D1 chart with whole-sign houses, the same chart as /v1/charts/birth; Sade Sati adds Saturn's transit position on the as_of date.
Enum values by endpoint
| Endpoint | Field | Possible values |
|---|---|---|
POST /v1/dosha/mangal | severity | none | mild | strong |
POST /v1/dosha/mangal | references[].from | lagna | moon | venus |
POST /v1/dosha/kaal-sarp | type | Anant | Kulik | Vasuki | Shankhpal | Padma | Mahapadma | Takshak | Karkotak | Shankhachood | Ghaatak | Vishdhar | Sheshnag | null |
POST /v1/dosha/sade-sati | phase | not_active | rising | peak | setting | ardhashtama | ashtama |
POST /v1/dosha/sade-sati | phases[].phase | rising | peak | setting |
POST /v1/dosha/pitra | severity | none | mild | strong |
POST /v1/dosha/papa-samyam | status | balanced | mismatch |
- Mangal `severity` -
nonewhen Mars is not in house 1, 4, 7, 8 or 12 from any reference;mildwhen it is but a cancellation rule fires (cancelled: true, rules listed incancellation_reasons);strongwhen no cancellation applies. - Mangal `references` - always three entries, in
lagna,moon,venusorder, each with the house Mars occupies counted from that reference. - Sade Sati `phase` -
rising/peak/settingare Saturn in the 12th, 1st and 2nd sign from the natal Moon;ardhashtama(4th) andashtama(8th) are the minor Dhaiya phases. - Pitra `severity` - derived from an internal
score:strongat 8 or more, otherwisemildwhen present. - Papa Samyam `status` -
balancedwhen the two malefic counts differ by at most 1, otherwisemismatch.
Kaal Sarp type names
When Kaal Sarp is present, type names it after the house Rahu occupies from the lagna. When it is absent, type is null.
| house_of_rahu | type |
|---|---|
| 1 | "Anant" |
| 2 | "Kulik" |
| 3 | "Vasuki" |
| 4 | "Shankhpal" |
| 5 | "Padma" |
| 6 | "Mahapadma" |
| 7 | "Takshak" |
| 8 | "Karkotak" |
| 9 | "Shankhachood" |
| 10 | "Ghaatak" |
| 11 | "Vishdhar" |
| 12 | "Sheshnag" |
Parsing notes
- Sade Sati
active: truedoes NOT mean Sade Sati is running: it is also true during theardhashtamaandashtamaDhaiya phases. Testphaseagainstrising,peakandsettingwhen you mean the seven-and-a-half years. - Sade Sati is time-dependent: the response's
as_ofis the moment it was evaluated - now, unless the request sends its ownas_of(ISO 8601 with offset). Cache it per day, not per birth. - Mangal
house_of_marsis always counted from the lagna, even when the dosha was triggered from the Moon or Venus. Readreferences[].presentto see which reference fired. - A cancelled Mangal dosha is still
present: true- withseverity: "mild"andcancelled: true. Decide in your UI whether "present but cancelled" means manglik. - Kaal Sarp
partial: truemeans one or more planets sit on the Rahu-Ketu axis (within 0.5°). The dosha is still reported as present. - Papa Samyam is a two-person endpoint: the response has
boyandgirlobjects plusdifference, not a singlepresent.
In a real response
POST /v1/dosha/mangal - Recorded POST /v1/dosha/mangal response: Mars in the 1st from the lagna, cancelled because it is in a friendly sign.
{
"data": {
"present": true,
"house_of_mars": 1,
"severity": "mild",
"cancelled": true,
"cancellation_reasons": [
"Mars in friendly sign (Leo)"
],
"references": [
{
"from": "lagna",
"house": 1,
"present": true
},
{
"from": "moon",
"house": 9,
"present": false
}
]
}
}Questions
- Which endpoints does this page apply to?
- 5 endpoints: Mangal Dosha (Manglik) (
POST /v1/dosha/mangal); Kaal Sarp Dosha (POST /v1/dosha/kaal-sarp); Sade Sati (POST /v1/dosha/sade-sati); Pitra Dosha (POST /v1/dosha/pitra); Papa Samyam (POST /v1/dosha/papa-samyam).