---
title: "Ba Zhai (八宅)"
method: GET
path: "/api/trpc/fengshui.baZhai"
tags: ["Eastern"]
---

# Ba Zhai (八宅)

`GET /api/trpc/fengshui.baZhai`

## Request

- Base URL: `https://api.asktian.com`
- URL: `https://api.asktian.com/api/trpc/fengshui.baZhai`
- Auth: HTTP bearer

八宅 Ba Zhai (Eight Mansions) — derives Ming Gua (命卦) from birth year and gender using the East/West house group system. Returns 8-direction fortune table with auspicious (生气/天医/延年/伏位) and inauspicious (祸害/六煞/五鬼/绝命) directions, scores (0–100), and LLM interpretation.

Cost: 3 TIAN Points per call. tRPC procedure `fengshui.baZhai`.

## 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)
