API Reference / Vedic Astrology / Matchmaking (Milan)
/v1/milan/navamsa-compat
D9 navamsa compatibility.
What this tells you
The Navamsa (D9) chart is read as the chart of marriage. This endpoint takes the navamsa sign of each partner's Moon, finds the lord of each sign, and checks the natural friendship of the boy's lord toward the girl's lord. Enemy means not compatible; friend or neutral means compatible. It does not compare the D9 ascendants or other D9 placements.
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.lifeastroapi.com/v1/milan/navamsa-compat?boy.date=1990-01-15&boy.tz=Asia%2FKolkata&girl.date=1992-03-20&girl.tz=Asia%2FKolkata&boy.time=10%3A30&girl.time=08%3A15" \
-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 |
|---|---|---|---|
boy.date | yes | 1990-01-15 | Boy's birth date (YYYY-MM-DD). |
boy.tz | yes | Asia/Kolkata | Boy's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30). |
girl.date | yes | 1992-03-20 | Girl's birth date (YYYY-MM-DD). |
girl.tz | yes | Asia/Kolkata | Girl's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30). |
boy.time | no | 10:30 | Boy's birth time (HH:MM, 24-hour, local). Defaults to 12:00. |
girl.time | no | 08:15 | Girl's birth time (HH:MM, 24-hour, local). Defaults to 12:00. |
person1.date | no | — | |
person1.time | no | — | |
person1.tz | no | — | |
person1.lat | no | — | |
person1.lon | no | — | |
person2.date | no | — | |
person2.time | no | — | |
person2.tz | no | — | |
person2.lat | no | — | |
person2.lon | no | — | |
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.
{
"boy_navamsa_sign": "Libra",
"girl_navamsa_sign": "Leo",
"boy_navamsa_lord": "Venus",
"girl_navamsa_lord": "Sun",
"compatible": false,
"note": "Lord relationship: enemy"
}Field reference
Every field in the response, with its type, a real example, and what it means.
| Field | Type | Meaning |
|---|---|---|
| boy_navamsa_sign, girl_navamsa_sign | string | Navamsa (D9) sign of each partner's Moon. example: "Libra", "Leo" |
| boy_navamsa_lord, girl_navamsa_lord | string | Lord of each navamsa sign. example: "Venus", "Sun" |
| compatible | boolean | False only when the relationship between the two lords is "enemy". Friend or neutral gives true. example: false |
| note | string | Natural relationship of the boy's navamsa lord toward the girl's: "Lord relationship: friend", "… neutral" or "… enemy". The same lord counts as friend. example: "Lord relationship: enemy" |
Usage tips
How to use it
- Advanced compatibility appsShow this as an "advanced match" tab. Ashtakoota stays the main view; the navamsa check is an extra layer.
- ParametersPass boy.date, boy.time, boy.tz and girl.date, girl.time, girl.tz (time defaults to 12:00). Optional: ayanamsa, locale (localizes the sign and lord names).
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.