---
title: "Hindu calendar: lunar months, adhika and kshaya, eras"
method: POST
path: "/vedic/calendar/months"
tags: ["Vedic"]
---

# Hindu calendar: lunar months, adhika and kshaya, eras

`POST /vedic/calendar/months`

## Request

- Base URL: `https://api.astroway.info/v1`
- URL: `https://api.astroway.info/v1/vedic/calendar/months`
- Auth: API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/astroway/apis/astroway-calculation-api/docs/vedic/calendar/months/post.ts> (a function with typed inputs; its response is checked against the schema)

The lunar months touching the year: new moon, full moon, next new moon, the Sun's sidereal sign at the opening new moon, adhika (no sankranti inside) and kshaya (two), and the purnimanta names of both pakshas. Plus the twelve sankrantis with their local moments and the eras: Shaka and Vikram Samvat from Chaitra, Vikram Samvat from Kartika (Gujarat), the sixty-year samvatsara name. 2026 has Adhika Jyeshtha (17 May to 15 June).

## Query parameters

- `fields` string
- `precision` integer

## Headers

- `Idempotency-Key` string

## Request body

- CalendarMonthsInput: A Gregorian year and a place for the lunar months.
  - `year` integer, required: Gregorian year, 1900 to 2100. Entries are those whose date falls in this year.
  - `latitude` number, nullable, required: Latitude in decimal degrees, north positive. Between -66 and 66: further out the Sun does not rise on some days and a Hindu day has no start.
  - `longitude` number, nullable, required: Longitude in decimal degrees, east positive.
  - `timezone` string: IANA zone name such as Asia/Kolkata, America/New_York or Europe/Kyiv, or auto (default) to look it up from the coordinates. Resolved day by day: each day is read on the offset that zone kept that day, so summer time is followed.
  - `timezoneOffset` number, nullable: A fixed offset in hours instead of a zone, for the whole year. Ignored when timezone is sent.
  - `ayanamsaId` number, nullable
  - `ayanamsa` 'fagan-bradley' | 'lahiri' | 'de-luce' | 'raman' | 'krishnamurti' | 'kp' | 'yukteshwar' | 'jn-bhasin' | 'true-citra' | 'djwhal-khul': Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `year` number, nullable
    - `place` object, nullable
      - `latitude` number, nullable
      - `longitude` number, nullable
      - `timezone` string, nullable
      - `timezoneOffset` unknown
      - `ayanamsaId` number, nullable
    - `months` object[], nullable
      - `name` string, nullable
      - `index` number, nullable
      - `adhika` boolean, nullable
      - `kshayaOf` unknown
      - `label` string, nullable
      - `newMoon` string, nullable
      - `fullMoon` string, nullable
      - `nextNewMoon` string, nullable
      - `sunSignAtNewMoon` string, nullable
      - `purnimanta` object, nullable
        - `shuklaPaksha` string, nullable
        - `krishnaPaksha` string, nullable
    - `adhika` string[], nullable
    - `kshaya` unknown[], nullable
      - unknown
    - `eras` object, nullable
      - `shaka` object, nullable
        - `from` string, nullable
        - `number` number, nullable
        - `note` string, nullable
      - `vikramChaitradi` object, nullable
        - `from` string, nullable
        - `number` number, nullable
        - `note` string, nullable
      - `vikramKartikadi` object, nullable
        - `from` string, nullable
        - `number` number, nullable
        - `note` string, nullable
      - `samvatsara` object, nullable
        - `name` string, nullable
        - `note` string, nullable
    - `sankrantis` object[], nullable
      - `sign` string, nullable
      - `at` string, nullable
    - `rule` string, nullable

## Other responses

- `400`: Validation error
- `401`: Missing or invalid API key

## Changes

- **2026-11-07** `69a55e116a5e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/astroway/apis/astroway-calculation-api/changes/vedic/calendar/months/post.md)

---

[API](https://skmtc.dev/astroway/apis/astroway-calculation-api.md) - [All operations](https://skmtc.dev/astroway/apis/astroway-calculation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/astroway/apis/astroway-calculation-api/revisions/69a55e116a5e?raw)
