Logo

SEARCH ASTRO INSIGHT API DOCS

Home Vedic Astrology
POST Vedic API v1

Extended Planetary Positions

The Extended Planetary Positions API provides Panchang 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/panchang/planets-extended
Credit Cost
1 Credit
Avg Latency
~62ms
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 Extended Planetary Positions.

Extended Planetary Positions

This endpoint returns a comprehensive, extended set of astronomical and Vedic astrological data for all major planets at a specified date, time, and geographic location. Compared to a standard planetary positions endpoint, the "extended" variant enriches each planet's entry with deeper classical Vedic attributes — providing a richer dataset suitable for detailed chart analysis, interpretation engines, and full-featured Jyotish applications.

What This API Returns

For each planet — Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu, and the Ascendant (Lagna) — the response provides the full set of standard positional data plus extended Vedic attributes, which typically include:

  • Degree positions — absolute ecliptic degree (full_degree) and degree within the current zodiac sign (norm_degree), in both decimal and formatted (degrees:minutes:seconds) notation.

  • Zodiac sign placement — the sign the planet occupies, with Western and Hindu/Vedic names, ruling lord, and associated element (Fire, Earth, Air, Water).

  • House placement — the astrological house (1–12) the planet occupies, calculated relative to the Ascendant for the given moment and location.

  • Nakshatra (lunar mansion) — the nakshatra the planet is placed in, along with its presiding deity, ruling planet (lord), and pada (quarter, 1–4).

  • Planetary motion — current speed and retrograde status.

  • Avastha (planetary state) — classical Vedic dignity indicators including Bal Avastha (age-based state: Bala, Kumar, Yuva, Vridha, Mrit) and Jagrat Avastha (consciousness state: Jagrat, Swapan, Supust).

  • Extended attributes — additional classical Vedic data points beyond the standard response, which may include dignity/debility status, planetary relationships, shadbala components, or other expanded interpretive metadata depending on the API version.

Main Use Cases

  • Full Vedic chart generation — producing a complete Jyotish birth chart or transit chart with all the extended attributes needed for in-depth interpretation, without requiring multiple API calls.

  • Astrological interpretation engines — powering automated or AI-assisted chart reading systems that require rich per-planet metadata (dignities, states, relationships) to generate meaningful insights.

  • Detailed Panchang and almanac tools — building daily or event-based almanacs that go beyond basic planetary positions to include classical Vedic qualitative assessments.

  • Muhurta and electional astrology — evaluating the extended strength and condition of planets for selecting auspicious timings for important events.

  • Research and data analysis — providing a structured, machine-readable extended dataset for statistical or algorithmic research into Vedic astrology patterns.

  • Astrology dashboards and apps — serving as the primary data source for feature-rich Jyotish applications that display comprehensive planet cards with full classical attributes.

Key Functionality

  • Extended Vedic metadata per planet — each planet entry goes beyond basic position data to include the full suite of classical Vedic attributes, making this endpoint the most data-rich planetary positions call in the API.

  • Precise time and location input — positions are calculated for the exact date, time (hour, minute, second), and geographic coordinates (latitude, longitude) supplied in the request body, supporting any location worldwide.

  • Ayanamsha support — the sidereal coordinate system is controlled via the X-Ayanamsha header, allowing selection of different ayanamsha systems (e.g., Lahiri, Raman, KP) to match the practitioner's tradition.

  • Ascendant (Lagna) included — the rising sign is returned as part of the planet list, enabling immediate house-system construction from a single response.

  • Retrograde detection — each planet entry explicitly flags retrograde status, a critical factor in Vedic interpretation.

  • Timezone-aware calculation — the tzone parameter ensures positions are computed for the correct local moment anywhere in the world.

  • Localization-ready — the Accept-Language header allows the API to return names and labels in the requested language, supporting multilingual Vedic astrology interfaces.

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 Extended Planetary Positions.

What is the Extended Planetary Positions API and what data does it provide?

The Extended Planetary Positions API provides authentic Panchang 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 Extended Planetary Positions?

The Extended Planetary Positions 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 Extended Planetary Positions endpoint consume?

Each calculation request to Extended Planetary Positions consumes 1 API credit. The endpoint delivers high performance with an average response time of ~62ms.

How do I authenticate with the Extended Planetary Positions 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 Extended Planetary Positions 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 Extended Planetary Positions?

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

API Categories