---
title: "Hour Pillar"
method: POST
path: "/bazi/hour-pillar"
tags: ["BaZi (Four Pillars)"]
---

# Hour Pillar

`POST /bazi/hour-pillar`

Hour pillar via 五鼠遁 (Five-Rats-Escape) day-stem → hour-stem table. The Zi hour opens the day at 23:00 local time.

## Request body

- BaziHourInput
  - `date` string, required
  - `time` string, required
  - `timezoneOffset` number

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `dayPillar` object, nullable
    - `hourPillar` object, nullable
      - `stem` string, nullable
      - `branch` string, nullable
      - `pillar` string, nullable
      - `animal` 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)
