---
title: "Panchang: Chandra Bala for a person"
method: POST
path: "/vedic/panchang/chandra-bala"
tags: ["Vedic"]
---

# Panchang: Chandra Bala for a person

`POST /vedic/panchang/chandra-bala`

## Request

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

For each day and each Moon sign in it: the Moon's house from the natal Moon sign, `favourable` (1, 3, 6, 7, 10, 11) and `chandrashtama` (8). Natal Moon from `birth` or `janmaRashi`; `days` 1 to 31.

## Query parameters

- `fields` string
- `precision` integer

## Headers

- `Idempotency-Key` string

## Request body

- BalaInput: A person (birth, or janmaNakshatra / janmaRashi), a first date, a number of days and a place. Each day runs from sunrise to the next sunrise.
  - `birth` object: Birth data. The natal Moon sign and birth star are computed from it (sidereal, the ayanamsa of the request).
    - `date` string, required
    - `time` string, required
    - `timezoneOffset` number, nullable: Hours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC. Ignored when timezone is sent.
    - `timezone` string: IANA zone name such as Europe/Kyiv, or auto to look the zone up from latitude and longitude. The server takes the offset that zone kept at this local date and time, summer time included, and uses it in place of timezoneOffset. A clock time that happened twice takes the first occurrence; one skipped when clocks went forward takes the offset from before the change. Abbreviations such as EST are refused. Before 1970 the tz database is not reliable for every place, so send timezoneOffset when the local clock is known.
    - `latitude` number, required
    - `longitude` number, required
    - `houseSystem` 'P' | 'K' | 'R' | 'C' | 'E' | 'W' | 'B' | 'M' | 'O' | 'A' | 'T' | 'V' | 'D' | 'F' | 'G' | 'H' | 'I' | 'i' | 'L' | 'N' | 'Q' | 'S' | 'U' | 'X' | 'Y'
    - `name` string
    - `city` string
    - `zodiacType` 'tropical' | 'sidereal'
    - `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.
    - `cosmogram` boolean
  - `janmaRashi` 'Mesha' | 'Vrishabha' | 'Mithuna' | 'Karka' | 'Simha' | 'Kanya' | 'Tula' | 'Vrishchika' | 'Dhanu' | 'Makara' | 'Kumbha' | 'Meena': Natal Moon sign, when birth is not sent: Mesha ... Meena.
  - `janmaNakshatra` integer: Birth star 1 (Ashwini) to 27 (Revati), when birth is not sent.
  - `date` string, required: Civil date, YYYY-MM-DD. The day runs from its sunrise to the next sunrise.
  - `timezoneOffset` number, nullable: Hours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC. Ignored when timezone is sent.
  - `timezone` string: IANA zone name such as Europe/Kyiv, or auto to look the zone up from latitude and longitude. The server takes the offset that zone kept at this local date and time, summer time included, and uses it in place of timezoneOffset. A clock time that happened twice takes the first occurrence; one skipped when clocks went forward takes the offset from before the change. Abbreviations such as EST are refused. Before 1970 the tz database is not reliable for every place, so send timezoneOffset when the local clock is known.
  - `latitude` number, required
  - `longitude` number, required
  - `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.
  - `days` integer: Number of days from date, 1 to 31. Default 1.

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `method` string, nullable
    - `janmaRashi` string, nullable
    - `days` object[], nullable
      - `date` string, nullable
      - `sunrise` string, nullable
      - `nextSunrise` string, nullable
      - `periods` object[], nullable
        - `from` string, nullable
        - `until` string, nullable
        - `moonSign` string, nullable
        - `house` number, nullable
        - `favourable` boolean, nullable
        - `chandrashtama` boolean, 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/panchang/chandra-bala/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/bf266b2e6703?raw)
