Feng Shui API: Flying Stars, Kua & Tong Shu
The only comprehensive Feng Shui API.
All 144 Flying Star charts, Kua number calculator, annual afflictions, Tong Shu date selection. Build feng shui apps in minutes, not months.
API Performance Metrics
Built for production feng shui applications
Complete Feng Shui Toolkit
Everything a professional feng shui master uses, as an API
Flying Stars (Xuan Kong)
Kua Number Calculator
Annual Afflictions
Tong Shu Date Selection
Space Analysis
24 Mountains
Remedies Database
Business Feng Shui
Multi-language Support
What is Feng Shui API? Complete Developer Guide
Everything you need to build feng shui features into your apps
Ever tried building a feng shui app and got stuck on the calculations? Flying Stars alone has 144 different natal charts based on period and facing direction. Then add annual stars, monthly stars, Kua numbers, and you're looking at weeks of development just for the math. Our Feng Shui API handles all that complexity - you send a request, you get back complete analysis with interpretations in under 300ms. It's the same calculations used by professional feng shui masters in Hong Kong, not some simplified Western version. Perfect for real estate platforms targeting Asian markets, mobile feng shui apps, or interior design software. We're in Period 9 now (started Feb 2024), so all our calculations are current - unlike desktop software stuck in Period 8.
How Does the Flying Stars API Work?
Flying Stars (Xuan Kong Fei Xing) maps energy across 9 sectors of any building.
You send us the facing direction in degrees and construction period, we return all 9 palace positions with base star, mountain star, and water star.
Each combination has specific meanings - some bring wealth, others cause problems.
Our API includes interpretations for all 81 possible star combinations, plus annual and monthly overlays.
Response format is clean JSON that's easy to render in any UI.
Most feng shui apps show a 3x3 grid with numbers - those are the flying stars we calculate.
The tricky part (which we handle) is the 'flying' pattern - stars don't just sit there, they move in specific sequences based on the center number.
What Can I Build with Kua Number Calculator API?
Kua numbers determine personal favorable directions for sleep, work, and relationships.
Calculate once from birth date and gender, use everywhere in your app.
Our API returns the Kua number (1-9), East or West group classification, all 8 directional influences (Sheng Qi, Tian Yi, etc.), and compatible/incompatible directions.
Real estate apps use this to match properties to buyers - a Kua 1 person wants a different facing direction than Kua 6.
Dating apps use it for compatibility.
Productivity apps suggest optimal desk facing directions.
The API also returns which elements strengthen or weaken the person's energy, useful for color and decor recommendations.
Why Do Annual Afflictions Matter for Feng Shui Apps?
Every year the energy shifts.
Tai Sui (Grand Duke Jupiter) moves to a new position - disturbing that sector causes bad luck.
Five Yellow (worst affliction) lands somewhere different each year.
Three Killings affects an entire 90-degree span.
Your users need to know where these are to avoid problems.
Our API tracks all afflictions with exact degree positions, affected zodiac signs, and recommended remedies.
The data auto-updates at Chinese New Year (February).
For 2025 Snake year: Tai Sui is in Southeast, Five Yellow in West, Three Killings in East.
Apps that show 'feng shui for 2025' need this data - it's what users search for every January.
How Does Tong Shu Date Selection API Help Users?
Tong Shu is the traditional Chinese almanac - it tells which days are good for specific activities.
Moving house? Some days are auspicious, others disastrous.
Getting married? The date affects the marriage.
Starting a business? Choose wrong and face obstacles.
Our API analyzes any date and returns: Day Officer (12 types), 28 Constellation, clash animals, auspicious activities, things to avoid, and best hours.
Wedding planning apps love this - users can search for the best wedding dates in a range.
Real estate apps show optimal moving dates.
The calculations combine lunar calendar, stem-branch cycles, and constellation positions.
Feng Shui API vs Desktop Software: What's the Difference?
FSML Professional costs $110/year and runs on Windows only.
No API, no mobile, no integration.
Every calculation requires manual data entry.
Our API costs $11/month for 5,000 requests - that's enough for a small app with thousands of users.
You get REST endpoints that work anywhere, SDKs for popular languages, and calculations that match professional desktop software.
The algorithms are identical - we use the same classical formulas from traditional feng shui texts.
But we add modern conveniences: multi-language support, JSON responses, webhook notifications for annual updates.
Desktop software is for consultants doing one analysis at a time.
Our API is for developers building products that serve thousands.
Which Industries Use Feng Shui API?
Real estate is huge - Asian property buyers expect feng shui analysis.
In Hong Kong, bad feng shui can drop property value 10-20%.
Our API lets platforms add 'Feng Shui Score' alongside Walk Score.
Interior design apps use Flying Stars to recommend colors and furniture placement for each room.
Mobile feng shui apps (there are hundreds on app stores) need calculation backends - that's us.
Dating apps targeting Asian markets add Kua compatibility.
Wellness platforms include feng shui in holistic lifestyle features.
Smart home systems optimize room usage based on energy flow.
Even gaming companies use it for virtual world building.
If your users care about Chinese culture, they probably care about feng shui.
Use Cases
Real Estate Platforms
Add Feng Shui Score to listings. Property analysis, facing direction assessment, affliction warnings for Asian market buyers
Mobile Feng Shui Apps
Power your iOS/Android app with professional calculations. Flying Stars, Kua, date selection - complete backend
Interior Design Software
Room-by-room recommendations based on Flying Stars. Color schemes, furniture placement, element balancing
Dating & Compatibility Apps
Kua number matching for relationship compatibility. East/West group analysis, element harmony
Wedding & Event Planning
Tong Shu integration for auspicious date selection. Best days for ceremonies, launches, moves
Business & Productivity Tools
Office feng shui optimization. Desk directions, meeting room selection, career enhancement
Technical Specifications
| API Response Time | <300ms average, <500ms p99 |
| Flying Star Charts | 144 natal charts (all periods + directions) |
| Star Combinations | 81 interpretations with remedies |
| Kua Calculations | 9 Kua numbers, 8 directions each |
| Annual Afflictions | Tai Sui, Five Yellow, Three Killings, Sui Po |
| Date Selection | 12 Day Officers, 28 Constellations |
| Languages Supported | 9: EN, ZH, ES, DE, FR, PT, IT, NL, PL |
| Compass Precision | 24 Mountains (15-degree sectors) |
| Period Support | Periods 1-9 (1864-2043) |
| Remedies Database | 500+ traditional cures catalogued |
| SDK Availability | JavaScript, Python, PHP, Ruby |
| Uptime SLA | 99.9% availability guarantee |
Feng Shui API vs Alternatives
| Feature | Astrology API | Others |
|---|---|---|
| Flying Stars (all 144 charts) | Yes | Partial or none |
| Annual/Monthly Stars | Yes, auto-updated | Manual only |
| Kua Calculator | Full analysis | Basic number only |
| Tong Shu Date Selection | Complete system | Not available |
| Annual Afflictions | All 4 types + remedies | Not available |
| Space Analysis | Multi-occupant support | Not available |
| REST API | Yes | Desktop only (FSML) |
| Multi-language | 9 languages | English only |
| Price | From $11/month | $110/year (single user) |
| Mobile Integration | Full SDK support | Not possible |
Simple, Transparent Pricing
Start free, scale as you grow. No hidden fees, no surprises.
Starter
For small apps and personal projects
- All basic endpoints
- 12 house systems
- Email support
Professional
For growing astrology applications
- All enhanced endpoints
- 23 house systems
- AI interpretations
- Priority support
Business
For high-volume applications
- ALL endpoints
- White-label ready
- Phone support
All plans include comprehensive documentation and SDKs
Questions? Talk to our team
Frequently Asked Questions
Everything developers need to know about Feng Shui API
Explore Related APIs
Feng Shui API works great with other Chinese astrology endpoints for comprehensive features.