Chinese astrology
AvailableEight 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
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
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.
systemstringnot_vastubooleanseparationstringbasisstringinputobjectkua_yearnumberyear_boundaryobjectdigit_of_yearnumberkua_numbernumberkua_number_before_five_rulenumberkua_five_ruleanytrigramstringkua_directionstringgroupstringrulestringfavourable_directionsarray of objectunfavourable_directionsarray of objectrecommended_sectorsobjectlimitsstring
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.
Related endpoints
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.


