Skip to content
96Astro API

Chinese astrology

Available

Eight Mansions Kua and Personal Directions (Feng Shui) API

The Kua number from the date of birth and gender, the East or West group, the four favourable directions (Sheng Qi, Tian Yi, Yan Nian, Fu Wei) and four unfavourable ones (Huo Hai, Wu Gui, Liu Sha, Jue Ming), and the sectors usually chosen for the bedroom, desk, door and stove. This is the Chinese Feng Shui Eight Mansions method, not Vastu Shastra, and it is returned apart from Vastu. The Kua year turns at Lichun by default (or the Chinese New Year, or 4 February: a stated convention).

  • POST /v1/chinese/eight-mansions-kua
  • 1 credit
Request
curl https://api.96astroapi.com/v1/chinese/eight-mansions-kua \  -H "Authorization: Bearer $ASTRO_API_KEY" \  -H "Content-Type: application/json" \  -d '{
      "date_of_birth": "1985-06-15",
      "gender": "female"
    }'

Overview

The Kua number from the date of birth and gender, the East or West group, the four favourable directions (Sheng Qi, Tian Yi, Yan Nian, Fu Wei) and four unfavourable ones (Huo Hai, Wu Gui, Liu Sha, Jue Ming), and the sectors usually chosen for the bedroom, desk, door and stove. This is the Chinese Feng Shui Eight Mansions method, not Vastu Shastra, and it is returned apart from Vastu. The Kua year turns at Lichun by default (or the Chinese New Year, or 4 February: a stated convention).

Call it with POST /v1/chinese/eight-mansions-kua. Input: specific input. Output: JSON, as a direct response. Each successful call costs 1 credit.

  • POST /v1/chinese/eight-mansions-kua
  • 1 credit
  • Specific input

Try it

Runs the real calculation, free and without a key, a few times a minute. For more, and for AI readings, get a free sandbox key.

Response

Ready when you are

Press Run it to see the live response here.

Example response

Fields in dataInferred from the example response: a guide to the shape, not a contract.

  • systemstring
  • not_vastuboolean
  • separationstring
  • basisstring
  • inputobject
  • kua_yearnumber
  • year_boundaryobject
  • digit_of_yearnumber
  • kua_numbernumber
  • kua_number_before_five_rulenumber
  • kua_five_ruleany
  • trigramstring
  • kua_directionstring
  • groupstring
  • rulestring
  • favourable_directionsarray of object
  • unfavourable_directionsarray of object
  • recommended_sectorsobject
  • limitsstring
200Example response

Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items and image data is shortened.

Loading the example…

Request schema and every field: the Chinese astrology reference.

FAQ

Eight Mansions Kua and Personal Directions (Feng Shui) API: common questions

4answers

Ask the team
01What does the Eight Mansions Kua and Personal Directions (Feng Shui) API return?

The Kua number from the date of birth and gender, the East or West group, the four favourable directions (Sheng Qi, Tian Yi, Yan Nian, Fu Wei) and four unfavourable ones (Huo Hai, Wu Gui, Liu Sha, Jue Ming), and the sectors usually chosen for the bedroom, desk, door and stove. This is the Chinese Feng Shui Eight Mansions method, not Vastu Shastra, and it is returned apart from Vastu. The Kua year turns at Lichun by default (or the Chinese New Year, or 4 February: a stated convention). The response's data object includes system, not_vastu, separation, basis, input, kua_year, year_boundary and digit_of_year. See the reference for an example response.

02What input does Eight Mansions Kua and Personal Directions (Feng Shui) need?

Specific input.

03How much does a Eight Mansions Kua and Personal Directions (Feng Shui) call cost?

1 credit per successful call; a failed call is not charged. Plans and top-ups are on the pricing page.

04Can I try it before paying?

Yes. Every account gets sandbox keys and trial credits, so you can call it from your own code before choosing a plan.

Send us feedback

What is it about?