---
title: "Panchang: Chandrashtama of the day"
method: POST
path: "/vedic/panchang/chandrashtama/day"
tags: ["Vedic"]
---

# Panchang: Chandrashtama of the day

`POST /vedic/panchang/chandrashtama/day`

## Request

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

For each Moon sign between sunrise and next sunrise: the rashi that has Chandrashtama and its nakshatra padas, as a Tamil daily sheet prints them.

## Query parameters

- `fields` string
- `precision` integer

## Headers

- `Idempotency-Key` string

## Request body

- PanchangDayInput: A date and a place. Sunrise and sunset of that place bound the periods; timezone (an IANA name) may be sent instead of timezoneOffset.
  - `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.

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `method` string, nullable
    - `date` string, nullable
    - `sunrise` string, nullable
    - `nextSunrise` string, nullable
    - `periods` object[], nullable
      - `from` string, nullable
      - `until` string, nullable
      - `moonSign` string, nullable
      - `chandrashtamaFor` string, nullable
      - `nakshatras` object[], nullable
        - `nakshatra` string, nullable
        - `padas` number[], 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/chandrashtama/day/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)
