Skip to main content
POST/v1/astro/panchanga

Daily Panchanga

Calculate Vedic Panchanga for a given date and location. Returns Tithi, Nakshatra, Yoga, Karana, Vara (weekday), and auspicious and inauspicious periods for the day. Returns Tithi, Vara (weekday), Nakshatra, Yoga, and Karana for the birth date and location.

Request parameters

locationoptional
string | null
City name to resolve to lat/lon/tz automatically. Example: 'Mumbai' or 'New Delhi, India'. If provided, latitude, longitude and timezone are not required.
nameoptional
string | null
Optional. Name is not used in panchanga calculations.
daterequired
string
Birth date in YYYY-MM-DD format
timeoptional
string | null
Birth time in HH:MM 24-hour format. If omitted, sunrise chart is used as fallback.
latitudeoptional
number | null
Latitude. Required if location not provided.
longitudeoptional
number | null
Longitude. Required if location not provided.
timezoneoptional
string | null
IANA timezone. Required if location not provided.
ayanamsaoptional
string
Sidereal ayanamsa mode used in calculations

Response fields

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.tithi
object
data.tithi.number
integer
Tithi number, 1 to 30
data.tithi.name
string
Tithi name, e.g. Pratipada, Purnima, Amavasya
data.tithi.paksha
string
Paksha — Shukla (waxing) or Krishna (waning)
data.tithi.degrees_elapsed
number
Degrees completed within the current tithi
data.tithi.degrees_remaining
number
Degrees remaining until the next tithi
data.tithi.end_time
string | null
data.vara
object
data.vara.number
integer
Weekday number, 1 to 7
data.vara.name
string
Weekday name in Sanskrit, e.g. Ravivar, Somvar
data.vara.lord
string
Planetary lord of the weekday, e.g. Sun, Moon
data.vara.end_time
string | null
data.nakshatra
object
data.nakshatra.index
integer
Zero-based nakshatra index, 0 to 26
data.nakshatra.name
string
Nakshatra name, e.g. Ashwini, Revati
data.nakshatra.pada
integer
Pada number, 1 to 4
data.nakshatra.degrees_elapsed
number
Degrees completed within the current nakshatra
data.nakshatra.degrees_remaining
number
Degrees remaining until the next nakshatra
data.nakshatra.end_time
string | null
data.yoga
object
data.yoga.index
integer
Zero-based yoga index, 0 to 26
data.yoga.name
string
Yoga name, e.g. Vishkumbha, Shiva
data.yoga.is_inauspicious
boolean
True if this yoga is considered inauspicious
data.yoga.degrees_elapsed
number
Degrees completed within the current yoga
data.yoga.end_time
string | null
data.karana
object
data.karana.number
integer
Karana number, 1 to 60
data.karana.name
string
Karana name
data.karana.degrees_elapsed
number
Degrees completed within the current karana
data.karana.degrees_remaining
number
Degrees remaining until the next karana
data.karana.end_time
string | null

Errors

Missing or invalid API key.
Upstream ephemeris service error.
API key tier does not include this endpoint.
Unexpected server error.
Too many requests in a short window.
Request body exceeds the size limit.
Referenced resource was not found.
Request body failed schema validation.