SEARCH ASTRO INSIGHT API DOCS
The Tropical Planets API provides astro details 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/astro-details/planets-tropical
en
hi
ma
Methodology and astrological context for Tropical Planets.
Returns the tropical (Western) zodiac positions of all planets for a given date, time, and geographic location — providing planetary longitudes and placements computed without ayanamsha correction, using the tropical zodiac that aligns the vernal equinox with 0° Aries.
The Tropical Planets endpoint computes planetary positions using the tropical zodiac system, which is the foundation of Western astrology. Unlike the sidereal Planets and Extended Planets endpoints — which apply an ayanamsha correction to align planetary positions with the fixed star background used in Vedic astrology — this endpoint returns positions in the tropical zodiac, where signs are defined by the seasons and the Sun's relationship to the equinoxes and solstices rather than by fixed star constellations.
The tropical zodiac currently differs from the Vedic sidereal zodiac by approximately 23–24 degrees (the ayanamsha value), meaning a planet's tropical sign placement will often differ from its sidereal sign placement. This endpoint is therefore the appropriate choice whenever tropical zodiac positions are required — whether for Western astrology features, cross-system comparative analysis, or any integration that consumes tropical planetary data.
The endpoint accepts the same birth date, time, timezone, and geographic coordinate inputs as the other planetary position endpoints, and returns the complete set of nine Vedic grahas (or their Western equivalents) in tropical sign placements, making it straightforward to use alongside the sidereal endpoints for dual-system applications.
The API returns a structured JSON response including, for each of the nine grahas (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu):
X-Ayanamsha header is accepted for interface consistency with other endpoints in the suite, but tropical positions are returned without ayanamsha correction regardless of the value provided.Accept-Language header enables localized planet names and sign names in the response, making the API suitable for a global, multilingual user base.Payload specifications for JSON request body.
| 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
|
| 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 |
Explore complementary endpoints in this category.
Comprehensive developer guidance for Tropical Planets.
The Tropical Planets API provides authentic Astro Details 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.
The Tropical Planets 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.
Each calculation request to Tropical Planets consumes 1 API credit. The endpoint delivers high performance with an average response time of ~57ms.
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)).
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.
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.
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.