Logo

SEARCH ASTRO INSIGHT API DOCS

Home Vedic Astrology
POST Vedic API v1

Swamsa Chart Image

The Swamsa Chart Image API generates a graphical representation of the Swamsa chart for use in astrology software, mobile applications, and horoscope reporting systems.

https://json.astroinsightapi.com/api/v1/chart/jaimini/swamsa/image
Credit Cost
1 Credit
Avg Latency
~58ms
Auth Type
Basic Auth
Format
JSON / UTF-8

Request Parameters

Payload specifications for JSON request body.

application/json
Standard Vedic parameters payload: day, month, year, hour, min, sec, lat, lon, tzone

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 Swamsa Chart Image.

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

The Swamsa Chart Image 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.

What input parameters are required to call Swamsa Chart Image?

The Swamsa 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 Swamsa Chart Image endpoint consume?

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

How do I authenticate with the Swamsa 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 Swamsa Chart Image responses in regional Indian languages?

Yes! The API supports multiple languages including English, Hindi, Tamil, Telugu, Kannada, Gujarati, Marathi, Bengali, Malayalam. 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 Swamsa 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/jaimini/swamsa/image
Presets:
Live Output
Click Send above to execute calculation.

API Categories