---
title: "BaZi (四柱八字)"
method: GET
path: "/api/trpc/bazi.chart"
tags: ["Eastern"]
---

# BaZi (四柱八字)

`GET /api/trpc/bazi.chart`

## Request

- Base URL: `https://api.asktian.com`
- URL: `https://api.asktian.com/api/trpc/bazi.chart`
- Auth: HTTP bearer

BaZi 四柱八字 (Four Pillars of Destiny) — encodes the birth year, month, day, and hour into eight characters of Heavenly Stems and Earthly Branches. Returns the four pillars, Day Master, Ten Gods, Hidden Stems, Twelve Life Stages, element balance, eight Da Yun luck cycles, and an LLM interpretation in English or Traditional Chinese. OMITTED INPUTS DISCLOSED, NEVER SILENTLY GUESSED: without gender the response carries genderAssumption (the Da Yun direction is the male assumption — it runs the other way for a female chart), and without birthHour it carries hourAssumption with the measured spans the missing hour leaves open (day-master strength, 用神, 格局, and the 23:00–24:00 晚子時 day-roll) — certified when the hour provably cannot change the verdicts; bazi.forecast shares both markers, and the LLM readings frame themselves by them.

Cost: 15 TIAN Points per call. tRPC procedure `bazi.chart`.

## Query parameters

- `input` string

## Response `200`

tRPC result envelope

- TrpcResult: tRPC HTTP response envelope.
  - `result` object
    - `data` object: The procedure's return value (system-specific).

---

[API](https://skmtc.dev/asktian/apis/asktian-metaphysics-api.md) · [All operations](https://skmtc.dev/asktian/apis/asktian-metaphysics-api/llms.txt) · [OpenAPI document](https://skmtc.dev/asktian/apis/asktian-metaphysics-api/revisions/3c8fdc979206?raw)
