Asian users expect authentic Chinese astrology, not Western knock-offs.
Our API makes integration super easy: (1) Send birth date/time/location, (2) Get complete Four Pillars chart in JSON format, (3) Display with our formatted interpretations in Chinese/English.
Grab a free api key from the dashboard and all three steps work immediately, no separate approval process.
We handle all the complex calendar conversions and cultural nuances.
Perfect for dating apps (compatibility matching), business platforms (timing advice), wellness apps (elemental balance), or divination features.
Response time under 250ms won't slow down your app, and authentic calculations build trust with Asian users.
If you'd rather connect through an AI assistant than write integration code, our MCP server exposes the same BaZi endpoints as tools Claude and other MCP-compatible clients can call directly.
There is no separate package to install if you searched for a python library for bazi four pillars calculation: the same REST call works from Python, Node or anything else that speaks HTTP, and the API BaZi calculator JSON response has the same shape everywhere.
A BaZi API JSON payload carries the pillars, elements and Ten Gods together, so nothing needs a second round trip.
If your product also covers Zi Wei Dou Shu, the two systems read the same birth information differently, so keep them as separate calls rather than trying to merge them.
Authentic Chinese calculations that Asian users trust