Logo

SEARCH ASTRO INSIGHT API DOCS

Home Vedic Astrology
POST Vedic API v1

Ekadhipatya Shodhan

The Ekadhipatya Shodhan API provides ashtakvarga 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/ashtakvarga/ekadhipatya-shodhan
Credit Cost
1 Credit
Avg Latency
~46ms
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 Ekadhipatya Shodhan.

Ekadhipatya Shodhan

Applies the Ekadhipatya Shodhan (co-lordship reduction) process to the Ashtakavarga of a person's Vedic birth chart — the second and final classical refinement step in the Ashtakavarga reduction methodology, applied after Trikon Shodhan to produce the fully reduced Ashtakavarga scores used in precise predictive analysis.

What this API does

In classical Vedic Ashtakavarga methodology, the raw Bhinnashtakavarga scores undergo two successive reduction processes before being considered fully refined for predictive use. The first step is Trikon Shodhan (trine reduction); the second and final step is Ekadhipatya Shodhan (co-lordship reduction).

Ekadhipatya Shodhan addresses the fact that in Vedic astrology, certain planets rule two signs each — Mars rules Aries and Scorpio, Venus rules Taurus and Libra, Mercury rules Gemini and Virgo, Jupiter rules Sagittarius and Pisces, and Saturn rules Capricorn and Aquarius. Because a single planet governs both signs, the Ashtakavarga scores for the two houses corresponding to those signs are subject to a further equalization: the scores of the two co-ruled houses are compared, and the lower score is applied to both, eliminating the artificial disparity that arises from a single planet's dual rulership.

This endpoint computes the full birth chart from the provided date, time, and geographic coordinates, calculates the raw Bhinnashtakavarga for all seven classical planets, applies Trikon Shodhan, and then applies Ekadhipatya Shodhan on top of the trine-reduced scores. The result is the complete set of fully reduced Ashtakavarga scores — the final, classically authoritative values used for transit strength evaluation, dasha timing, and other predictive techniques.

What data it returns

The API returns a structured JSON response including:

  • Ekadhipatya Shodhan-reduced scores: The fully refined house-wise bindu scores for each of the seven classical planets after both Trikon Shodhan and Ekadhipatya Shodhan have been applied
  • Per-planet fully reduced tables: Individual co-lordship-reduced Bhinnashtakavarga tables for each planet, showing the final adjusted bindu count for each of the twelve houses
  • Co-lordship pair details: Information about which house pairs were subject to Ekadhipatya Shodhan for each planet and the reduction applied, providing transparency into the process
  • Aggregate fully reduced totals: The sum of fully reduced bindus per house across all planets, forming the final reduced Sarvashtakavarga
  • Contextual interpretation: Textual descriptions of the significance of the fully reduced scores and how they represent the most refined and classically authoritative Ashtakavarga values for predictive use

Main use cases

  • Full classical Ashtakavarga analysis for astrology platforms and practitioners who follow the complete traditional methodology, requiring the fully reduced scores (post both Trikon and Ekadhipatya Shodhan) as the authoritative basis for all Ashtakavarga-based predictions
  • Definitive transit strength evaluation where the fully reduced Ashtakavarga scores are used to assess the precise strength of a transiting planet in each house, producing the most accurate transit quality ratings
  • Comprehensive horoscope report generation that presents the fully reduced Ashtakavarga tables as the final, methodologically complete Vedic birth chart analysis component
  • Dasha and antardasha timing where practitioners use the fully reduced scores to produce the most precise assessments of planetary period quality and the timing of significant life events
  • Ashtakavarga-based Gochara (transit) predictions that require the fully reduced scores to determine the auspiciousness of planetary transits through each house and sign
  • Research and educational astrology platforms that teach or study the complete two-step Ashtakavarga reduction methodology, using this endpoint to demonstrate and verify the final Ekadhipatya Shodhan step
  • End-to-end Ashtakavarga computation pipelines where this endpoint serves as the final stage, delivering the fully reduced scores ready for direct use in prediction, reporting, and consultation

Key functionality

  • Complete two-step reduction in a single request: Applies both Trikon Shodhan and Ekadhipatya Shodhan sequentially in one API call, delivering the fully reduced final Ashtakavarga scores without requiring separate intermediate requests.
  • Classical Ekadhipatya Shodhan algorithm: Faithfully implements the traditional co-lordship reduction methodology, equalizing bindu scores for the two houses ruled by the same planet for each of the five dual-ruling planets (Mars, Venus, Mercury, Jupiter, Saturn).
  • Full seven-planet computation: Applies the complete reduction pipeline across all seven classical planets, returning the fully reduced Bhinnashtakavarga tables for each planet in a single response.
  • Co-lordship pair transparency: Returns details of the co-lordship pairs subject to reduction and the adjustments applied, allowing practitioners and developers to verify the process and understand how scores were transformed.
  • Aggregate fully reduced Sarvashtakavarga: Provides the house-wise sum of all fully reduced planet scores, giving the final composite table ready for house strength analysis and transit evaluation.
  • Precise birth data input: Accepts day, month, year, hour, minute, second, and timezone offset to compute the exact planetary positions at the moment of birth.
  • Geographic coordinates: Uses latitude and longitude to accurately determine house cusps and planetary placements relative to the birth location.
  • Ayanamsha support: The X-Ayanamsha header allows selection of the sidereal calculation system (e.g., Lahiri, Raman, KP), ensuring the chart and all Ashtakavarga computations are performed according to the practitioner's preferred Vedic tradition.
  • Multilingual support: The Accept-Language header enables localized descriptions and interpretations, 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 Ekadhipatya Shodhan.

What is the Ekadhipatya Shodhan API and what data does it provide?

The Ekadhipatya Shodhan API provides authentic Ashtakvarga 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 Ekadhipatya Shodhan?

The Ekadhipatya Shodhan 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 Ekadhipatya Shodhan endpoint consume?

Each calculation request to Ekadhipatya Shodhan consumes 1 API credit. The endpoint delivers high performance with an average response time of ~46ms.

How do I authenticate with the Ekadhipatya Shodhan 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 Ekadhipatya Shodhan 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 Ekadhipatya Shodhan?

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 ashtakvarga/ekadhipatya-shodhan
Presets:
Live Output
Click Send above to execute calculation.
Sample Output

API Categories