Logo

SEARCH ASTRO INSIGHT API DOCS

Home Vedic Astrology
POST Vedic API v1

Varshaphal Year Chart

The Varshaphal Year Chart 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.

https://json.astroinsightapi.com/api/v1/varshaphal/chart
Credit Cost
1 Credit
Avg Latency
~67ms
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 Varshaphal Year Chart.

Varshaphal Year Chart

Generates a rendered chart image for a Varshaphal (Solar Return) horoscope — a Vedic annual chart cast at the exact moment the Sun returns to its natal degree in the target year. This endpoint combines the astrological computation of the solar return with chart rendering, returning a visual representation of the Varshaphal chart ready for display in applications, reports, or client-facing interfaces.

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 the solar return chart and renders it as a visual chart diagram. The chart is cast using the Vedic Varshaphal (Tajika) system, placing planets in their solar return positions within the house framework determined by the current location. The rendered output reflects the chart style, color scheme, and display preferences specified in the request, making it suitable for direct embedding in user interfaces or PDF reports without additional rendering work on the client side.

Data Returned

The response returns a rendered Varshaphal chart, which includes:

  • Chart image — a visual diagram of the Varshaphal solar return chart in the requested style (North Indian, South Indian, or East Indian format)

  • Planetary placements — all planets displayed in their respective houses and signs within the chart diagram

  • Ascendant and house cusps — the Varshaphal Lagna (ascendant) and house divisions rendered within the chart

  • Sign and planet labels — zodiac signs and planet symbols or abbreviations rendered according to the specified symbol and language preferences

  • Visual styling — chart rendered with the specified background color, line colors, font sizes, and other display parameters

Main Use Cases

  • Astrology apps and platforms — embedding a ready-to-display Varshaphal chart image directly into annual forecast screens or user dashboards

  • Jyotish practitioners — generating printable or shareable Varshaphal chart diagrams for client reports and consultations

  • PDF and report generation — incorporating a rendered annual chart into automated horoscope report pipelines without client-side chart rendering

  • Comparative chart displays — showing the Varshaphal chart alongside the natal chart for year-ahead analysis

  • Educational and demonstration tools — visually illustrating how the solar return chart shifts year to year based on current location

Key Functionality

  • Accepts both birth location and current location separately — birth data anchors the natal chart calculation, while current latitude, longitude, and timezone determine where the Varshaphal chart is cast, reflecting the individual's place of residence in 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 chart formats to match regional practitioner and user preferences

  • Accepts visual customization parameters — background color, inner and outer line colors, sign and planet colors, font sizes, line widths, and symbol styles, enabling seamless integration with the host application's design language

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

  • Complements the Varshaphal Planets and Varshaphal Planets Extended endpoints: use those for raw planetary data and this endpoint when a rendered visual chart output is required

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
varshaphalYear
Optional
integer
Varshaphal year.
Example: 2025
cLat
Required
float
Current Latitude of the birth location.
Example: 28.6139
cLon
Required
float
Current Longitude of the birth location.
Example: 77.1025
cTzone
Optional
float
Current Timezone offset from UTC. Optional. If not provided, it is considered as 5.5 (IST).
Example: 5.5

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 Varshaphal Year Chart.

What is the Varshaphal Year Chart API and what data does it provide?

The Varshaphal Year Chart API provides authentic Varshaphal 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 Varshaphal Year Chart?

The Varshaphal Year Chart 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 Varshaphal Year Chart endpoint consume?

Each calculation request to Varshaphal Year Chart consumes 1 API credit. The endpoint delivers high performance with an average response time of ~67ms.

How do I authenticate with the Varshaphal Year Chart 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 Varshaphal Year Chart 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 Varshaphal Year Chart?

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

API Categories