Logo

SEARCH ASTRO INSIGHT API DOCS

Home Vedic Astrology
POST Vedic API v1

Sudarshan Chakra Chart Image

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
Credit Cost
1 Credit
Avg Latency
~73ms
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 Sudarshan Chakra Chart Image.

Sudarshan Chakra Chart Image

Generates a Sudarshan Chakra astrological chart as an image, based on a person's birth details and geographic coordinates.

What this API does

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.

What data it returns

The API returns a rendered image of the Sudarshan Chakra chart. The image visually encodes:

  • The three concentric chart wheels (Lagna, Surya, and Chandra)
  • Zodiac signs placed in their respective houses across all three wheels
  • Planetary positions distributed across the houses
  • An optional Swastik symbol at the center of the chart

The visual output is fully customizable in terms of colors, sizes, fonts, and symbolic representations.

Main use cases

  • Vedic astrology applications that need to display a comprehensive single-view chart combining all three primary chart perspectives
  • Horoscope generation platforms producing printable or shareable birth chart images
  • Astrology dashboards embedding chart visuals alongside textual interpretations
  • Comparative analysis tools where practitioners study the interplay between the Lagna, Surya, and Chandra charts side by side

Key functionality

  • Birth data input: Accepts day, month, year, hour, minute, second, and timezone offset to precisely calculate planetary positions at the moment of birth.
  • Geographic coordinates: Uses latitude and longitude to determine the local horizon and house cusps.
  • Ayanamsha support: The 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.
  • Chart appearance customization: Full control over the chart's visual style, including background color, inner and outer border line colors and widths, zodiac sign colors, planet colors, chart size, and font sizes for signs and planets.
  • Symbol vs. name display: Signs and planets can be rendered as traditional symbols or as text labels/numbers, catering to both traditional practitioners and learners.
  • Swastik overlay: Optionally renders a Swastik symbol at the chart center with configurable fill color, stroke color, and stroke width — a traditional auspicious element in Vedic chart presentations.
  • Multilingual support: The Accept-Language header enables localized output for sign and planet labels.

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
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

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 Sudarshan Chakra Chart Image.

What is the Sudarshan Chakra Chart Image API and what data does it provide?

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.

What input parameters are required to call Sudarshan Chakra Chart Image?

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.

How many credits does the Sudarshan Chakra Chart Image endpoint consume?

Each calculation request to Sudarshan Chakra Chart Image consumes 1 API credit. The endpoint delivers high performance with an average response time of ~73ms.

How do I authenticate with the Sudarshan Chakra Chart Image 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 Sudarshan Chakra Chart Image 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 Sudarshan Chakra Chart Image?

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 chart/sudarshan-chakra/image
Presets:
Live Output
Click Send above to execute calculation.
Sample Output

API Categories