---
title: "Synastry"
method: POST
path: "/synastry"
tags: ["Comparisons"]
---

# Synastry

`POST /synastry`

Calculate cross-chart aspects between two natal charts for relationship analysis. Either partner may set timeUnknown: true: cross-aspects are still returned, while that partner's houses, angles and sect come back null.

## Request body

- TwoChartUnknownTime — Pair of natal charts where either birth time may be unknown. A chart with timeUnknown: true contributes planets and cross-aspects but no houses, angles or overlays.
  - `chart1` ChartInputUnknownTime, required — 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
  - `chart2` ChartInputUnknownTime, required — 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
    - `chart1` object, nullable
      - `planets` unknown[], nullable
        - unknown
      - `houses` object, nullable
    - `chart2` object, nullable
      - `planets` unknown[], nullable
        - unknown
      - `houses` object, nullable
    - `crossAspects` object[], nullable
      - `planet1` string, nullable
      - `planet2` string, nullable
      - `planet1Id` number, nullable
      - `planet2Id` number, nullable
      - `type` object, nullable
        - `name` string, nullable
        - `angle` number, nullable
        - `isMajor` boolean, nullable
      - `exactAngle` number, nullable
      - `orb` number, nullable
      - `isApplying` boolean, nullable
    - `compatibility` object, nullable
      - `score` number, nullable
      - `label` 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/529d7d36d7d6/schema)
