---
title: "Chandrashtama Periods"
method: GET
path: "/astrology/chandrashtama-periods"
tags: ["Horoscope"]
---

# Chandrashtama Periods

`GET /astrology/chandrashtama-periods`

## Request

- Base URL: `https://api.prokerala.com/v2`
- URL: `https://api.prokerala.com/v2/astrology/chandrashtama-periods`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.prokerala.com/token`
- TypeScript: <https://skmtc.dev/prokerala/apis/astrology-api/docs/astrology/chandrashtama-periods/get.ts> (a function with typed inputs; its response is checked against the schema)

**Credits Required:** 200 for English, 400 for other languages - The `datetime` and `rasi` parameters are optional, but one of them must be provided. If only `rasi` is given, the `is_peak` value will be set to `null`, as the `datetime` parameter is necessary for calculating the peak nakshatra.


List of Rasis and their ID's

|Rasi Name|Rasi ID|
|---|---|
|MESHA|0|
|VRISHABHA|1|
|MITHUNA|2|
|KARKA|3|
|SIMHA|4|
|KANYA|5|
|TULA|6|
|VRISCHIKA|7|
|DHANU|8|
|MAKARA|9|
|KUMBHA|10|
|MEENA|11|

## Query parameters

- `ayanamsa` number, required
- `coordinates` string, required
- `year` string, required
- `datetime` string
- `rasi` string
- `output_timezone` string
- `la` string

## Response `200`

OK

- ChandrashtamaPeriodResponse
  - `status` string, required
  - `data` ChandrashtamaPeriodResult, required
    - `chandrashtama` Chandrashtama, required
      - `rasi` Rasi, required
        - `id` integer, required
        - `name` string, required
        - `lord` Lord, required
          - `id` integer, required
          - `name` string, required
          - `vedic_name` string, required
      - `nakshatra` NakshatraElement[], required
        - `id` integer
        - `name` string
        - `lord` Lord
          - `id` integer, required
          - `name` string, required
          - `vedic_name` string, required
    - `chandrashtama_timing` object[], required
      - `start` string, required
      - `end` string, required
      - `nakshatra_timings` ChandrashtamaNakshatraTiming[], required
        - `nakshatra` NakshatraElement, required
          - `id` integer
          - `name` string
          - `lord` Lord
            - `id` integer, required
            - `name` string, required
            - `vedic_name` string, required
        - `start` string, required
        - `end` string, required
        - `is_peak` boolean, required

---

[API](https://skmtc.dev/prokerala/apis/astrology-api.md) - [All operations](https://skmtc.dev/prokerala/apis/astrology-api/llms.txt) - [OpenAPI document](https://skmtc.dev/prokerala/apis/astrology-api/revisions/35b695728082?raw)
