Logo

SEARCH ASTRO INSIGHT API DOCS

Home Vedic Astrology
POST Vedic API v1

Basic Astro Details

The Basic Astro 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/basic-astro-details
Credit Cost
1 Credit
Avg Latency
~48ms
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 Basic Astro Details.

Basic Astro Details

Returns a concise summary of the most essential Vedic astrological identifiers for a person from their birth date, time, and geographic coordinates — providing the key chart markers needed for lightweight integrations, quick lookups, and summary displays without the full depth of a complete birth chart computation.

What this API does

The Basic Astro Details endpoint is a streamlined alternative to the full Birth Details endpoint, designed for use cases that require only the core astrological identifiers rather than the complete set of planetary positions, house cusps, and dasha timelines. It computes the most commonly needed Vedic chart markers — such as the Ascendant (Lagna), Moon sign (Rashi), Sun sign, birth Nakshatra, Tithi, Yoga, and Karana — from the provided birth data.

This endpoint is optimized for speed and simplicity, making it well-suited for scenarios where a quick astrological profile is needed — such as displaying a user's key chart identifiers on a dashboard, populating a profile card, or performing a fast compatibility pre-check based on Rashi and Nakshatra alone. It uses the same sidereal computation engine and ayanamsha support as the full Birth Details endpoint, ensuring accuracy and consistency across the API suite.

What data it returns

The API returns a structured JSON response including:

  • Ascendant (Lagna): The rising sign at the time of birth, its degree, and the Nakshatra on the Ascendant
  • Moon sign (Rashi): The sidereal sign occupied by the Moon at birth, along with its ruling planet
  • Sun sign: The sidereal sign occupied by the Sun at birth
  • Birth Nakshatra: The lunar mansion (Nakshatra) occupied by the Moon, its lord, Pada, and associated qualities
  • Tithi: The lunar day at the time of birth, including its name, number, and type
  • Yoga: The Vedic Yoga active at the time of birth, derived from the combined longitudes of the Sun and Moon
  • Karana: The half-lunar-day (Karana) active at the time of birth
  • Current Dasha: The major Vimshottari Dasha period active at the time of birth or query, including the dasha lord and remaining duration
  • Basic chart summary: A concise set of key astrological identifiers presented in a format suitable for profile displays and summary cards

Main use cases

  • User profile and dashboard displays in astrology apps where a compact set of key chart identifiers — Lagna, Rashi, Nakshatra, current Dasha — is shown on a home screen, profile card, or account summary without loading the full birth chart
  • Quick astrological onboarding where a new user's birth details are submitted and their core chart markers are immediately displayed as part of a welcome or setup flow
  • Nakshatra and Rashi-based feature gating in apps that unlock or personalize content based on the user's Moon sign or birth star, requiring only these two identifiers rather than the full chart
  • Compatibility pre-screening that performs a fast Rashi- or Nakshatra-level compatibility check between two individuals before invoking a full compatibility analysis
  • Daily horoscope and panchang personalization where the user's Rashi, Nakshatra, Tithi, Yoga, and Karana are used to filter or personalize daily astrological content
  • Lightweight API integrations in third-party apps, widgets, or notification services that need a small, fast astrological data payload without the overhead of a full birth chart response
  • Summary sections in comprehensive horoscope reports where the basic chart identifiers are displayed as a header or at-a-glance section before the detailed analysis begins

Key functionality

  • Concise, focused response: Returns only the most essential Vedic astrological identifiers — Lagna, Rashi, Sun sign, Nakshatra, Tithi, Yoga, Karana, and current Dasha — in a compact payload optimized for speed and ease of consumption.
  • Same computation engine as Birth Details: Uses the same sidereal planetary calculation engine and ayanamsha support as the full Birth Details endpoint, ensuring that the basic identifiers are accurate and consistent with any full chart data computed for the same birth details.
  • Ayanamsha selection: The X-Ayanamsha header allows selection of the sidereal calculation system (e.g., Lahiri, Raman, KP), ensuring the chart markers are computed according to the practitioner's or platform's preferred Vedic tradition.
  • Panchang elements included: Returns the Tithi, Yoga, and Karana active at the time of birth alongside the chart identifiers, making the response useful for panchang-based personalization and daily content features without a separate panchang API call.
  • Current Dasha identification: Identifies the major Vimshottari Dasha period active at birth, providing immediate context for the native's current planetary period without requiring a full dasha timeline computation.
  • Lightweight integration footprint: The reduced response size and focused data set make this endpoint well-suited for mobile applications, widgets, and integrations where bandwidth, latency, or payload size are considerations.
  • Geographic coordinate support: Uses latitude and longitude for precise Ascendant calculation, ensuring accuracy for birth locations anywhere in the world.
  • Multilingual support: The Accept-Language header enables localized sign names, Nakshatra names, and other astrological terms, 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 Basic Astro Details.

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

The Basic Astro 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 Basic Astro Details?

The Basic Astro 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 Basic Astro Details endpoint consume?

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

How do I authenticate with the Basic Astro 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 Basic Astro 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 Basic Astro 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/basic-astro-details
Presets:
Live Output
Click Send above to execute calculation.
Sample Output

API Categories