SEARCH ASTRO INSIGHT API DOCS
The Sudarshan Chakra Chart Image API provides horoscope chart 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/chart/sudarshan-chakra/image
en
hi
ma
Methodology and astrological context for Sudarshan Chakra Chart Image.
Generates a Sudarshan Chakra astrological chart as an image, based on a person's birth details and geographic coordinates.
The Sudarshan Chakra is a unique Vedic astrology chart that presents all three primary divisional charts — the Lagna (Ascendant) chart, the Surya (Solar) chart, and the Chandra (Lunar) chart — simultaneously in a single concentric wheel diagram. This endpoint computes the planetary positions and house placements for the given birth data and renders the complete Sudarshan Chakra as a visual image.
The API returns a rendered image of the Sudarshan Chakra chart. The image visually encodes:
The visual output is fully customizable in terms of colors, sizes, fonts, and symbolic representations.
X-Ayanamsha header allows selection of the ayanamsha system (e.g., Lahiri, Raman, KP) used for sidereal calculations, making the API compatible with different Vedic astrology traditions.Accept-Language header enables localized output for sign and planet labels.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
|
|
bgColor
Optional
|
string |
Background color of the chart in HEX format. Default is #FFFEC9.
Example:
#FFFEC9
|
|
innerLineColor
Optional
|
string |
Inner line color of the chart in HEX format. Default is #FFC000.
Example:
#FFC000
|
|
outerLineColor
Optional
|
string |
Outer line color of the chart in HEX format. Default is #FFC000.
Example:
#FFC000
|
|
signColor
Optional
|
string |
Color of zodiac signs in HEX format. Default is #FF0000.
Example:
#FF0000
|
|
planetColor
Optional
|
string |
Color of planet names/symbols in HEX format. Default is #0000FF.
Example:
#0000FF
|
|
chartSize
Optional
|
integer |
Size of the chart in pixels. Default is 350.
Example:
350
|
|
innerLineWidth
Optional
|
integer |
Width of inner chart lines. Default is 2.
Example:
2
|
|
outerLineWidth
Optional
|
integer |
Width of outer chart lines. Default is 5.
Example:
5
|
|
signFontSize
Optional
|
integer |
Font size of zodiac signs. Default is 15.
Example:
15
|
|
planetFontSize
Optional
|
integer |
Font size of planet names/symbols. Default is 15.
Example:
15
|
|
signSymbol
Optional
|
string |
Display zodiac sign symbol or number. Y = show symbol, N = show number. Default is N.
Example:
N
|
|
planetSymbol
Optional
|
string |
Display planet symbol or name. Y = show symbol, N = show name. Default is N.
Example:
N
|
|
swastikStatus
Optional
|
string |
Show or hide the swastik symbol in the chart. Y = show, N = hide. Default is Y.
Example:
Y
|
|
swastikColor
Optional
|
string |
Fill color of the swastik symbol in HEX format. Default is #FFC000.
Example:
#FFC000
|
|
swastikStrokeColor
Optional
|
string |
Border/stroke color of the swastik symbol in HEX format. Default is #FF0000.
Example:
#FF0000
|
|
swastikStrokeWidth
Optional
|
integer |
Stroke width of the swastik symbol. Default is 2.
Example:
2
|
| 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 Sudarshan Chakra Chart Image.
The Sudarshan Chakra Chart Image API provides authentic Horoscope Chart 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 Sudarshan Chakra Chart Image 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 Sudarshan Chakra Chart Image consumes 1 API credit. The endpoint delivers high performance with an average response time of ~73ms.
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.