API Reference / Vedic Astrology / Matchmaking (Milan)
/v1/milan/shani-dosha
Shani (Saturn) dosha check.
What this tells you
Shani Dosha here is a birth-chart check. It looks at where Saturn sits from the lagna: Saturn in house 1, 4, 7, 8, 10 or 12 is flagged as a caution for marriage. Saturn in its own sign (Capricorn, Aquarius) or exalted (Libra) softens it, which is reported as mitigated. This is not a Sade Sati check. For Saturn's transit over the natal Moon, use /v1/transit/sade-sati.
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.lifeastroapi.com/v1/milan/shani-dosha?birth.date=1990-01-15&birth.tz=Asia%2FKolkata&birth.lat=19.076&birth.lon=72.8777&birth.time=10%3A30" \
-H "Authorization: Bearer YOUR_API_KEY"Query parameters
Checked against the API: a parameter is marked required when the request fails without it.
| Name | Required | Example | Description |
|---|---|---|---|
birth.date | yes | 1990-01-15 | Birth date (YYYY-MM-DD). |
birth.tz | yes | Asia/Kolkata | Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30). |
birth.lat | yes | 19.076 | Birth place latitude in decimal degrees. |
birth.lon | yes | 72.8777 | Birth place longitude in decimal degrees. |
birth.time | no | 10:30 | Birth time (HH:MM, 24-hour, local). Defaults to 12:00. |
ayanamsa | no | — | Ayanamsa (sidereal offset) to use. Defaults to lahiri. |
Response (200 OK)
The real response to the example request above, generated from the API itself. Long arrays are trimmed to their first two items. Field names are stable across versions.
{
"has_dosha": false,
"house": 11,
"sign_index": 8,
"mitigated": false
}Field reference
Every field in the response, with its type, a real example, and what it means.
| Field | Type | Meaning |
|---|---|---|
| has_dosha | boolean | True when Saturn is in house 1, 4, 7, 8, 10 or 12 from the lagna (whole signs). example: false |
| house | integer (1–12) | Saturn's house counted from the lagna (whole signs). example: 11 |
| sign_index | integer (0–11) | Saturn's sign. 0 = Aries … 11 = Pisces (8 = Sagittarius). example: 8 |
| mitigated | boolean | True when the dosha is present and Saturn is in its own sign (Capricorn, Aquarius) or exalted (Libra). Always false when has_dosha is false. example: false |
Usage tips
How to use it
- Parameter patternTakes one chart as birth.date, birth.time, birth.tz, birth.lat, birth.lon (birth.time defaults to 12:00). It does not read boy.* or girl.*. Call it once per partner.
- Show mitigationIf has_dosha and mitigated are both true, show the dosha as softened and display mitigation_reason.
Errors
Every error follows the same envelope. Use the error.code field (not the message) for conditional logic in your integration.
401 Unauthorized
{
"error": {
"code": "unauthorized",
"message": "missing or invalid API key",
"request_id": "req_01hqy7k8c3e7m1n"
}
}402 Payment Required
{
"error": {
"code": "trial_exhausted",
"message": "your free trial credits are exhausted — pick a plan to continue",
"top_up_url": "https://lifeastroapi.com/pricing",
"request_id": "req_01hqy7k8c3e7m1n"
}
}429 Too Many Requests
{
"error": {
"code": "rate_limited",
"message": "rate limit exceeded; retry after 12 seconds",
"request_id": "req_01hqy7k8c3e7m1n"
}
}Try it
Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 1,500 free credits. Sign up.