Four pillars (bazi) of a birth
compute_four_pillarsComputes the four pillars (bazi) of a birth: the stem and branch of the year, month, day and hour, and each pair's place in the sixty cycle. Stems and branches only, no interpretation. Takes "date", "time" and "place".
The month changes at the solar terms, and the hour needs the birthplace's historic UTC offset. Without a birth time the call returns a time_required refusal.
Results include an attribution line and a permalink.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Birth date, ISO YYYY-MM-DD, Dec 1926-2100. Example: "1990-06-15". | |
| time | Yes | Birth time HH:MM, local at the birthplace. Example: "08:30". Required. | |
| place | Yes | Town or city of birth with region or country. Example: "Chicago, Illinois, US". |