Use CaseBirth ChartDivisional ChartsYogas

Kundli API for Websites & Apps
10 Endpoints. One Integration.

Get planets, houses, divisional charts D1–D60, yogas, and ashtakvarga from a single REST API call. Swiss Ephemeris runs locally — no third-party compute dependency.

Get Free API Key →API Documentation

Kundli Endpoints

GET /horoscope/planet-details
All 9 planets + Rahu/Ketu with sign, degree, nakshatra, house, retrograde status
Params: dob, tob, lat, lon, tz, ayanamsa
GET /horoscope/divisional-charts
All divisional charts D1 through D60 (Navamsa, Drekkana, etc.) in one call
Params: dob, tob, lat, lon, tz, chart_type
GET /horoscope/chart-image
Kundli chart as SVG or PNG — North Indian or South Indian style
Params: dob, tob, lat, lon, tz, style, format
GET /horoscope/ascendant-report
Full ascendant (lagna) analysis with characteristics
Params: dob, tob, lat, lon, tz
GET /horoscope/planet-report
Per-planet interpretation including house lordship, dignity, relationships
Params: dob, tob, lat, lon, tz, planet
GET /horoscope/ashtakvarga
Sarva and Bhinna Ashtakvarga tables
Params: dob, tob, lat, lon, tz
GET /horoscope/planetary-aspects
All planetary aspects with strength and orb
Params: dob, tob, lat, lon, tz
GET /extended-horoscope/shad-bala
Complete Shadbala strength analysis for all planets
Params: dob, tob, lat, lon, tz
GET /extended-horoscope/yoga-list
All yogas present in the chart (100+ yoga types)
Params: dob, tob, lat, lon, tz
GET /extended-horoscope/extended-kundli-details
Extended kundli with additional chart details
Params: dob, tob, lat, lon, tz

Integration Example

kundli.js
// Full kundli in one call
const kundli = await fetch(
  'https://vedintelastroapi.com/api/v1/horoscope/planet-details' +
  '?api_key=vai_YOUR_KEY' +
  '&dob=25/12/1990' +     // DD/MM/YYYY
  '&tob=08:45' +           // HH:MM (24hr)
  '&lat=19.0760' +         // Mumbai
  '&lon=72.8777' +
  '&tz=5.5' +              // IST
  '&ayanamsa=lahiri'
).then(r => r.json())

// Get chart image (North Indian SVG)
const chart = await fetch(
  'https://vedintelastroapi.com/api/v1/horoscope/chart-image' +
  '?api_key=vai_YOUR_KEY&dob=25/12/1990&tob=08:45' +
  '&lat=19.0760&lon=72.8777&tz=5.5' +
  '&style=north&format=svg'
).then(r => r.json())

// chart.response.image is a base64 SVG
document.getElementById('kundli').innerHTML =
  atob(chart.response.image)

Kundli API — FAQs

What data does the Kundli API return?
The planet-details endpoint returns all 9 planets (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu) plus Uranus, Neptune, Pluto for each: zodiac sign, precise degree, nakshatra (and pada), house placement, retrograde status, and dignity (exalted/debilitated/own sign). The response also includes ascendant position and chart metadata.
Does the API return divisional charts (D2, D9, D10, etc.)?
Yes. The /horoscope/divisional-charts endpoint returns all divisional charts from D1 (Rashi) through D60 (Shashtiamsha). Pass chart_type=D9 for Navamsa, chart_type=D10 for Dasamsa, or chart_type=all to get every divisional chart in one call.
Can the API generate a kundli chart image?
Yes. The /horoscope/chart-image endpoint returns a kundli diagram as SVG (default) or PNG. Pass style=north for North Indian (diamond) style or style=south for South Indian (square) style. The response includes the chart as a base64-encoded string ready to render in an <img> tag or embed inline.
How do I get the correct latitude/longitude for a birth place?
You can use any geocoding API (Google Maps, OpenStreetMap Nominatim, etc.) to convert a city name to lat/lon. Our API accepts any decimal coordinates with up to 4 decimal places of precision. For IST (India Standard Time), always pass tz=5.5.
Related Use Cases
Panchang APIDasha APIMarriage Matching APISwiss Ephemeris Guide

Ready to add Kundli to your app?

50 free calls. All 10 kundli endpoints. No credit card required.

Get Your Kundli API Key →