Logo

SEARCH ASTRO INSIGHT API DOCS

Home Vedic Astrology
POST Vedic API v1

Nakshatra Dosha

The Nakshatra Dosha API provides horoscope dosha 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/horoscope-dosha/nakshatra
Credit Cost
1 Credit
Avg Latency
~57ms
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 Nakshatra Dosha.

Nakshatra Dosha

Detects and analyzes Nakshatra Dosha in a person's Vedic birth chart — an astrological affliction arising from the Moon's placement in certain lunar mansions (Nakshatras) that are considered inauspicious or challenging under classical Vedic rules.

What this API does

In Vedic astrology, the 27 Nakshatras (lunar mansions) play a central role in determining a person's temperament, destiny, and compatibility. Certain Nakshatras — such as Ashlesha, Jyeshtha, Moola, and Vishakha — are traditionally associated with specific doshas when occupied by the Moon at birth, particularly in relation to family members, marriage, and the native's own well-being. These are sometimes referred to as "Gandanta" Nakshatras or doshas tied to specific family roles (e.g., harm to the mother-in-law, father, or elder sibling).

This endpoint computes the birth chart from the provided date, time, and geographic coordinates, identifies the Moon's Nakshatra placement, and evaluates whether any classical Nakshatra Dosha conditions are triggered. It returns a structured assessment of the dosha's presence, the specific Nakshatra involved, the nature of the affliction, and its traditional implications for the native and their family.

What data it returns

The API returns a structured JSON response including:

  • Dosha presence: A clear indicator of whether Nakshatra Dosha is present in the birth chart
  • Nakshatra details: The name, number, and pada (quarter) of the Moon's Nakshatra at birth
  • Dosha type and nature: The specific type of Nakshatra Dosha triggered (e.g., Ashlesha Dosha, Moola Dosha, Jyeshtha Dosha) and the classical rule that applies
  • Affected family member or life area: The traditional association of the dosha — which family member or life domain is considered most at risk (e.g., mother-in-law, father, elder sibling, the native themselves)
  • Dosha intensity: An assessment of the severity of the affliction based on the Nakshatra pada and other chart factors
  • Contextual interpretation: Textual descriptions of the dosha's traditional significance and its implications for the native's life

Main use cases

  • Horoscope report generation that includes a Nakshatra Dosha section, informing clients about lunar mansion-based afflictions and their traditional implications
  • Astrology consultation platforms where practitioners need a quick, reliable Nakshatra Dosha assessment to discuss with clients, particularly in the context of marriage and family compatibility
  • Matrimonial and Kundali matching platforms that evaluate Nakshatra Dosha as part of a comprehensive compatibility analysis, especially for identifying potential concerns related to the partner's family
  • Remedial astrology applications that identify Nakshatra-based doshas and suggest appropriate rituals, gemstones, or spiritual practices to mitigate their effects
  • Birth chart analysis tools that perform a full dosha scan, with Nakshatra Dosha as one of the key afflictions evaluated alongside Manglik, Kalsarpa, and Pitra Doshas
  • Naming and muhurta (auspicious timing) applications that factor in Nakshatra Dosha when advising on auspicious activities or naming ceremonies for newborns

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 Nakshatra Dosha.

What is the Nakshatra Dosha API and what data does it provide?

The Nakshatra Dosha API provides authentic Horoscope Dosha 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 Nakshatra Dosha?

The Nakshatra Dosha 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 Nakshatra Dosha endpoint consume?

Each calculation request to Nakshatra Dosha consumes 1 API credit. The endpoint delivers high performance with an average response time of ~57ms.

How do I authenticate with the Nakshatra Dosha 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 Nakshatra Dosha 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 Nakshatra Dosha?

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 horoscope-dosha/nakshatra
Presets:
Live Output
Click Send above to execute calculation.
Sample Output

API Categories