SEARCH ASTRO INSIGHT API DOCS
The Basic Panchang Sunrise 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/basic-panchang/sunrise
en
hi
ma
Methodology and astrological context for Basic Panchang Sunrise.
The Basic Panchang Sunrise API computes the five core Panchang (Hindu almanac) elements anchored to the sunrise of a given date and geographic location, rather than a specific clock time. In Vedic tradition, many astrological and religious determinations are made relative to the sunrise of the day, making this a critical variant for accurate muhurta calculations, daily almanac generation, and ritual planning.
This API calculates the fundamental Panchang elements — Tithi (lunar day), Vara (weekday), Nakshatra (lunar mansion), Yoga (luni-solar combination), and Karana (half lunar day) — as they stand at the moment of sunrise for the specified date and location. By fixing the calculation point to sunrise, this endpoint follows the classical Vedic convention where the Panchang of a day is defined by the planetary positions at the time the Sun rises at that location. This makes it particularly suited for traditional almanac generation and religious scheduling where sunrise-relative values are required.
Tithi — the lunar day number, name, deity, and completion percentage at sunrise
Vara — the Vedic weekday, its ruling planet, and general characteristics
Nakshatra — the lunar mansion (star) the Moon occupies at sunrise, including its name, lord, and pada (quarter)
Yoga — the luni-solar yoga active at sunrise, its name, ruling deity, and nature (auspicious or inauspicious)
Karana — the half-day unit in effect at sunrise, its name, type (fixed or movable), and ruling deity
Sunrise time — the precise sunrise time computed for the given location and date
Sunset, Moonrise, and Moonset times — computed for the given location and date
Ayanamsha value — the precession offset applied during calculation
Traditional Panchang and almanac generation — producing daily almanac entries that follow the classical Vedic convention of sunrise-anchored Panchang values
Religious and ritual scheduling — determining the Panchang of a day for planning pujas, vratas (fasts), festivals, and other religious observances
Muhurta determination — identifying auspicious timings for important life events where the day's Panchang is assessed from sunrise
Hindu calendar applications — powering digital Panchang calendars, temple apps, and religious event platforms
Astrology platforms — providing sunrise-based Panchang data for birth chart analysis and daily astrological guidance
Spiritual and devotional apps — helping users understand the sacred quality of each day from a traditional Vedic perspective
Sunrise-anchored calculation — all five Panchang elements are evaluated at the moment of sunrise, following classical Vedic convention
Location-aware sunrise computation — sunrise time is derived from the provided latitude, longitude, and timezone for geographic accuracy
Five-element Panchang output — delivers all five classical Panchang components (Tithi, Vara, Nakshatra, Yoga, Karana) in a single response
Ayanamsha support — applies the configured Ayanamsha system (e.g., Lahiri, Raman, KP) for sidereal calculations
Multilingual support — returns data in the language specified via the Accept-Language header
Luminaries' timing data — includes sunrise, sunset, moonrise, and moonset times for the given location and date
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 Basic Panchang Sunrise.
The Basic Panchang Sunrise 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.
The Basic Panchang Sunrise 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 Basic Panchang Sunrise consumes 1 API credit. The endpoint delivers high performance with an average response time of ~34ms.
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.