Logo

SEARCH ASTRO INSIGHT API DOCS

Home Vedic Astrology
POST Vedic API v1

Horoscope Chart Image Extended

The Horoscope Chart Image Extended 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/horoscope/:chartId/image/extended
Credit Cost
1 Credit
Avg Latency
~107ms
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 Horoscope Chart Image Extended.

Horoscope Chart Image Extended

The Horoscope Chart Image Extended API is the most comprehensive endpoint in the horoscope chart family. It combines the visual rendering capability of the Horoscope Chart Image endpoint with the enriched planetary data payload of the Horoscope Chart Extended endpoint — returning both a fully customisable rendered chart image and detailed astrological data for each planetary placement in a single response. It supports the same full range of divisional charts (Vargas) and special charts as the rest of the chart family.

What This API Does

This endpoint accepts a person's birth date, time, and geographic coordinates, a chartId path parameter specifying which chart to generate, and a comprehensive set of visual styling parameters. It computes the planetary positions, house placements, and extended astrological attributes for the requested chart type, then renders the chart as a styled image while simultaneously returning the rich structured data that underpins it.

The result is a single-call solution for applications that need to display a chart image alongside a detailed data breakdown — eliminating the need to call both the image endpoint and the extended data endpoint separately. The visual output is fully customisable: chart style (North, South, or East Indian layout), colours, line widths, chart size, font sizes, and symbol/text display preferences are all configurable via the request body.

The chart type is controlled by the chartId path parameter, supporting the full range of divisional charts from D1 through D150, as well as the Moon chart, Sun chart, and Chalit chart. The Ayanamsha system is configurable via the X-Ayanamsha header, and multi-language output is supported via the Accept-Language header.

What Data It Returns

The response combines the visual output of the image endpoint with the enriched data payload of the extended endpoint, which may include:

  • Rendered chart image — a fully styled visual representation of the horoscope chart in the requested regional layout (North, South, or East Indian), ready for direct display or embedding
  • Full planetary details — zodiac sign, house, degree, minutes, seconds, and retrograde status for each planet in the selected chart
  • Nakshatra details — nakshatra name, pada, nakshatra lord, and sub-lord for each planet
  • Dignity and strength indicators — exaltation, debilitation, own sign, Moolatrikona, and friendly/enemy sign status for each planet
  • House lord mappings — the ruling planet for each of the twelve houses in the chart
  • Ascendant (Lagna) details — rising sign, degree, nakshatra, and nakshatra lord
  • Extended sign attributes — element, modality, and gender for each occupied sign
  • Planetary relationships — natural and temporal friendships/enmities between planets as relevant to the chart
  • Chart metadata — chart type identifier, Ayanamsha used, and birth details echoed back for confirmation
  • Applied styling confirmation — the visual configuration used to render the image

Main Use Cases

  • All-in-one chart pages: Powering a single API call that populates both the visual chart and the accompanying data table or planet list on a horoscope detail page, reducing round trips and simplifying client logic
  • Premium horoscope reports: Generating richly detailed, visually styled chart images alongside full planetary breakdowns for inclusion in premium PDF reports or personalised horoscope documents
  • Branded divisional chart analysis: Rendering specific Varga charts (D9 Navamsa, D10 Dashamsa, D60 Shashtiamsa, etc.) with custom styling while simultaneously retrieving the extended planetary data needed for interpretation
  • Multi-tradition chart display: Producing charts in North, South, or East Indian styles with full extended data, catering to users from different regional astrological traditions without requiring separate calls
  • Astrology dashboards: Serving as the primary data source for dashboard views that display a chart image, planet table, house lord summary, and dignity indicators all on the same screen
  • Efficiency-optimised integrations: Replacing two separate calls (one to the image endpoint, one to the extended data endpoint) with a single request, reducing latency and API usage for high-traffic applications

Key Functionality

  • Combines image rendering and extended data in a single response — the most complete endpoint in the chart family, eliminating the need to call both the image and extended data endpoints separately
  • Supports three regional chart styles — North Indian, South Indian, and East Indian — via the chartStyle parameter
  • Offers comprehensive visual customisation through body parameters: background colour, inner/outer line colours and widths, sign colour, planet colour, chart size, sign font size, planet font size, sign symbol/number toggle, and planet symbol/name toggle
  • Returns enriched planetary attributes alongside the image: nakshatra details, dignity indicators, house lord mappings, sign attributes, and planetary relationships — identical to the Horoscope Chart Extended data payload
  • Supports 25+ chart types via the chartId path parameter, covering all major Varga divisional charts (D1 through D150), the Chalit chart, Moon chart, and Sun chart
  • Accepts birth date, time, and geographic coordinates (latitude, longitude, timezone) for precise astronomical calculations
  • Configurable Ayanamsha system via the X-Ayanamsha header, supporting multiple Vedic traditions (e.g., Lahiri, Krishnamurti, Raman)
  • Supports multi-language responses via the Accept-Language header for localised planet, sign, and nakshatra labels
  • The most efficient single endpoint when both a rendered chart image and detailed planetary data are required together

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
chartStyle
Optional
string
Chart display style. Supported values: north, south, east. Default is north.
Example: north
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

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 Horoscope Chart Image Extended.

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

The Horoscope Chart Image Extended 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 Horoscope Chart Image Extended?

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

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

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

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/horoscope/:chartId/image/extended
Presets:
Live Output
Click Send above to execute calculation.
Sample Output

API Categories