EN
FreeAstroAPIBuild Astrology apps in minutes
High-precision natal charts, transits, and synastry calculations for your next astrology app. Built for developers who demand accuracy and speed.
Trusted by builders
3,580 developers ship with FreeAstroAPI
88 paid subscribers·Actively maintained·Developer-first support
Global Accuracy
Swiss Ephemeris Professional licence for the highest precision and accurate timezone handling.
Lightning Fast
Optimized calculation engine for millisecond response times.
Developer First
Clean REST API, comprehensive documentation, and 99.9% uptime SLA.
Vedic Mastery
Complete Sidereal system with 16 Varga charts, Dasha systems, and Panchang.
Built for Modern Developers
Pure JSON responses, typed schemas, and easy integration with any stack.
Native JSON API
Get clean, predictable JSON responses ready for your frontend. No parsing complex text or legacy formats.
Zero Config Integration
Works with React, Vue, Node.js, Python, or any HTTP-capable language. Just fetch and display.
Type-Safe Responses
Consistent data structures for planets, houses, and aspects make TypeScript integration a breeze.
{
"subject": {
"name": "Gabriel",
"city": "Paris"
},
"planets": [
{
"name": "Sun",
"sign": "Vir",
"pos": 12.7,
"house": 11
}
],
"aspects_summary": {
"total": 28,
"major": 28,
"by_type": {
"Conjunction": 12,
"Opposition": 5
}
}
}Planetary Positions
Precise calculations for all major bodies: Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, and Pluto.
- • Tropical Zodiac
- • Retrograde status
- • Precise Geocentric Positions
House Systems
Standardized calculations using the most popular house system for Western Astrology.
- • Placidus System (Default)
- • 12 Houses Calculation
- • Ascendant & Midheaven (via Cusps)
Aspects & Geometry
Detailed geometric relationships between planets for in-depth interpretation.
- • Major Aspects (Conjunction, Trine, Square, etc.)
- • Orbs calculation
- • Precise Angular Separation
Themeable Natal Charts with Fine-Grained Controls
- • Output formats: SVG and high-resolution PNG
- • Theme modes: light, dark, mono, plus custom_theme overrides
- • Full
chart_configcontrol: rings, line widths, colors, aspect styling - • Body toggles with
display_settings(planets, nodes, points) - • House systems: placidus, whole_sign, equal, koch, and more
- • Retrograde markers: enable + choose marker style
- • Zodiac options: tropical or sidereal (with ayanamsa)
Kundli API for Indian Astrology Apps
Build AstroSage-like Vedic astrology products.
Includes Indian city and timezone lookup so users can enter birth places correctly before chart calculation.
Indian astrology coverage by endpoint
Ascendant, planets, houses, signs, Nakshatra, Pada
D1, D2, D3, D7, D9, D10, D12, D30, D60
Birth balance, active periods, nested timing stack
Tithi, Nakshatra, Yoga, Karana, Rahu Kalam
Ashtakoota score and dosha checks
City, locality, district, timezone, latitude, longitude
Customizable SVG and PNG Vedic astrology chart API
Professional Chinese BaZi
Advanced Four Pillars analysis featuring 12 Life Stages, automated Day Master strength scoring, and precise solar time standards. Perfect for building Feng Shui or Destiny analysis tools.
{
"day_master": {
"element": "Metal",
"strength": "Weak"
},
"pillars": {
"year": "Jia Chen",
"month": "Bing Yin"
},
"shen_sha": ["Nobleman", "Travel Horse"]
}Check Our Api playground
API Playground
Is this API free to use?
Yes. We offer a generous Free Tier that allows up to 80 requests per day forever. It's perfect for hobbyists, students, and testing.
Do you provide a free MCP server and LLM files?
Yes. The hosted MCP server is available on every tier, including Free, and uses your normal API key and plan limits. We also publish /llms.txt and document the AI agent files in Utilities.
What astrology system do you use?
We specialize in precise Western Astrology calculations. We also support Vedic Astrology and Chinese Metaphysics.
How accurate is the timezone data?
Extremely accurate. We use the IANA Time Zone Database combined with historical location data to handle daylight saving shifts and historical time changes automatically.
Do you support other House Systems?
Yes. While Placidus is the default, we support all major house systems including Whole Sign, Koch, Regiomontanus, Equal, and Porphyry.
Can I use this for commercial apps?
Yes. Commercial use is permitted on all tiers, including paid apps and subscription services, within your plan’s quotas and rate limits.
Can I store calculation data and sell AI-assisted astrology reports under my own brand?
Yes. You may retain natal and transit calculation outputs indefinitely, use them as input to AI systems, and sell your own personalised reports without mandatory FreeAstroAPI branding. We hold a Swiss Ephemeris Professional License for our use of Swiss Ephemeris. Separate third-party data attribution requirements still apply, including for GeoNames location data. See our Terms of Use for the scope of these permissions.
Can I cancel my subscription anytime?
Yes, there are no long-term contracts. You can cancel your subscription at any time from your dashboard.
Do you have a Moon Phase API?
Yes. We offer a dedicated Free Moon API for detailed phases, eclipses, and real-time SVG visuals.
Ready to Build Your Astrology App?
Start building your astrology application today. No credit card required.