SEARCH ASTRO INSIGHT API DOCS
The Swamsa Chart API generates the Swamsa chart used in Jaimini astrology to analyze spiritual inclinations, life purpose, talents, and karmic patterns. This endpoint is suitable for astrology applications and advanced horoscope analysis.
https://json.astroinsightapi.com/api/v1/chart/jaimini/swamsa
en
hi
ma
Methodology and astrological context for Swamsa Chart.
The Swamsa Chart endpoint is part of the Jaimini astrology system and generates a detailed astrological chart based on the concept of Swamsa — one of the most significant and spiritually profound concepts in Jaimini Jyotish.
In Jaimini astrology, the Atmakaraka is the planet with the highest degree in the natal chart and is considered the significator of the soul. The Swamsa is the Navamsa sign (D-9 division) occupied by this Atmakaraka planet. The Swamsa Chart is essentially the Navamsa chart analyzed from the Swamsa Lagna — the sign where the Atmakaraka resides in the Navamsa — making it a powerful lens for understanding the soul's journey, spiritual evolution, and life's deeper purpose.
This endpoint returns structured JSON data representing the Swamsa Chart, including:
Payload specifications for JSON request body.
| 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
|
| 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 |
Explore complementary endpoints in this category.
Comprehensive developer guidance for Swamsa Chart.
The Swamsa Chart API provides authentic Jaimini 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.
The Swamsa Chart 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.
Each calculation request to Swamsa Chart consumes 1 API credit. The endpoint delivers high performance with an average response time of ~68ms.
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)).
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.
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.
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.