Chinese
chinese

Calculate BaZi (Four Pillars)

Calculate Chinese BaZi (Four Pillars of Destiny) chart. Includes:

  • 4 Pillars (GanZhi) for Year, Month, Day, Hour
  • 5 Element Analysis (Wu Xing)
  • Solar Term indicators

Timezone handling:

  • Uses "AUTO" by default to resolve valid LMT (Local Mean Time) for historical dates.
post/api/v1/chinese/bazi

Request

  • Base URL: https://api.freeastroapi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.freeastroapi.com/api/v1/chinese/bazi
  • Auth: none declared

Headers

x-api-keystring nullable

Request body

yearinteger required
monthinteger required
dayinteger required
hourinteger
minuteinteger
latnumber nullable
lngnumber nullable
citystring nullable
tz_strstring nullable
sex'M' | 'F'
time_standard'civil' | 'true_solar' | 'true_solar_absolute'
calendar'gregorian' | 'julian'
include_ten_godsboolean
include_pinyinboolean
include_starsboolean
include_interactionsboolean
include_professionalboolean
include_debugboolean
include_current_flowboolean
langstring

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.