logo

Complete Kundli API

Kundli in Vedic Astrology is an umbrella term for natal astrology. We offer various APIs to cover Kundli features such as avakahada table, north, south and east style charts, divisional charts, Vimshottari Dasha, Char Dasha, Yogini Dasha, Ashtakvarga and much more.

Offer your users various interpretation of their Kundli such as ascendant report, planet report, house report and remedial measures.

kundli

Planetary positions with details

Check out the planetary positions with their details. Learn more about the planetary positions in the birth chart/kundli.

image

Region based kundali charts

The API draws the exact chart based on the region of birth and its planetary positions. Integrate the region-based kundali chart to create an accurate kundali.

image

Bhav Madhya and Sandhi details

Know how the planet gets more benefic and the change in energy with Bhav Madhya and Sandhi API. The API gives accurate results with detailed analysis.

image

Various Dasha APIs

Get dashas like vimshottari dasha, yogini dasha, and many more for your website and app. The API provides deeper access to one's dasha and predicts important events.

image

Ashtakvarga charts

Reveal the hidden potential in the birth chart by determining the strength of planets and houses. The API gets the analysis for planets and houses, providing accurate results.

Nakshatra report

The Nakshtra report drills down deeply into minor aspects and directions of nature's flow of energy and provides accurate readings.

Lagna or ascendant report

Learn more about personality traits with a lagna or ascendant report. The API gives a detailed analysis of the ascendant in the kundli.

image

Planet reports API

The API provides a detailed planet report based on planet placements and strength. Know which planet is benefic or malefic in the kundli based on its position in the chart.

House reports - Bhav Phalam

The House report helps to predict the important themes related to the birth chart. The API gives a detailed report about each house or bhava.

Jaimini Details

The API provides jaimini details with dasha calculations for each astrological sign. It helps with accurate prediction even if the birth time is unsure.

image

What the Kundli API gives you

A kundli is the Vedic birth chart. To build one, you need exact planet positions for a birth moment, the right ayanamsha, and many rules on top. Our Kundli API does all of that and returns plain JSON.

You send one birth date, time and place. Then you pick the parts you need: basic details, charts, dashas or Ashtakvarga. Each part is its own endpoint, so you only pay for what you show.

  • Birth details

    Lagna, moon sign, nakshatra and charan, plus Varna, Yoni, Gan, Nadi and other avakahada fields.

  • Planet positions

    Sign, degree, house, nakshatra and retrograde flag for each planet and the ascendant.

  • 21 chart types

    Lagna (D1), Navamsa (D9), Dashamsa (D10) and every other varga up to D60, plus Chalit, Sun and Moon charts.

  • Chart images

    North or South Indian style charts as SVG or PNG, in your own colours.

  • Dasha timelines

    Vimshottari (five levels deep), Char and Yogini dasha, each with start and end dates.

  • Ashtakvarga

    Bhinnashtakvarga for each planet and Sarvashtakvarga points for all 12 signs.

Kundli endpoints, with real responses

Each call is a POST with the same birth fields: day, month, year, hour, min, lat, lon and tzone. These are trimmed samples from our docs.

Base URL: https://json.astrologyapi.com/v1

POST/astro_details

Basic kundli details

The lagna, moon sign and nakshatra details that sit at the top of every kundli.

1{
2  "ascendant": "Leo",
3  "Varna": "Vaishya",
4  "Vashya": "Maanav",
5  "Yoni": "Gau",
6  "Gan": "Manushya",
7  "Nadi": "Adi",
8  "SignLord": "Mercury",
9  "sign": "Virgo"
10}
Read the /astro_details reference →
POST/horo_chart/:chart_id

Chart data for any varga

Use D1 for the birth chart, D9 for Navamsa, or any of the 21 chart ids. You get the planets in each sign so you can draw the chart.

1[
2  {
3    "sign": 7,
4    "sign_name": "Libra",
5    "planet": [],
6    "planet_small": [],
7    "planet_degree": []
8  }
9]
Read the /horo_chart/:chart_id reference →
POST/major_vdasha

Vimshottari mahadasha

The nine mahadasha periods with start and end dates. Go deeper with sub_vdasha and the levels below it.

1[
2  {
3    "planet": "Ketu",
4    "planet_id": 8,
5    "start": "2-5-1994  14:7",
6    "end": "2-5-2001  8:7"
7  },
8  {
9    "planet": "Venus",
10    "planet_id": 5,
11    "start": "2-5-2001  8:7",
12    "end": "2-5-2021  8:7"
13  }
14]
Read the /major_vdasha reference →
POST/sarvashtak

Sarvashtakvarga points

Ashtakvarga points for all 12 signs, split by planet, with a total for each sign.

1{
2  "ashtak_varga": {
3    "type": "Sarvashtak",
4    "sign": 4,
5    "sign_id": "Cancer"
6  },
7  "ashtak_points": {
8    "aries": {
9      "sun": 3, "moon": 3, "mars": 3, "mercury": 7,
10      "jupiter": 4, "venus": 4, "saturn": 1,
11      "ascendant": 0, "total": 25
12    }
13  }
14}
Read the /sarvashtak reference →

Who builds with the Kundli API

More than 3,000+ businesses use AstrologyAPI. These are common ways they use kundli data.

Astrology consultation apps

Load the full kundli before a call starts, so the astrologer sees charts and dashas on one screen.

Build a full kundli step by step →

Matrimony and dating sites

Generate each member’s kundli once, then use it for matching and manglik checks.

Kundli Matching API →

Report sellers

Turn the same data into a branded kundli PDF with your logo.

Kundli PDF API →

AI astrology chat

Give your AI model real chart data, so its answers match the user’s actual kundli.

Ground an LLM with chart data →

Kundli API FAQ

What does the Kundli API return?

It returns each part of a kundli as JSON. That covers the lagna and moon sign details, planet positions and all 21 chart types from D1 to D60. It also covers Vimshottari, Char and Yogini dasha periods and Ashtakvarga points. You can get any chart as an SVG or PNG image too.

What do I send in a request?

Send the birth date (day, month, year), the local birth time (hour, min), the birth place (lat, lon) and the UTC offset at that time (tzone). Chart endpoints also take a chart id in the URL, such as D1 or D9.

Can I draw North Indian and South Indian charts?

Yes. horo_chart/:chart_id returns the signs and planets in each house so you can draw the chart yourself. horo_chart_image/:chartId returns a ready image. Set chartType to north or south, image_type to svg or png, and pick your own planet, sign and line colours.

Which dasha systems are covered?

Vimshottari dasha down to five levels, Char dasha and Yogini dasha. Each period comes with its start and end dates, so you can show a full timeline or only the period running today.

Which languages can the text come back in?

Most kundli endpoints support English, Hindi, Marathi, Bengali, Tamil, Telugu, Malayalam and Kannada. Each endpoint page in our docs lists the languages it supports.

How do I get started?

Create a free account to get an API key and 150 free credits. No credit card is needed. Then call any endpoint from your server.

Get started with AstrologyAPI

Create a free account and test every endpoint with free credits. No credit card needed.