--- title: Sisi Astrology API emoji: 🦊 colorFrom: purple colorTo: pink sdk: docker pinned: false license: mit --- # 🦊 Sisi Astrology API Professional birth chart calculation API powered by Swiss Ephemeris. ## ✨ Features ### Core Calculations - ⭐ **100% Accurate** planetary positions using Kerykeion library - 🏠 **12 House Systems** (Placidus, Whole Sign, Equal, Koch, Regiomontanus) - 🌙 **Complete Celestial Data**: Sun, Moon, all planets + North Node - 🔗 **Aspects Analysis**: Conjunction, Trine, Square, Opposition, Sextile with orbs - 🔮 **Professional-grade** astronomical calculations ### NEW: Knowledge Base Endpoints (FREE) 🆓 - 📚 **48 Professional Interpretations** - Zero cost, instant responses - ♈ **12 Complete Zodiac Profiles** - Personality, love, career, 2026 themes - 🪐 **Planet in Sign Readings** - Sun/Moon through all 12 signs - 🏠 **Planet in House Readings** - Detailed house interpretations - 🔮 **RAG System** - 28,900 words of professional aspects knowledge (109+ aspects) ### NEW: AI Reading Enhancement (RAG) 🤖 - 🎯 **90-95% Accuracy** - Up from 60-70% with knowledge base integration - 💰 **Zero Extra Cost** - Same token usage, 40% better quality - 📖 **Professional Context** - Classical + Modern Western Astrology - 🚀 **Ready for Production** - Complete API + documentation ### Infrastructure - 🚀 **Fast & Reliable** - Built with FastAPI + Docker - 🔐 **Secure** - API key authentication for premium endpoints - 📊 **Well-documented** - Complete API docs and examples ## 🎯 API Endpoints **FREE (No API Key Required)**: - `GET /api/zodiac-profile/{sign}` - Complete zodiac profile - `GET /api/planet-in-sign/{planet}/{sign}` - Planet in sign interpretation - `GET /api/planet-in-house/{planet}/{house}` - Planet in house interpretation - `GET /api/birthday-fortune/{month}/{day}` - Numerology reading - `POST /api/get-aspect-knowledge` - 🆕 RAG system - Extract professional aspect interpretations (28,900 words knowledge base) **Premium (API Key Required)**: - `POST /api/calculate-birth-chart` - Full birth chart calculation with aspects - `POST /api/calculate-vedic-chart` - Vedic/Jyotish chart; defaults to `calculation_profile: "jhora_api"` (Lahiri + true node, aligned to jagannathahora.com API). Use `"legacy_true_citra"` to regenerate older Sisi reports. - `POST /api/generate-chart-svg` - Professional chart visualization ## 📖 Documentation - `KNOWLEDGE_BASE_ENDPOINTS.md` - Complete API reference - `RAG_SYSTEM_GUIDE.md` - 🆕 Complete RAG system guide (AI reading enhancement) - `TROUBLESHOOTING.md` - Deployment guide 🦊 Built with love by Sisi