Logo

SEARCH ASTRO INSIGHT API DOCS

Home Vedic Astrology

Varshaphal Year Chart Image Extended API

The Varshaphal Year Chart Image Extended API provides Varshaphal related calculations and insights based on Vedic Astrology principles. This endpoint is designed for astrology applications, report generation systems, horoscope platforms, and developer integrations requiring structured JSON responses and reliable REST API access.

Varshaphal Year Chart Image Extended

Generates and returns an extended Varshaphal (Solar Return) dual-chart as a direct image file, rendering both the natal birth chart and the Varshaphal solar return chart together in a single combined diagram. This endpoint is the image-file counterpart to the Varshaphal Year Chart Extended endpoint — returning the same dual-chart layout as a raw image binary rather than a JSON response, making it ideal for direct embedding, download, and document pipeline use cases.

What This API Does

This endpoint accepts the individual's birth details, their current geographic location for the target year, and the desired Varshaphal year, then computes both the natal chart and the Varshaphal solar return chart and renders them together as a single combined chart image file. The Varshaphal chart is cast at the exact moment the Sun returns to its natal degree in the target year, using the current location to determine the house framework. The dual-chart layout — showing both the natal and annual charts side by side — is the standard presentation format in Varshaphal consultations, and this endpoint delivers it as a ready-to-use image asset with full visual customization support.

Data Returned

The response is a rendered dual-chart image file containing:

  • Combined natal and Varshaphal chart diagram — both charts rendered together in a single image, with each chart section displaying its respective planetary placements, ascendant, and house structure

  • Planetary placements for both charts — all planets shown in their natal and solar return positions within their respective chart sections

  • Ascendant and house cusps for both charts — the natal Lagna and Varshaphal Lagna rendered within their respective sections of the combined layout

  • Planet and sign labels — zodiac signs and planet symbols or abbreviations rendered in the specified style and language across both chart sections

  • Full visual styling — the combined image rendered according to the specified chart style, background color, line colors, planet and sign colors, chart size, line widths, and font sizes, applied consistently across both charts

Main Use Cases

  • Direct image embedding — serving the combined natal and Varshaphal chart image directly to a frontend <img class='preserveHtml' class='preserveHtml' class='preserveHtml'> tag, mobile image view, or canvas element without JSON parsing

  • File download and export — enabling users to download their combined annual chart as a single image file from an astrology app or web portal

  • PDF and document generation — inserting the dual-chart image directly into report generation pipelines (e.g., PDF libraries, document templates) that consume raw image streams, delivering a practitioner-standard layout in one asset

  • Caching and CDN delivery — storing the rendered dual-chart image on a CDN or object storage for fast repeated delivery without re-rendering

  • Print and sharing workflows — generating a single high-quality image containing both charts for printing, sharing via messaging apps, or attaching to client emails

  • Comparative annual analysis — providing users with a single visual that shows how their annual planetary positions relate to their natal chart, without requiring client-side chart composition

Key Functionality

  • Returns the combined natal and Varshaphal dual-chart as a raw image file, making it directly consumable by image rendering contexts and eliminating the need for client-side chart composition or JSON parsing

  • Renders both the natal birth chart and the Varshaphal solar return chart in a single image — the standard dual-chart format used in Varshaphal consultations in the Tajika system

  • Accepts both birth location and current location separately — birth data anchors the natal chart, while current latitude, longitude, and timezone determine where the Varshaphal chart is cast for the target year

  • Accepts a target Varshaphal year (varshaphalYear) to render the solar return chart for any past, present, or future year

  • Supports multiple Ayanamsha systems (e.g., Lahiri, Raman, KP) via the X-Ayanamsha header for sidereal calculations aligned with the practitioner's tradition

  • Supports multiple chart styles — North Indian, South Indian, and East Indian formats (chartStyle) applied consistently across both chart sections in the combined layout

  • Accepts a comprehensive set of visual customization parameters — background color (bgColor), inner and outer line colors and widths, sign color, planet color, chart size in pixels, sign font size, planet font size, and symbol styles — enabling pixel-level control over the appearance of the combined image

  • Designed for localization — the Accept-Language header controls the language used for any text labels within the rendered chart

  • Complements the full Varshaphal chart endpoint family: use the Varshaphal Year Chart Image endpoint when only the solar return chart image is needed, and this endpoint when a raw image file of the combined natal and Varshaphal dual-chart layout is required

Credit Cost
1 Credits/Per API Call
Avg Response
~77msTypical Latency

Supported Response Languages

🇬🇧 English en
🇮🇳 Hindi hi
🇮🇳 Marathi ma

🌐 API responses available in 3 regional languages. Pass Accept-Languageparameter in request header with language code.

API Explorer

POST https://json.astroinsightapi.com/api/v1/varshaphal/chart/image/extended

Request Example:

HTTP Status Codes

API Categories