Logo

SEARCH ASTRO INSIGHT API DOCS

Home Vedic Astrology
POST Vedic API v1

Birth Details

The Birth Details API provides astro details related data and calculations using Vedic Astrology principles. This endpoint is designed for astrology applications, kundli generation, horoscope platforms, and developer integrations requiring accurate JSON-based responses and scalable REST API access.

https://json.astroinsightapi.com/api/v1/astro-details/birth-details
Credit Cost
1 Credit
Avg Latency
~38ms
Auth Type
Basic Auth
Format
JSON / UTF-8

Available Response Languages

🇬🇧 English en
🇮🇳 Hindi hi
🇮🇳 Marathi ma

API Overview & Calculation Details

Methodology and astrological context for Birth Details.

Birth Details

Computes the core Vedic astrological birth chart details for a person from their birth date, time, and geographic coordinates — returning the foundational planetary and house data that underpins all subsequent Vedic astrology calculations, interpretations, and report generation.

What this API does

The Birth Details endpoint is the primary entry point for Vedic birth chart computation. Given a person's name, date and time of birth, timezone offset, and geographic coordinates, it calculates the complete set of fundamental astrological data points that define the native's Vedic birth chart (Janma Kundali).

This includes computing the precise sidereal positions of all planets using the selected ayanamsha, determining the Ascendant (Lagna) and all twelve house cusps, identifying the Nakshatra (lunar mansion), Pada, Rashi (Moon sign), and Tithi at the time of birth, and deriving the Vimshottari Dasha sequence from the Moon's Nakshatra position. The result is a comprehensive, structured birth chart data object that serves as the foundation for all further astrological analysis — from dosha detection and Ashtakavarga to compatibility matching and predictive timing.

What data it returns

The API returns a structured JSON response including:

  • Planetary positions: The sidereal longitude, sign (Rashi), house placement, Nakshatra, Pada, and retrograde status for each of the classical planets (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn) as well as Rahu and Ketu
  • Ascendant (Lagna): The rising sign, its degree, and the Nakshatra on the Ascendant
  • House cusps: The sign and degree of each of the twelve house cusps in the selected house system
  • Nakshatra details: The birth Nakshatra (Janma Nakshatra), its lord, Pada, and associated qualities
  • Rashi (Moon sign): The sign occupied by the Moon at birth, along with its lord and characteristics
  • Tithi: The lunar day at the time of birth, including its name, type, and deity
  • Vimshottari Dasha sequence: The complete lifetime dasha timeline derived from the Moon's Nakshatra position, including the current dasha, antardasha, and pratyantardasha with start and end dates
  • Basic chart summary: Key chart identifiers such as the native's name, birth details, and a summary of the chart's most significant placements

Main use cases

  • Birth chart generation as the foundational step in any Vedic astrology application — this endpoint provides all the raw chart data needed to render a Kundali, populate a chart wheel, or display a planetary positions table
  • Dasha timeline computation for astrology platforms that display the native's complete Vimshottari Dasha sequence, current period, and upcoming period transitions
  • Nakshatra and Rashi identification for applications that provide birth star reports, Nakshatra-based compatibility, or Moon sign horoscopes
  • Data sourcing for downstream calculations — the planetary positions and house placements returned by this endpoint serve as the input basis for all other astrological computations in the API suite, including dosha analysis, Ashtakavarga, Shadbala, divisional charts, and compatibility matching
  • Onboarding and profile creation in astrology apps where a user's birth details are entered once and the resulting chart data is stored and reused across all features
  • Horoscope report generation that requires a complete, structured birth chart data object as the starting point for generating personalized astrological reports
  • Educational astrology platforms that teach Vedic chart reading by displaying the full set of birth chart data points alongside explanations of each element

Key functionality

  • Complete birth chart in a single request: Computes all fundamental Vedic birth chart data points — planetary positions, house cusps, Ascendant, Nakshatra, Tithi, and Dasha sequence — in one API call, providing everything needed to begin astrological analysis.
  • Sidereal planetary computation: Calculates all planetary positions using the Vedic sidereal zodiac, correctly accounting for the ayanamsha offset from the tropical zodiac to produce accurate Vedic chart placements.
  • Ayanamsha selection: The X-Ayanamsha header allows selection of the sidereal calculation system (e.g., Lahiri, Raman, KP), ensuring the chart is computed according to the practitioner's or platform's preferred Vedic tradition.
  • Vimshottari Dasha timeline: Derives the complete lifetime Vimshottari Dasha sequence from the Moon's Nakshatra position and balance at birth, including all major, sub, and sub-sub periods with precise start and end dates.
  • Nakshatra and Pada precision: Identifies the exact Nakshatra and Pada for the Moon and all other planets, enabling Nakshatra-level analysis across the entire chart.
  • Name inclusion: Accepts the native's name as part of the request, allowing the response to be personalized and directly used in report generation without additional data mapping.
  • Geographic coordinate support: Uses latitude and longitude for precise Ascendant and house cusp calculation, ensuring accuracy for birth locations anywhere in the world.
  • Multilingual support: The Accept-Language header enables localized planet names, sign names, Nakshatra names, and interpretive descriptions, making the API suitable for a global, multilingual user base.

Request Parameters

Payload specifications for JSON request body.

application/json
Parameter Type Description & Example
day
Required
integer
Day of birth (1–31).
Example: 15
month
Required
integer
Month of birth (1–12).
Example: 9
year
Required
integer
Year of birth (e.g., 1994).
Example: 1994
hour
Required
integer
Hour of birth in 24-hour format (0–23).
Example: 12
min
Required
integer
Minute of birth (0–59).
Example: 30
sec
Optional
integer
Second of birth (0–59). Optional. If not provided, it is considered as 0.
Example: 30
lat
Required
float
Latitude of the birth location.
Example: 28.6139
lon
Required
float
Longitude of the birth location.
Example: 77.1025
tzone
Optional
float
Timezone offset from UTC. Optional. If not provided, it is considered as 5.5 (IST).
Example: 5.5

Required & Optional Headers

Header Key Value / Format Description
Authorization
Required
Basic {base64} Base64 encoded string of CLIENT_ID:CLIENT_SECRET.
Content-Type
Required
application/json Specifies JSON payload format in request body.
Accept-Language
Optional
en, hi, ta, te... Returns localized astrology output. Default: en
X-Ayanamsha
Optional
lahiri, raman, krishnamurti... Ayanamsha system: lahiri, raman, fagan_bradley, usha_shashi, krishnamurti, djwhal_khul, yukteshwar, jn_bhasin, suryasiddhanta, aryabhata. Default: lahiri

Frequently Asked Questions

Comprehensive developer guidance for Birth Details.

What is the Birth Details API and what data does it provide?

The Birth Details API provides authentic Astro Details calculations based on Vedic astrology algorithms. It returns structured JSON data containing detailed planetary positions, house calculations, and astrological parameters suitable for Kundli apps, astrology websites, and developer applications.

What input parameters are required to call Birth Details?

The Birth Details API requires standard Vedic birth details: day, month, year, hour, min, sec, latitude (lat), longitude (lon), and timezone (tzone). All parameters can be passed in the JSON request body.

How many credits does the Birth Details endpoint consume?

Each calculation request to Birth Details consumes 1 API credit. The endpoint delivers high performance with an average response time of ~38ms.

How do I authenticate with the Birth Details API?

Authenticate using HTTP Basic Authentication by including your Base64 encoded client_id:client_secret credentials in the Authorization header (Authorization: Basic BASE64(client_id:client_secret)).

Can I get Birth Details responses in regional Indian languages?

Yes! The API supports multiple languages including English, Hindi, Marathi. Pass your desired language code (e.g. 'hi' for Hindi, 'ta' for Tamil, 'en' for English) in the Accept-Language request header.

Which Ayanamsha systems can be calculated with Birth Details?

Supported Ayanamshas include NC Lahiri (Default), BV Raman, Krishnamurti (KP), Fagan Bradley, Usha Shashi, Djwhal Khul, Sri Yukteshwar, JN Bhasin, Surya Siddhanta, and Aryabhata. Specify your choice using the X-Ayanamsha header.

What response format and HTTP codes does this API return?

The API returns clean JSON UTF-8 output. Successful requests return HTTP 200 OK with the computed data payload. Parameter validation errors return HTTP 422 with actionable error messages.

POST astro-details/birth-details
Presets:
Live Output
Click Send above to execute calculation.
Sample Output

API Categories