BaZi Compass Pro
Premium UX • Powered by Your SSOT Engine
Your compass awaits

Enter birth details and press Calculate BaZi Compass.
Live mode calls the SSOT engine; offline mode uses a fixed mirror formula.

Integration Guide for thearties.com

  1. Keep SSOT: your existing websites/api worker stays source of truth — no calculation duplication.
  2. Frontend Swap: replace the current form with this Pro UX shell — it calls the same endpoint via adapter.
  3. Response contract: { year:{stem,branch}, month, day, hour, tenGods, elements, luckPillars:[{age,year,stem,branch}], dailyQi:{todayPillar, wear, face, eat, lucky, bestHours[], do[], avoid[], insight} }
Adapter Snippet
const SSOT_ADAPTER = {
  async calculate(input){
    const res = await fetch(
      'https://api.thearties.com/api/daily/personalized',
      {method:'POST', headers:{'Content-Type':'application/json'},
       body: JSON.stringify(input)}
    );
    return await res.json(); // must match contract
  }
}