Purple Star Astrology

The Zi Wei Dou Shu API Emperors Would Approve

Authentic 108-star Purple Star Astrology calculations in under 300ms.

The most detailed Chinese astrology system for your apps.

View Demo
<300ms
Response Time
108
Stars Calculated
12
Life Palaces
85%
Accuracy
Used by Chinese astrology apps
99.95% SLA availability
Authentic traditional methods

Enterprise Performance Metrics

Built for scale, optimized for authentic calculations

<300ms
Response Time
108
Stars
3
Languages
85%
Accuracy

Complete 108-Star Zi Wei Dou Shu Analysis

From basic charts to advanced flying star calculations

14 Major Stars

12 Life Palaces

Star Brightness

Flying Stars

Advanced Analysis

What is Zi Wei Dou Shu (紫微斗数) API? Complete Purple Star Astrology Guide

Everything developers need to know about the Emperor's astrology system for modern apps

Zi Wei Dou Shu (紫微斗数), also called Purple Star Astrology, is like the secret weapon Chinese emperors used for major decisions. While BaZi is popular, Zi Wei Dou Shu goes way deeper - it uses 108 stars arranged across 12 life palaces to map your entire destiny. Think of it as upgrading from a compass to GPS. Our API calculates authentic Zi Wei Dou Shu charts in under 300ms, tracking all 108 stars including the famous Zi Wei star (the Emperor Star). Perfect for astrology apps that want to offer something unique and powerful that most competitors don't have.

01

How does Zi Wei Dou Shu Purple Star calculation work?

Zi Wei Dou Shu maps your birth moment onto a chart with 12 'palaces' (like rooms in a mansion), each representing a life area: career, wealth, relationships, health, etc.

Then it places 108 stars across these palaces based on complex formulas developed over 1,000 years ago.

The position of the Zi Wei star (Purple Star/Emperor Star) is calculated first - it's the anchor that determines where all other stars go.

Unlike Western astrology that uses actual planet positions, Zi Wei Dou Shu uses symbolic stars with specific meanings.

Each palace can have 5-10 stars influencing it, creating nuanced readings that Western systems can't match.

108 stars across 12 palaces for deep life analysis
1 min read
02

What are the 12 Palaces in Zi Wei Dou Shu charts?

The 12 palaces are like 12 departments of your life: Life Palace (core personality), Parents Palace, Fortune Palace (hidden blessings), Property Palace, Career Palace, Friends Palace, Travel Palace, Health Palace, Wealth Palace, Children Palace, Spouse Palace, and Siblings Palace.

Each palace tells a different story.

For example, someone might have excellent Career Palace stars but challenging Wealth Palace - meaning they're successful at work but struggle to keep money.

Our API analyzes all 12 palaces with detailed star placements and interpretations.

It's like getting 12 readings in one.

12 life areas analyzed in one comprehensive chart
1 min read
03

What makes Zi Wei Dou Shu (紫微斗数) different from BaZi (八字)?

BaZi (Four Pillars) uses 4 elements to describe your destiny.

Zi Wei Dou Shu uses 108 stars across 12 houses - that's way more data points for analysis.

It's like comparing a thermometer (BaZi) to a full weather station (Zi Wei Dou Shu).

BaZi tells you 'you're a Metal person.' Zi Wei Dou Shu tells you 'you have the Emperor Star in your Career Palace with the Wealth Star supporting it, but the Lonely Star in your Spouse Palace might delay marriage.' Much more specific and actionable.

Many Chinese astrologers use both systems together.

108 stars vs 4 pillars - exponentially more detailed
1 min read
04

How accurate is Zi Wei Dou Shu for predictions?

Zi Wei Dou Shu has been the preferred system for Chinese imperial courts and elite families for over 1,000 years.

Its accuracy comes from using exact birth time (down to the 2-hour period) to calculate precise star positions.

Users report 80-90% accuracy for personality descriptions and 75% accuracy for life event timing.

The system excels at identifying specific challenges and opportunities in each life area.

Our API uses traditional formulas from classical texts while handling all the complex calculations automatically.

80-90% personality accuracy with traditional methods
1 min read
05

What are Flying Stars in Zi Wei Dou Shu?

Flying Stars (飞星) are stars that 'fly' from one palace to another based on your 10-year luck periods and annual cycles.

It's like a dynamic overlay on your birth chart that changes over time.

For example, your Wealth Palace might have neutral stars in your birth chart, but during certain periods, powerful flying stars arrive that boost your money-making ability.

Our API calculates both static birth chart stars AND flying stars for any time period.

This makes timing predictions extremely accurate.

Dynamic flying stars reveal timing opportunities
1 min read
06

How to integrate Zi Wei Dou Shu API into your app?

Integration is straightforward: (1) Send birth date, time (2-hour Chinese hour), and gender via POST request, (2) Get complete chart with all 108 stars positioned across 12 palaces, (3) Display using our formatted interpretations.

We handle the complex star calculations - you just show results.

Perfect for: fortune-telling apps (detailed readings), dating apps (compatibility matching), business platforms (timing advice).

Response time under 300ms keeps your app fast.

Simple REST API, complex calculations handled for you
1 min read

Use Cases

Dating & Compatibility Apps

Zi Wei Dou Shu Spouse Palace analysis for matching, relationship timing, and marriage compatibility predictions

Business & Career Platforms

Career Palace analysis for professional guidance, business timing, leadership assessment, and partnership matching

Financial Planning Apps

Wealth Palace analysis for investment timing, prosperity periods, and financial opportunity forecasting

Premium Astrology Apps

Offer Zi Wei Dou Shu as a premium feature - detailed 108-star readings that differentiate from basic horoscopes

Taiwanese & Chinese Markets

Zi Wei Dou Shu is extremely popular in Taiwan, Hong Kong, and Chinese communities - authentic readings build trust

Educational Platforms

Chinese astrology learning apps, traditional wisdom courses, cultural education platforms

Technical Specifications

API Response Time<300ms average (faster than loading a webpage)
Stars Calculated108 stars including 14 major stars and 94 minor stars
Palace SystemComplete 12-palace analysis with star placements
Historical Range1900-2100 CE with full accuracy
Flying Stars10-year major periods plus annual flying star overlays
Birth Time SystemTraditional 12 Chinese hours (2-hour periods)
Star BrightnessMiao, Wang, De, Xian, Luo brightness levels
Interpretation DepthEach palace with multiple stars and interactions explained
Compatibility AnalysisCompare two charts for relationship harmony scoring
Language SupportTraditional Chinese, Simplified Chinese, English
Output FormatsJSON with star positions, palace descriptions, interpretations
Chart SchoolsSan He (Three Harmony) and Flying Star methods supported
Timezone SupportGlobal locations with accurate Chinese hour conversion
SDK SupportJavaScript, Python, PHP, Ruby, Swift, Kotlin
Traditional MethodsBased on classical Zi Wei Dou Shu texts and formulas

Zi Wei Dou Shu API Comparison - Professional vs Basic

FeatureAstrology APIOthers
Stars Calculated108 stars (complete)14-40 stars (partial)
Palace AnalysisAll 12 palaces with interpretationsMain palaces only
Flying Stars10-year + annual flying starsNot available
Star Brightness5 levels calculatedBasic or missing
Interpretation QualityProfessional astrologer levelGeneric descriptions
Chart SchoolsSan He + Flying Star methodsSingle method only
CompatibilityFull Spouse Palace comparisonBasic or missing
Response Time<300ms1-5 seconds
Language SupportChinese + EnglishChinese only or poor translation
API IntegrationClean REST API + SDKsComplex or no API
Price$37/month$99-299/month
Free Tier100 calculations10-50 calculations
DocumentationComplete with examplesMinimal or outdated
Historical Accuracy1900-2100 preciseLimited date range
Setup Time30 minutes2-5 hours

Related Chinese Astrology APIs

Simple, Transparent Pricing

Start free, scale as you grow. No hidden fees, no surprises.

Always Free

Start Free

Perfect for learning, testing, and small personal projects

100 API calls/month
Basic natal charts
5 house systems
Community support

Starter

$11/month

For small apps and personal projects

5,000 requests/mo
  • All basic endpoints
  • 12 house systems
  • Email support

Business

$99/month

For high-volume applications

220,000 requests/mo
  • ALL endpoints
  • White-label ready
  • Phone support

Enterprise

UNLIMITED

Unlimited requests with dedicated infrastructure

Dedicated server infrastructure
Sub-300ms guaranteed
Custom AI model training
24/7 dedicated support
White-label & custom branding
99.99% uptime SLA
$399+
per month

All plans include comprehensive documentation and SDKs

Questions? Talk to our team

Frequently Asked Questions About Zi Wei Dou Shu API

Real answers about Purple Star Astrology calculations

Start With

Join developers building the next generation of Chinese astrology apps. Authentic Zi Wei Dou Shu methods in a modern API.

Start FreeView Documentation
30-day money-back
Complete 108-star analysis
No setup fees
Zi Wei Dou Shu API: Purple Star Astrology for Your App