Skip to main content
GET/v1/astro/ayanamsha

Ayanamsha Values

Returns ayanamsha values for all four supported systems (Lahiri, Raman, KP, Tropical) for a given date. Each system returns the value in decimal degrees and DMS (degrees/minutes/seconds) format. Pass ?date=YYYY-MM-DD for a specific date. Omit ?date to get today's values (today's UTC date). Lahiri is the Indian government standard and default for Jyotish.

Request parameters​

dateoptional
string (date) | null
Date, YYYY-MM-DD. Omit for today's UTC date.

Response fields​

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.date
string
Date in ISO YYYY-MM-DD format
data.ayanamsha
object
Ayanamsha values keyed by system name (lahiri, raman, kp, tropical)
data.note
string

Errors​

Invalid API key format.
API key is missing. Include it in the Authorization header as 'Bearer YOUR_KEY'.
The provided API key was not found. Verify the key in your Asterwise dashboard.
This API key has been revoked.
Too many requests per minute. Please slow down.
Something went wrong on our end. Please try again, or contact [email protected] if the problem persists. Include your request_id when contacting support.
Too many requests from this IP address. Please slow down.
Monthly API call limit reached. Upgrade your plan to continue.
Request body exceeds maximum allowed size of 64KB.
Your subscription has expired. Please renew at asterwise.com/dashboard to continue.
The request couldn't be processed. See the 'details' field for specific field-level issues.