---
title: "Health Palace (Ji'e)"
method: POST
path: "/ziwei/palace-health"
tags: ["Zi Wei Dou Shu (Purple Star)"]
---

# Health Palace (Ji'e)

`POST /ziwei/palace-health`

Body, illness, weak points.

## Query parameters

- `fields` string
- `precision` integer

## Request body

- ZiweiDateInput
  - `date` string, required
  - `time` string
  - `timezoneOffset` number — 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.

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `solarYear` number, nullable
    - `animal` string, nullable
    - `palace` object, nullable
      - `key` string, nullable
      - `english` string, nullable
      - `pinyin` string, nullable
      - `chinese` string, nullable
      - `theme` string, nullable
      - `rules` string[], nullable
    - `disclaimer` string, nullable

## Other responses

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

## Changes

- **2026-09-21** `b64222844186` — 2 info
  - added the new optional `query` request parameter `fields`
  - added the new optional `query` request parameter `precision`
- **2026-09-18** `fd2cd799fc5e` — 1 info
  - added the new optional request property `timezone`
- **2026-09-09** `c90e7fc7e2fa` — 2 info
  - api tag `Zi Wei Dou Shu (Purple Star)` added
  - api tag `Zi Wei Dou Shu (Purple Star): MVP` removed
- **2026-08-24** `8ab5a768b521` — 9 info
  - added the optional property `data/animal` to the response with the `200` status
  - added the optional property `data/disclaimer` to the response with the `200` status
  - added the optional property `data/palace/chinese` to the response with the `200` status
  - added the optional property `data/palace/english` to the response with the `200` status
  - …5 more
- **2026-08-22** `5a17388652f3` — 1 breaking, 2 info
  - added the new required request property `date`
  - added the new optional request property `time`
  - added the new optional request property `timezoneOffset`

[Full history](https://skmtc.dev/astroway/apis/astroway-calculation-api/changes/ziwei/palace-health/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/ab676bac3590?raw)
