---
title: "Ayanamsha Values"
method: GET
path: "/v1/astro/ayanamsha"
tags: ["Astrology"]
---

# Ayanamsha Values

`GET /v1/astro/ayanamsha`

## Request

- Base URL: `https://api.asterwise.com`
- URL: `https://api.asterwise.com/v1/astro/ayanamsha`
- Auth: HTTP bearer

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.

## Query parameters

- `date` string, date, nullable: Date, YYYY-MM-DD. Omit for today's UTC date.

## Response `200`

Successful Response

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

## Other responses

- `401`: Authentication failed
- `403`: Authorization failed
- `404`: Resource not found
- `413`: Payload too large
- `422`: Validation error
- `429`: Rate limit exceeded
- `500`: Internal error
- `502`: Upstream provider error
- `503`: Service unavailable

---

[API](https://skmtc.dev/asterwise/apis/asterwise-api.md) · [All operations](https://skmtc.dev/asterwise/apis/asterwise-api/llms.txt) · [OpenAPI document](https://skmtc.dev/asterwise/apis/asterwise-api/revisions/3c4bbb1194e2?raw)
