Live API • v2.0

The Astrology API
for Jyotish & Western

Production-ready REST API covering birth charts, dashas, transits, compatibility, panchang, and 50+ endpoints — in both Vedic and Western astrological systems.

Start Free Explore Endpoints
cURL • Birth Chart
# Get a Vedic birth chart with dashas curl -X POST https://starsapi.com/api/v2/d-charts-api.php \ -H "X-Api-Key: YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"dob":"1990-06-15", "tob":"14:30", "lat":"28.6139", "lon":"77.2090", "tz":"5.5", "system":"vedic"}'

Everything Under
the Celestial Vault

From precise planetary positions to complex dasha calculations, StarsAPI handles the astronomical and astrological heavy-lifting so you can focus on your application.

Birth Charts (D1–D60)

Rasi, Navamsa, and all divisional charts with planetary positions, aspects, house lords, and dignities in both North and South Indian styles.

Dasha Systems

Vimshottari, Yogini, and Chara dasha with multi-level periods (Mahadasha → Antardasha → Pratyantardasha) and current running dasha identification.

Transit Engine

Real-time and historical transits — sign ingress, nakshatra transit, retrograde stations, planetary combustion across sidereal and tropical zodiacs.

Compatibility

Ashtakoot (8 Kutas), Dashakoot (10 Kutas), Manglik analysis, Papasamya, and synastry charts for comprehensive kundli matching.

Panchang & Calendar

Tithi, Nakshatra, Yoga, Karana, Muhurta, Rahukaal, Ekadashi, Purnima, Amavasya — full Hindu calendar data with sunrise-based calculations.

Western Astrology

Tropical zodiac positions, Placidus houses, major/minor aspects, composite & Davison relationship charts, and progressed charts.

Two Traditions,
One Unified API

🕉

Vedic / Jyotish

Sidereal zodiac with Lahiri, Raman, Krishnamurti & more ayanamsas. Full Panchang, Nakshatras, Dashas, Yogas, and Divisional charts.

Sidereal Nakshatras Dashas Panchang Ashtakoot D1–D60

Western

Tropical zodiac with Placidus, Koch, Whole Sign & Equal house systems. Aspects, synastry, composite charts, and progressions.

Tropical Placidus Aspects Synastry Composite Davison

Key Endpoints

Clean JSON responses, consistent request format, CORS-ready. All endpoints accept POST with JSON body and API key via header.

POST /api/v2/d-charts-api.php Birth chart + planets
POST /api/v2/dasha-api.php Vimshottari dasha periods
POST /api/v2/transit-overview-api.php Transit overview & predictions
POST /api/v2/compatibility-api.php Kundli matching & synastry
POST /api/v2/panchang-api.php Daily panchang data
POST /api/v2/ekadashi-api.php Ekadashi dates & details
POST /api/v2/synastry-api.php Synastry chart analysis
GET /include/suggest-location.php Location autocomplete

Simple, Transparent Plans

Start free and scale as your application grows. No hidden fees.

Explorer

Free
For testing & development
  • 100 API calls / day
  • All endpoints included
  • Vedic & Western systems
  • Community support
Get Free Key

Enterprise

Custom
For high-volume & white-label
  • Unlimited API calls
  • Dedicated infrastructure
  • Custom endpoints
  • SLA & priority support
Contact Us

Ready to Build?

Integrate celestial intelligence into your app in minutes. Free tier available — no credit card required.

Get Your API Key