SEARCH ASTRO INSIGHT API DOCS
The Panchang Calendar 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
en
hi
ma
Methodology and astrological context for Panchang Calendar.
The Panchang Calendar API generates a complete month-view Panchang almanac for a given month, year, and geographic location. Rather than returning data for a single day, this endpoint delivers a full calendar's worth of daily Panchang entries in a single response, making it ideal for building monthly Hindu almanac views, scheduling interfaces, and calendar-driven astrology features.
This endpoint computes the core Panchang elements for every day within the specified month and year, calculated relative to the provided geographic coordinates and timezone. The Ayanamsha (sidereal zodiac correction) is configurable via a request header, ensuring compatibility with different Vedic astrology traditions. The result is a structured, day-by-day breakdown of the Hindu almanac for the entire month.
For each day in the requested month, the response typically includes:
Tithi — The lunar day, its name, and the presiding deity
Nakshatra — The lunar mansion occupied by the Moon for that day
Yoga — The auspiciousness index for the day
Karana — The half-tithi unit applicable to the day
Vara — The weekday and its planetary ruler
Sunrise & Sunset times — Astronomically computed local sunrise and sunset for each date
Moonrise & Moonset times — Lunar rise and set timings per day
Festivals and observances — Notable Hindu festivals, fasting days (Vrats), and religious events falling on each date
Chandra Rashi — The zodiac sign occupied by the Moon
Rahu Kalam and other inauspicious periods — Daily inauspicious time windows
Ayanamsha value — The sidereal correction applied as per the selected system
Hindu calendar applications — Powering monthly Panchang calendar views with full almanac data for every day of the month
Festival and event planning — Surfacing religious festivals, fasting days, and auspicious dates across an entire month at a glance
Astrology platforms — Providing a month-level data feed for Vedic astrology apps that display daily Tithi, Nakshatra, and Yoga in a calendar grid
Scheduling and muhurta tools — Enabling users to scan an entire month to identify the most auspicious days for important activities such as travel, business launches, or ceremonies
Religious content platforms — Generating monthly almanac content for devotional apps, websites, and publications
Full-month coverage — Returns Panchang data for every day of the specified month in a single API call, eliminating the need for repeated per-day requests
Location-aware calculations — Uses latitude, longitude, and timezone offset to compute astronomically accurate sunrise-relative values specific to any location worldwide
Configurable Ayanamsha — The X-Ayanamsha header allows selection of the sidereal correction system (e.g., Lahiri, Raman, KP), ensuring results align with the user's preferred Vedic tradition
Multi-language support — The Accept-Language header enables responses in the preferred regional or vernacular language
Time-of-day input — Accepts hour, minute, and second alongside the month and year, allowing precise anchoring of calculations to a specific time within the day for edge-case accuracy
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.
The Panchang Calendar 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 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 consumes 1 API credit. The endpoint delivers high performance with an average response time of ~155ms.
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.