Kundli (Birth Chart) App
Complete Vedic birth chart with divisional charts, Ashtakavarga, and Vimshottari Dasha.
The full-featured astrology experience — rendered from just 6 API calls.
What you'll build
- D1 (Rasi) chart showing all 9 planets with sign, nakshatra, pada, and house
- Navamsa (D9) and any other divisional chart (D2 through D60)
- Ashtakavarga table (Sarva + 8 Bhinna)
- Complete 5-level Vimshottari Dasha drill-down
- Avakhada chakra (Varna, Vashya, Yoni, Gana, Nadi)
Build this with AI
Copy the full prompt below, paste it into ChatGPT, Claude, Cursor, or Lovable, and get a working Next.js implementation in minutes. No coding skill required.
Step by step
01Collect birth details
Ask the user for date, time, timezone, latitude, and longitude. Any good kundli app needs all five — the chart changes by minutes.
02Fetch the D1 (Rasi) chart and ascendant
The D1 chart is the foundation. Call planets + ascendant in parallel — each is 1 credit.
curl "https://api.divyastroapi.com/v1/chart/planets?date=1990-01-15&time=14%3A30&tz=%2B05%3A30&lat=28.61&lon=77.21" \
-H "Authorization: Bearer dv_live_..."03Fetch divisional charts
Request Navamsa (D9) and other vargas the user asks for. Each varga is a separate call so the user pays only for what they view.
curl "https://api.divyastroapi.com/v1/chart/divisional/D9?date=1990-01-15&time=14%3A30&tz=%2B05%3A30&lat=28.61&lon=77.21" \
-H "Authorization: Bearer dv_live_..."04Fetch Ashtakavarga and Dasha
Ashtakavarga (2 credits) returns the Sarva plus all 8 Bhinna charts. Vimshottari (2 credits) returns the full dasha tree.
05Cache aggressively
Birth data does not change. Cache the full computed kundli per user forever — just invalidate when they correct their birth time.
APIs used in this recipe
/v1/chart/planetsD1 planetary positions.
/v1/chart/ascendantLagna (ascendant).
/v1/chart/divisional/{varga}Any divisional chart.
/v1/chart/ashtakvargaSarva + 8 Bhinna.
/v1/chart/avakhadaAvakhada chakra.
/v1/dasha/vimshottari5-level dasha drill-down.
Next, try building
Daily Horoscope Widget
Personalized horoscope cards driven by real-time transit data, not generic sun-sign text.
Annual (Varshaphal) Yearly Report
Generate a Varshaphal (solar return) report for the upcoming birth year.
Marriage Compatibility (Ashtakoota)
Classical 36-point Guna Milan scoring with Mangal, Nadi, and Shani Dosha checks.
Ready to try? You get 500 free credits — no card needed.
Sign up for free