---
title: "Animal Compatibility"
method: POST
path: "/chinese/zodiac/compatibility"
tags: ["Chinese: Zodiac & Feng Shui"]
---

# Animal Compatibility

`POST /chinese/zodiac/compatibility`

Pair compatibility score (0-100) using San He trine + Liu Chong conflict-pair canon.

## Request body

- ChinesePairInput
  - `person1` object, required
    - `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.
    - `solarYear` integer
  - `person2` object, required
    - `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.
    - `solarYear` integer

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `person1` object, nullable
      - `solarYear` number, nullable
      - `animal` string, nullable
    - `person2` object, nullable
      - `solarYear` number, nullable
      - `animal` string, nullable
    - `compatibility` object, nullable
      - `score` number, nullable
      - `category` string, nullable
      - `notes` string[], nullable

## Other responses

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

## Changes

- **2026-08-24** `8ab5a768b521` — 2 info
  - added the optional property `data/person2/animal` to the response with the `200` status
  - added the optional property `data/person2/solarYear` to the response with the `200` status
- **2026-08-22** `5a17388652f3` — 2 breaking
  - added the new required request property `person1`
  - added the new required request property `person2`
- **2026-08-14** `994755209cea` — 2 info
  - api tag `Chinese: Zodiac & Feng Shui` added
  - api tag `Chinese — Zodiac & Feng Shui` removed

[Change history](https://skmtc.dev/astroway/apis/astroway-calculation-api/changes/chinese/zodiac/compatibility/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-service-production.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/4ed0fa90d9dc/schema)
