/v1/meta/ayanamsas
Supported ayanamsa systems.
What this tells you
Supported sidereal ayanamsa systems. Lahiri is India's government standard and the DivyAstroAPI default. Other systems produce slightly different sidereal longitudes — up to ~2° in older texts — and may shift planet nakshatra placements for borderline cases.
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.divyastroapi.com/v1/meta/ayanamsas?date=2026-04-19&time=06%3A30&tz=%2B05%3A30&lat=28.61&lon=77.21" \
-H "Authorization: Bearer dv_live_0123456789abcdef0123456789abcdef"Response (200 OK)
Successful requests return a JSON body. Field names are stable across versions.
[
{ "id": "lahiri", "label": "Lahiri (Chitrapaksha)", "is_default": true },
{ "id": "raman", "label": "B.V. Raman", "is_default": false },
{ "id": "krishnamurti", "label": "Krishnamurti Paddhati", "is_default": false },
{ "id": "yukteshwar", "label": "Sri Yukteshwar", "is_default": false },
{ "id": "fagan_bradley","label": "Fagan-Bradley", "is_default": false },
{ "id": "true_citra", "label": "True Chitra", "is_default": false }
]Field reference
Every field in the response, with its type, a real example, and what it means.
| Field | Type | Meaning |
|---|---|---|
| [].id | string | Ayanamsa identifier — pass as ?ayanamsa=<id> query param to override the default. example: "lahiri" |
| [].label | string | Human-readable name. example: "Lahiri (Chitrapaksha)" |
| [].is_default | boolean | Which ayanamsa is used when no override is specified. example: true |
Usage tips
How to use it
- Expose as a user settingSome hardcore users want to switch ayanamsa. Add it as an advanced setting in your app.
Errors
Every error follows the same envelope. Use the error.code field (not the message) for conditional logic in your integration.
401 Unauthorized
{
"error": {
"code": "unauthorized",
"message": "missing or invalid API key",
"request_id": "req_01hqy7k8c3e7m1n"
}
}402 Payment Required
{
"error": {
"code": "trial_exhausted",
"message": "your free trial credits are exhausted — pick a plan to continue",
"top_up_url": "https://divyastroapi.com/pricing",
"request_id": "req_01hqy7k8c3e7m1n"
}
}429 Too Many Requests
{
"error": {
"code": "rate_limited",
"message": "rate limit exceeded; retry after 12 seconds",
"request_id": "req_01hqy7k8c3e7m1n"
}
}Try it
Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 500 free credits. Sign up.