LifeAstroAPILifeAstroAPI

API Reference / Western Astrology / Western Astrology

GET
20 credits

/v1/western/davison/houses

Davison chart houses.

Request

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

example request
curl "https://api.lifeastroapi.com/v1/western/davison/houses?personA.date=1990-01-15&personA.tz=Asia%2FKolkata&personA.lat=19.076&personA.lon=72.8777&personB.date=1992-03-20&personB.tz=Asia%2FKolkata&personB.lat=28.6139&personB.lon=77.209&personA.time=10%3A30&personB.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.

NameRequiredExampleDescription
personA.dateyes1990-01-15Person A's birth date (YYYY-MM-DD).
personA.tzyesAsia/KolkataPerson A's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
personA.latyes19.076Person A's birth place latitude in decimal degrees.
personA.lonyes72.8777Person A's birth place longitude in decimal degrees.
personB.dateyes1992-03-20Person B's birth date (YYYY-MM-DD).
personB.tzyesAsia/KolkataPerson B's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
personB.latyes28.6139Person B's birth place latitude in decimal degrees.
personB.lonyes77.209Person B's birth place longitude in decimal degrees.
personA.timeno10:30Person A's birth time (HH:MM, 24-hour, local). Defaults to 12:00.
personB.timeno08:15Person B's birth time (HH:MM, 24-hour, local). Defaults to 12:00.
house_systemno—House system. Phase 2c supports placidus (default), whole_sign, koch, equal. Placidus and Koch reject |lat| > 66° (geometrically undefined inside polar circle); Whole Sign and Equal accept any latitude.
rulershipno—Sign-rulership scheme for House / ASC / MC ruler emission. modern (default) uses post-discovery rulers (Pluto-Scorpio, Uranus-Aquarius, Neptune-Pisces). traditional uses the classical 7-planet scheme (Mars-Scorpio, Saturn-Aquarius, Jupiter-Pisces) — outer planets are not assigned ruling signs.

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
{
  "person_a": {
    "birth_date": "1990-01-15",
    "birth_time": "10:30",
    "location": {
      "lat": 19.076,
      "lon": 72.8777,
      "alt": 0
    },
    "tz": "Asia/Kolkata",
    "house_system": "placidus"
  },
  "person_b": {
    "birth_date": "1992-03-20",
    "birth_time": "08:15",
    "location": {
      "lat": 28.6139,
      "lon": 77.209,
      "alt": 0
    },
    "tz": "Asia/Kolkata",
    "house_system": "placidus"
  },
  "davison_midpoint": {
    "moment_utc": "1991-02-16T15:52:30Z",
    "jd_ut": 2448304.161458,
    "location": {
      "lat": 23.86007,
      "lon": 74.963456,
      "alt": 0
    },
    "house_system": "placidus"
  },
  "ascendant": {
    "longitude": 188.435139,
    "sign_index": 6,
    "sign": "Libra",
    "degree_in_sign": 8.435139,
    "dms_in_sign": "08°26'06\"",
    "ruler": "Venus"
  },
  "mc": {
    "longitude": 98.479144,
    "sign_index": 3,
    "sign": "Cancer",
    "degree_in_sign": 8.479144,
    "dms_in_sign": "08°28'44\"",
    "ruler": "Moon"
  },
  "houses": [
    {
      "house": 1,
      "longitude": 188.435139,
      "sign_index": 6,
      "sign": "Libra",
      "degree_in_sign": 8.435139,
      "dms_in_sign": "08°26'06\"",
      "ruler": "Venus"
    },
    {
      "house": 2,
      "longitude": 217.368424,
      "sign_index": 7,
      "sign": "Scorpio",
      "degree_in_sign": 7.368424,
      "dms_in_sign": "07°22'06\"",
      "ruler": "Pluto"
    }
  ]
}

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.