API Reference / Vedic Astrology / Chart (Kundli)
/v1/chart/houses
Whole-sign house cusps.
What this tells you
By default this endpoint uses whole-sign houses, the usual Vedic method: each zodiac sign is one house, starting from the ascendant's sign, so every cusp falls at 0° of a sign. Pass `house_system=placidus` (or koch, equal, campanus, porphyry and others) to get computed cusps instead. The bhava lord of each house is its sign lord; where that lord sits in the chart (another house) is the basis of many yogas.
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.lifeastroapi.com/v1/chart/houses?date=1990-01-15&tz=Asia%2FKolkata&lat=19.076&lon=72.8777&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 |
|---|---|---|---|
date | yes | 1990-01-15 | Birth date (YYYY-MM-DD). |
tz | yes | Asia/Kolkata | Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30). |
lat | yes | 19.076 | Birth place latitude in decimal degrees. |
lon | yes | 72.8777 | Birth place longitude in decimal degrees. |
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.
{
"date": "1990-01-15",
"time": "10:30",
"location": {
"lat": 19.076,
"lon": 72.8777,
"alt": 0
},
"tz": "Asia/Kolkata",
"ayanamsa": "lahiri",
"ayanamsa_value": 23.71795,
"house_system": "whole_sign",
"ascendant": {
"sidereal_lon": 326.391667,
"sign_index": 10,
"deg_in_sign": 26.391667,
"dms_in_sign": "26°23'30\"",
"nakshatra_idx": 24,
"pada": 2,
"nak_lord": "Jupiter",
"mc": 239.182315,
"house_system": "whole_sign"
},
"houses": [
{
"house": 1,
"cusp_lon": 300,
"sign_index": 10,
"sign_lord": "Saturn",
"deg_in_sign": 0,
"dms_in_sign": "00°00'00\""
},
{
"house": 2,
"cusp_lon": 330,
"sign_index": 11,
"sign_lord": "Jupiter",
"deg_in_sign": 0,
"dms_in_sign": "00°00'00\""
}
]
}Field reference
Every field in the response, with its type, a real example, and what it means.
| Field | Type | Meaning |
|---|---|---|
| date | string | Birth date you sent (YYYY-MM-DD), echoed back. example: "1990-01-15" |
| time | string | Birth time you sent, echoed back. "12:00" when you leave `time` out. example: "10:30" |
| tz | string | Timezone you sent (IANA name or fixed offset such as +05:30), echoed back. example: "Asia/Kolkata" |
| location | object | Birth coordinates used. `alt` is in metres and is 0 unless you send `alt`. example: { "lat": 19.076, "lon": 72.8777, "alt": 0 } |
| ayanamsa | string | Ayanamsa used. Default lahiri; set it with the `ayanamsa` parameter (lahiri, raman, krishnamurti, fagan, yukteshwar, true_chitrapaksha). example: "lahiri" |
| ayanamsa_value | number | Ayanamsa in degrees at the birth moment. Sidereal longitude = tropical longitude − this value. example: 23.71795 |
| house_system | string | House system used for the cusps in `houses`. Default whole_sign; set it with the `house_system` parameter (placidus, koch, equal, campanus, porphyry and others). example: "whole_sign" |
| ascendant | object | The lagna. Same object and fields as /v1/chart/ascendant. example: { "sidereal_lon": 326.391667, "sign_index": 10, … } |
| houses[] | array of 12 objects | The 12 houses, always in order 1 → 12. example: [{ "house": 1, … }, …] |
| houses[].house | integer (1–12) | House number. example: 1 |
| houses[].cusp_lon | number (0–360) | Sidereal longitude where the house starts. Whole-sign: the start of the sign (sign_index × 30). Other house systems: the computed cusp. example: 300 |
| houses[].sign_index | integer (0–11) | Sign of the cusp: 0=Aries, 1=Taurus, …, 11=Pisces. example: 10 |
| houses[].sign_lord | string | Ruler of that sign — the bhava lord of this house. Translated with `locale`. example: "Saturn" |
| houses[].deg_in_sign | number (0–30) | Degrees of the cusp inside its sign. Always 0 for whole-sign houses. example: 0 |
| houses[].dms_in_sign | string | Degrees, minutes and seconds of the cusp inside its sign. example: "00°00'00\"" |
Usage tips
How to use it
- KP cusps and sub lordsThis endpoint has no star or sub lords. For KP (Placidus) cusps with star, sub and sub-sub lords, call /v1/chart/kp-house-significator.
- Bhava lord placement analysisCross-reference each `sign_lord` with /v1/chart/planets — "Where is my 10th lord?" → take `houses[9].sign_lord`, then read that planet's `house`.
- Planet houses stay whole-signChanging `house_system` changes the cusps here only. The planet `house` numbers in /v1/chart/planets and the other chart endpoints are always whole-sign.
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.