---
title: "Natal Chart"
method: POST
path: "/chart"
tags: ["Core"]
---

# Natal Chart

`POST /chart`

Calculate a full natal chart: planets, house cusps, aspects, sect, and angular data for a given birth moment. When the birth time is unknown, send timeUnknown: true instead of time and the response carries planets and aspects with houses, angles and sect set to null, plus a timeUnknown block giving the range the Moon covers that day.

## Request body

- ChartInputUnknownTime — Birth data where the clock time may be unknown. Either pass time (HH:mm:ss), or set timeUnknown: true and omit it. In the second case the response carries planets and aspects but no houses, angles or sect.
  - `date` string, required
  - `time` string
  - `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.
  - `latitude` number, required
  - `longitude` number, required
  - `houseSystem` string
  - `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
  - `timeUnknown` boolean

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `input` object, nullable
      - `name` string, nullable
      - `date` string, nullable
      - `time` string, nullable
      - `timezoneOffset` number, nullable
      - `latitude` number, nullable
      - `longitude` number, nullable
      - `houseSystem` string, nullable
      - `city` string, nullable
      - `cosmogram` boolean, nullable
    - `julianDay` number, nullable
    - `siderealTime` number, nullable
    - `planets` object[], nullable
      - `id` number, nullable
      - `name` string, nullable
      - `longitude` number, nullable
      - `latitude` number, nullable
      - `distance` number, nullable
      - `speedLong` number, nullable
      - `speedLat` number, nullable
      - `speedDist` number, nullable
      - `isRetrograde` boolean, nullable
      - `declination` number, nullable
      - `rightAscension` number, nullable
    - `houses` object, nullable
      - `system` string, nullable
      - `cusps` number[], nullable
      - `ascendant` number, nullable
      - `mc` number, nullable
      - `armc` number, nullable
      - `vertex` number, nullable
      - `equatorialAsc` number, nullable
      - `coAscWK` number, nullable
      - `coAscMunkasey` number, nullable
      - `polarAsc` number, nullable
    - `aspects` object[], nullable
      - `planet1` string, nullable
      - `planet2` string, nullable
      - `planet1Id` number, nullable
      - `planet2Id` number, nullable
      - `type` object, nullable
        - `name` string, nullable
        - `i18nKey` string, nullable
        - `angle` number, nullable
        - `orb` number, nullable
        - `symbol` string, nullable
        - `isMajor` boolean, nullable
        - `color` string, nullable
      - `exactAngle` number, nullable
      - `orb` number, nullable
      - `isApplying` boolean, nullable
    - `houseAspects` object[], nullable
      - `planetName` string, nullable
      - `planetId` number, nullable
      - `houseIndex` number, nullable
      - `cuspLongitude` number, nullable
      - `type` object, nullable
        - `name` string, nullable
        - `i18nKey` string, nullable
        - `angle` number, nullable
        - `orb` number, nullable
        - `symbol` string, nullable
        - `isMajor` boolean, nullable
        - `color` string, nullable
      - `exactAngle` number, nullable
      - `orb` number, nullable
      - `isApplying` boolean, nullable
    - `parallelAspects` object[], nullable
      - `planet1` string, nullable
      - `planet2` string, nullable
      - `planet1Id` number, nullable
      - `planet2Id` number, nullable
      - `type` string, nullable
      - `exactDiff` number, nullable
      - `orb` number, nullable
    - `antiscia` object[], nullable
      - `planetId` number, nullable
      - `planetName` string, nullable
      - `antiscion` number, nullable
      - `contraAntiscion` number, nullable
    - `antisciaAspects` object[], nullable
      - `planet1` string, nullable
      - `planet1Id` number, nullable
      - `planet2` string, nullable
      - `planet2Id` number, nullable
      - `type` string, nullable
      - `orb` number, nullable
    - `chartSect` string, nullable
    - `meta` object, nullable
      - `engineVersion` string, nullable
      - `calculatedAt` string, nullable

## Other responses

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

---

[API](https://skmtc.net/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.net/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/6828e5609564/schema)
