---
title: "Kundli (one call)"
method: POST
path: "/vedic/kundli"
tags: ["Vedic"]
---

# Kundli (one call)

`POST /vedic/kundli`

## Request

- Base URL: `https://api.astroway.info/v1`
- URL: `https://api.astroway.info/v1/vedic/kundli`
- Auth: API key in header `X-Api-Key`

A kundli card in one call: D1 lagna and the nine grahas with sign names, the Moon nakshatra and pada, the running Vimshottari maha and antar at `targetDate` (default now), and the Parashari yogas and doshas with a `present` list of the ones found. Each part is the same answer as its own route (/vedic/varga/D1, /vedic/dashas/vimshottari/antar, /vedic/yogas/parashara/full, /vedic/doshas/parashara/full). `latitude` and `longitude` are required; `time` is `HH:mm:ss` or `HH:mm`. `nakshatra.nameLocalized` is the name in the requested language (Devanagari for hi, the Cyrillic forms for uk and ru, the international transliteration elsewhere). 50 credits.

## Query parameters

- `fields` string
- `precision` integer

## Request body

- KundliInput: Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss), latitude and longitude in decimal degrees. The short forms lat, lon, lng and tz are rejected with 400 INVALID_FIELD; pass the full names. timezoneOffset is hours from UTC and defaults to 0, meaning UTC; send timezone instead (an IANA name such as Europe/Kyiv, or auto) and the offset for that date is worked out, summer time included. city is a display label only: nothing here geocodes it, so it never stands in for coordinates. houseSystem is a single Swiss Ephemeris letter, P by default; a name such as "Placidus" is refused, and the case matters because I and i are two different Sunshine systems.
  - `date` string, required
  - `time` string, required
  - `timezoneOffset` number, nullable: Hours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC. Ignored when timezone is sent.
  - `timezone` string: IANA zone name such as Europe/Kyiv, or auto to look the zone up from latitude and longitude. The server takes the offset that zone kept at this local date and time, summer time included, and uses it in place of timezoneOffset. A clock time that happened twice takes the first occurrence; one skipped when clocks went forward takes the offset from before the change. Abbreviations such as EST are refused. Before 1970 the tz database is not reliable for every place, so send timezoneOffset when the local clock is known.
  - `latitude` number, required
  - `longitude` number, required
  - `houseSystem` 'P' | 'K' | 'R' | 'C' | 'E' | 'W' | 'B' | 'M' | 'O' | 'A' | 'T' | 'V' | 'D' | 'F' | 'G' | 'H' | 'I' | 'i' | 'L' | 'N' | 'Q' | 'S' | 'U' | 'X' | 'Y'
  - `name` string
  - `city` string
  - `zodiacType` 'tropical' | 'sidereal'
  - `ayanamsaId` number, nullable
  - `ayanamsa` 'fagan-bradley' | 'lahiri' | 'de-luce' | 'raman' | 'krishnamurti' | 'kp' | 'yukteshwar' | 'jn-bhasin' | 'true-citra' | 'djwhal-khul': Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.
  - `cosmogram` boolean
  - `targetDate` string
  - `targetTime` string
  - `targetTzOffset` number, nullable

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `ayanamsa` number, nullable
    - `lagna` object, nullable
      - `longitude` number, nullable
      - `sign` number, nullable
      - `degreeInSign` number, nullable
      - `signName` string, nullable
    - `grahas` object[], nullable
      - `name` string, nullable
      - `longitude` number, nullable
      - `sign` number, nullable
      - `degreeInSign` number, nullable
      - `isRetrograde` boolean, nullable
      - `signName` string, nullable
    - `nakshatra` object, nullable
      - `number` number, nullable
      - `name` string, nullable
      - `nameRu` string, nullable
      - `nameUk` string, nullable
      - `ruler` string, nullable
      - `startDeg` number, nullable
      - `endDeg` number, nullable
      - `pada` number, nullable
    - `dasha` object, nullable
      - `system` string, nullable
      - `maha` object, nullable
        - `planet` number, nullable
        - `planetName` string, nullable
        - `startJd` number, nullable
        - `endJd` number, nullable
        - `startDate` string, nullable
        - `endDate` string, nullable
        - `durationYears` number, nullable
      - `antar` object, nullable
        - `planet` number, nullable
        - `planetName` string, nullable
        - `startJd` number, nullable
        - `endJd` number, nullable
        - `startDate` string, nullable
        - `endDate` string, nullable
        - `durationYears` number, nullable
    - `yogas` object, nullable
      - `present` unknown[], nullable
        - unknown
      - `dhana` object, nullable
        - `present` boolean, nullable
        - `contributingPlanets` unknown[], nullable
          - unknown
    - `doshas` object, nullable
      - `present` string[], nullable
      - `mangal` object, nullable
        - `present` boolean, nullable
        - `severity` string, nullable

## Other responses

- `400`: Validation error
- `401`: Missing or invalid API key

## Changes

- **2026-10-07** `ec98fcd88094`: 2 warning
  - changed the pattern of the request property `allOf[#/components/schemas/ChartInput]/time` from `^\d{2}:\d{2}:\d{2}$` to `^\d{2}:\d{2}(:\d{2})?$`
  - changed the pattern of the request property `allOf[subschema #2]/targetTime` from `^\d{2}:\d{2}:\d{2}$` to `^\d{2}:\d{2}(:\d{2})?$`
- **2026-10-07** `da6d49943f9e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/astroway/apis/astroway-calculation-api/changes/vedic/kundli/post.md)

---

[API](https://skmtc.dev/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.dev/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc.dev/astroway/apis/astroway-calculation-api/revisions/593d763ba9a5?raw)
