---
title: "Ishta Devta — Personal Deity"
method: POST
path: "/v1/astro/ishta-devta"
tags: ["Astrology"]
---

# Ishta Devta — Personal Deity

`POST /v1/astro/ishta-devta`

## Request

- Base URL: `https://api.asterwise.com`
- URL: `https://api.asterwise.com/v1/astro/ishta-devta`
- Auth: HTTP bearer

Computes Ishta Devta (personal deity) from the 12th house lord of the Navamsa (D9) chart per Jaimini-tradition rules. Returns the ruling planet, associated deity, and D9 positions. Request JSON follows BirthInput: `name` (optional, default Chart), `date` (YYYY-MM-DD), `time` (HH:MM, required), either `location` or `latitude`/`longitude`/`timezone`, optional `ayanamsa` (lahiri|raman|kp|tropical).

## Request body

- IshtaDevtaRequest: Ishta Devta — extends :class:`TimedBirthInput`. Inherits: ``name``, ``date``, ``time``, ``location`` or coordinates, ``ayanamsa``.
  - `location` string, nullable: City name to resolve to lat/lon/tz automatically. Example: 'Mumbai' or 'New Delhi, India'. If provided, latitude, longitude and timezone are not required.
  - `name` string: Person name associated with the birth record
  - `date` string, required: Birth date in YYYY-MM-DD format
  - `time` string, required: Birth time in HH:MM 24-hour format. Required: this endpoint has no sunrise fallback.
  - `latitude` number, nullable: Latitude. Required if location not provided.
  - `longitude` number, nullable: Longitude. Required if location not provided.
  - `timezone` string, nullable: IANA timezone. Required if location not provided (unless utc_offset is given). For dates before the zone adopted a standard time, the birthplace's local mean time (longitude / 15 hours) is used.
  - `utc_offset` string, nullable: Optional explicit UTC offset of the birth time, as ±HH:MM or ±HH:MM:SS (e.g. '+04:51:31' for Bombay mean time). Overrides the offset `timezone` would give. Use it when the birth record states the offset, or for historical local times the IANA database cannot represent.
  - `ayanamsa` 'lahiri' | 'raman' | 'kp' | 'tropical': Sidereal ayanamsa mode used in calculations

## Response `200`

Successful Response

- ApiResponseIshtaDevtaResponse
  - `success` boolean: True if the request succeeded
  - `message` string: Human-readable status message
  - `data` IshtaDevtaResponse, required
    - `birth_time_provided` boolean: True when a birth time was supplied. False when it was not: house, Ascendant and Moon-dependent results then carry the accuracy limits of an unknown birth time.
    - `atmakaraka` string, required
    - `karakamsha_lagna` string, required
    - `karakamsha_lagna_index` integer, required
    - `jivanmuktamsa_planet` string, nullable
    - `navamsa_lagna` string, required
    - `navamsa_lagna_index` integer, required
    - `twelfth_house_sign` string, required
    - `twelfth_house_index` integer, required
    - `planets_in_12th` string[], required
    - `ishta_devta_planet` string, required
    - `deity` string, required
    - `description` string, required
    - `method` string, required
    - `d9_positions` object, required

## Other responses

- `401`: Authentication failed
- `403`: Authorization failed
- `404`: Resource not found
- `413`: Payload too large
- `422`: Validation error
- `429`: Rate limit exceeded
- `500`: Internal error
- `502`: Upstream provider error
- `503`: Service unavailable

---

[API](https://skmtc.dev/asterwise/apis/asterwise-api.md) · [All operations](https://skmtc.dev/asterwise/apis/asterwise-api/llms.txt) · [OpenAPI document](https://skmtc.dev/asterwise/apis/asterwise-api/revisions/3c4bbb1194e2?raw)
