Birth chart API
Send a date, a time and a place, and get the birth chart as JSON: the Vedic kundli, the Western natal chart, or both. Draw either one as an image without writing chart code.
Get a free API key Try it in the playground
Vedic birth chart (kundli)
POST /v1/kundli (2 credits) returns the lagna and the nine grahas with sign, degree, nakshatra and pada, its lord, the house, and whether it is retrograde. Around it:
POST /v1/kundli/divisional(2 credits): divisional charts from D1 to D60, Navamsa (D9) among them.POST /v1/kundli/yogas(2 credits),POST /v1/kundli/ashtakavarga(2 credits) andPOST /v1/kundli/shadbala(2 credits): yogas, bindus and strengths.POST /v1/dasha/vimshottari(2 credits): the dasha periods from the Moon at birth.POST /v1/dosha/manglik(1 credit),POST /v1/dosha/kaal-sarp(1 credit) andPOST /v1/dosha/sade-sati(1 credit): the doshas.
curl -X POST 'https://api.astrologics.in/v1/kundli' \
-H 'Authorization: Bearer al_test_YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{"birth":{"date":"1990-08-13","time":"06:30","place":{"latitude":28.6139,"longitude":77.209}}}'Western natal chart
POST /v1/western/chart (2 credits) returns the tropical chart with Placidus, equal, whole sign or Porphyry houses, the angles and dignities, and POST /v1/western/aspects (1 credit) the natal aspects with their orbs. Synastry, composite charts, transits, progressions and returns are on the Western page.
Chart images
POST /v1/charts/{varga}.svg(2 credits) andPOST /v1/charts/{varga}.png(3 credits): the kundli in North or South Indian style.POST /v1/western/chart.svg(2 credits): the Western wheel.
What you do not have to build
- Place search over 5.17M places with
GET /v1/places/search(1 credit), or send coordinates. - The timezone in force on the birth date, including India's offsets before 1947: see historical timezones.
- An unknown birth time, handled honestly: set
time_accuracytounknownand the fields that depend on it are left out, not guessed.
Questions
Is there a free birth chart API?
Yes. Every operation, the kundli and the Western chart included, is on the Free plan. See the free astrology API.
How accurate are the positions?
We compare them with NASA JPL Horizons across 1900–2025, and publish the figures on accuracy.
Vedic or Western: which does the API use?
Both. The kundli is sidereal, with the Lahiri ayanamsa by default. The Western chart is tropical. See conventions.