Skip to content
BaZi is a traditional framework for reflection, not a scientific prediction of your life.How It Works

FIELD NOTES

BaZi Chart API

Read-only BaZi chart API. Send a date, time, time zone, and optional longitude. The JSON includes pillars, Ten Gods, Da Yun, and a link back to LensEast.

Year and month pillars use solar-term instants, including Li Chun for the year and Jie terms for the month. The default day and hour clock is birthplace civil time, including historical time-zone rules, and the day changes at local midnight. We do not move the day boundary to 23:00. The hour pillar uses lunar-typescript 1.8.6 sect 2: 23:00–00:59 remains Zi, and the hour stem follows that library's late-Zi rule. True solar time is optional. It shifts only the day and hour clock by birthplace longitude and the equation of time. Luck-cycle timing stays on the civil instant. The two clocks are separate conventions. Five Elements are an unweighted count of visible stems and branches, not a strength judgment. Unknown birth time leaves the hour pillar and luck cycles blank. On a solar-term boundary, an unknown time can also leave the year or month pillar unknown. We do not guess a missing hour.

The free chart does not need an email. The BaZi Career & Life Direction Report is USD 19.90 once, with seven days of web access and a downloadable copy. There is no subscription.

GET /api/bazi/chart

Both clocks are shown when a longitude is entered. Year and month pillars stay on solar-term instants. Luck-cycle timing stays on the civil instant. Neither clock is a stronger result.

True solar time needs a recorded birth hour. An unknown hour stays blank.

curl "https://lenseast.com/api/bazi/chart?date=1990-05-15&time=10:30&tz=Asia/Singapore&lon=103.85&lat=1.35&solar=false&sex=female"

OpenAPI

Create My Chart · Reproducible BaZi Calculation: 15 August 2008, Xiamen · Example BaZi Charts · Civil time and true solar time

BaZi is a traditional framework for reflection, not a scientific prediction of your life.