Logo

SEARCH ASTRO INSIGHT API DOCS

Home Vedic Astrology
POST Vedic API v1

Tropical Planets

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
Credit Cost
1 Credit
Avg Latency
~57ms
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 Tropical Planets.

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.

What this API does

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.

What data it returns

The API returns a structured JSON response including, for each of the nine grahas (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu):

  • Tropical planetary positions: The tropical zodiac sign, degree within the sign, and absolute tropical longitude for each planet
  • House placements: The house number each planet occupies relative to the tropical Ascendant computed from the provided coordinates and time
  • Tropical Ascendant (Lagna): The tropical rising sign and degree, computed from the provided date, time, and geographic coordinates
  • Retrograde status: A flag indicating whether each planet is in retrograde motion at the specified date and time
  • Additional positional attributes: Nakshatra or equivalent positional qualifiers where applicable, and other standard positional data points returned for each planet

Main use cases

  • Western astrology features in multi-system astrology platforms that offer both Vedic (sidereal) and Western (tropical) chart views, requiring tropical planetary positions to populate the Western chart alongside the Vedic chart
  • Cross-system comparative analysis for practitioners and researchers who study the relationship between a person's tropical and sidereal chart placements, using both this endpoint and the sidereal Planets endpoint to compare sign placements across the two zodiac systems
  • Sun sign and rising sign identification in the tropical system for applications that display a user's Western Sun sign, Moon sign, and Ascendant — the most widely recognized astrological identifiers in popular Western astrology
  • Tropical transit tracking for platforms that monitor planetary transits through tropical signs and houses, generating Western-style transit alerts and forecasts
  • Dual-system horoscope report generation where a report includes both a Vedic birth chart section (using sidereal positions) and a Western birth chart section (using tropical positions from this endpoint)
  • Astronomical and ephemeris reference for applications that need tropical planetary longitudes as a reference point — for example, to display the difference between tropical and sidereal positions for educational purposes or ayanamsha verification
  • Integration with Western astrology libraries and tools that expect tropical zodiac input, where this endpoint serves as the data source for planetary positions consumed by external Western astrology computation or rendering engines

Key functionality

  • Tropical zodiac computation: Returns planetary positions in the tropical zodiac without any ayanamsha correction, producing the sign placements used in Western astrology and directly comparable to positions from any standard Western ephemeris.
  • All nine grahas in one request: Covers all seven classical planets plus Rahu and Ketu in a single API call, providing the complete planetary set in tropical positions.
  • Tropical Ascendant and house placements: Computes the tropical Ascendant from the provided coordinates and returns each planet's house placement relative to it, enabling house-based Western chart analysis without a separate request.
  • Retrograde status for all planets: Returns a retrograde flag for each planet, directly usable in Western astrology features that highlight retrograde planets.
  • Consistent input format with sidereal endpoints: Accepts the same date, time, timezone, and coordinate inputs as the sidereal Planets and Extended Planets endpoints, making it straightforward to call both in parallel for dual-system applications.
  • Dual use for natal and transit positions: Accepts any date and time, making the endpoint equally applicable to birth chart computation and to current, past, or future planetary position lookups for transit and ephemeris use cases.
  • Ayanamsha header accepted but not applied: The 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.
  • Geographic coordinate support: Uses latitude and longitude for precise tropical Ascendant and house cusp calculation, ensuring accuracy for any location worldwide.
  • Multilingual support: The Accept-Language header enables localized planet names and sign names in the response, making the API suitable for a global, multilingual user base.

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

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 Tropical Planets.

What is the Tropical Planets API and what data does it provide?

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.

What input parameters are required to call Tropical Planets?

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.

How many credits does the Tropical Planets endpoint consume?

Each calculation request to Tropical Planets consumes 1 API credit. The endpoint delivers high performance with an average response time of ~57ms.

How do I authenticate with the Tropical Planets 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 Tropical Planets 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 Tropical Planets?

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 astro-details/planets-tropical
Presets:
Live Output
Click Send above to execute calculation.
Sample Output

API Categories