LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Matchmaking (Milan)

GET
10 credits

/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.

When mitigated is true the response also has mitigation_reason: "Saturn in own sign" or "Saturn exalted". The field is left out otherwise.

Request

All requests require an Authorization header with your dv_live_* API key.

example request
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.

NameRequiredExampleDescription
birth.dateyes1990-01-15Birth date (YYYY-MM-DD).
birth.tzyesAsia/KolkataBirth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
birth.latyes19.076Birth place latitude in decimal degrees.
birth.lonyes72.8777Birth place longitude in decimal degrees.
birth.timeno10:30Birth time (HH:MM, 24-hour, local). Defaults to 12:00.
ayanamsano—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.

200 response
{
  "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.

FieldTypeMeaning
has_doshaboolean
True when Saturn is in house 1, 4, 7, 8, 10 or 12 from the lagna (whole signs).
example: false
houseinteger (1–12)
Saturn's house counted from the lagna (whole signs).
example: 11
sign_indexinteger (0–11)
Saturn's sign. 0 = Aries … 11 = Pisces (8 = Sagittarius).
example: 8
mitigatedboolean
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 pattern
    Takes 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 mitigation
    If 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.