SEARCH ASTRO INSIGHT API DOCS
The Panchang Calendar 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/calendar/sunrise
en
hi
ma
Methodology and astrological context for Panchang Calendar Sunrise.
The Panchang Calendar Sunrise API generates a full month-view Panchang almanac where every daily entry is computed relative to the astronomical sunrise of that day at the given location. This is the sunrise-anchored counterpart to the standard Panchang Calendar endpoint, and it delivers the most traditionally precise form of the monthly Hindu almanac — the method followed in classical Vedic astrology and orthodox religious practice.
This endpoint calculates the complete set of Panchang elements for every day of the specified month and year, with all values anchored to the actual local sunrise at the provided latitude, longitude, and timezone. Because the Hindu day (Tithi) begins and ends at sunrise rather than midnight, tying calculations to sunrise produces results that are in strict accordance with traditional Panchang methodology. The Ayanamsha used for sidereal calculations is selectable via a request header.
For each day in the requested month, the response typically includes:
Tithi — The lunar day name, index, and presiding deity, computed from sunrise
Nakshatra — The lunar mansion occupied by the Moon at sunrise, with ruling deity
Yoga — The daily auspiciousness index derived from the combined solar and lunar longitudes at sunrise
Karana — The half-tithi unit in effect at sunrise
Vara — The weekday and its planetary lord
Sunrise & Sunset times — Precise astronomically computed local sunrise and sunset for each date and location
Moonrise & Moonset times — Daily lunar rise and set timings
Festivals and observances — Hindu festivals, Vrats (fasting days), and religious events for each date
Chandra Rashi — The zodiac sign occupied by the Moon
Rahu Kalam, Gulika Kalam, Yamaganda — Inauspicious daily time windows
Abhijit Muhurta — The most auspicious time slot of the day
Ayanamsha value — The sidereal correction applied per the selected system
Traditional Hindu calendar apps — Building monthly Panchang calendar views that strictly follow the sunrise-based day boundary, as used in orthodox almanacs and Panchangams
Religious and ritual scheduling — Helping priests, practitioners, and devotees identify auspicious and inauspicious days across an entire month using sunrise-accurate data
Vedic astrology platforms — Supplying a month-level, sunrise-anchored Panchang feed for horoscope, muhurta, and electional astrology features
Festival discovery — Surfacing the correct dates for festivals and Vrats that depend on the Tithi at sunrise (e.g., Ekadashi, Pradosh, Purnima)
Muhurta and event planning tools — Enabling users to scan a full month for the best days and time windows for weddings, travel, business, or other significant activities
Sunrise-anchored daily calculations — All Panchang elements for each day are computed from the actual astronomical sunrise at the specified location, matching the traditional Vedic definition of a day and ensuring orthodox accuracy
Full-month coverage in one call — Returns data for every day of the specified month in a single request, avoiding the overhead of repeated per-day API calls
Location-aware — Uses latitude, longitude, and timezone offset to derive precise sunrise times and location-specific Panchang values for any place in the world
Configurable Ayanamsha — The X-Ayanamsha header allows selection of the sidereal correction system (e.g., Lahiri, Raman, KP), making the endpoint compatible with multiple Vedic astrology traditions
Multi-language support — The Accept-Language header enables responses in the preferred regional or vernacular language, supporting diverse user bases
Time-of-day input — Accepts hour, minute, and second in addition to month and year, allowing fine-grained anchoring for edge cases where the sunrise moment is near a Tithi or Nakshatra boundary
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 Panchang Calendar Sunrise.
The Panchang Calendar 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 Panchang Calendar 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 Panchang Calendar Sunrise consumes 1 API credit. The endpoint delivers high performance with an average response time of ~139ms.
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.