Which House Direction Suits Your Age? Bát Trạch Lookup

Life palace (cung mệnh) by lunar birth year and sex, East / West group, the four good and four bad directions, a facing check and couple compatibility.

Free tool: 20 requests per minute.

Result

Press “Run” to see the result.

Implements the Eight Mansions school (Bát trạch) used in Vietnamese real estate: from the lunar birth year and the sex it returns the life palace (cung phi: Khảm, Khôn, Chấn, Tốn, Càn, Đoài, Cấn, Ly), its element and East / West group, and the eight directions with their stars: Sinh khí, Thiên y, Diên niên and Phục vị (good), Họa hại, Ngũ quỷ, Lục sát and Tuyệt mệnh (bad), each with its compass range.

Send a solar birth_date and the lunar year is computed (people born before Tết belong to the previous year). Add facing (degrees or a direction) to check a door, house or desk, and partner_year to compare a couple’s palaces and find their common good directions.

This is folk belief, given as cultural reference: it has no scientific basis. The formula is the common one (men: (2 − year) mod 9, women: (year − 5) mod 9, 5 → Khôn for men, Cấn for women).

Use this in your code

curl "https://apibox.io.vn/v1/vn-house-direction?year=1990&sex=male&facing=135" \
  -H "Authorization: Bearer YOUR_API_KEY"

API documentation → Get a free API key

FAQ

Is the year the solar or the lunar year?

The lunar year. Send birth_date to have it computed, or year if you already know the lunar year.

Which school is used?

Bát trạch with the usual cung phi formula; other schools may differ for some years.

What is the house direction?

The direction the main door faces, measured from inside the house looking out.