---
title: "Panchang: Pancha Pakshi (five birds)"
method: POST
path: "/vedic/panchang/pancha-pakshi"
tags: ["Vedic"]
---

# Panchang: Pancha Pakshi (five birds)

`POST /vedic/panchang/pancha-pakshi`

## Request

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

Tamil five-bird system for a date and place: the paksha at sunrise, five day and five night yamas, the activity (ruling, eating, walking, sleeping, dying) of every bird in each, and, with a person (`bird`, `birth`, or `janmaNakshatra` + `birthPaksha`), that bird's activity and the five sub-periods of each yama.

## Query parameters

- `fields` string
- `precision` integer

## Headers

- `Idempotency-Key` string

## Request body

- PanchaPakshiInput: A date and a place, and optionally the person (birth, janmaNakshatra + birthPaksha, or bird). Without a person every bird's activity per yama is returned, without sub-periods.
  - `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.
  - `birth` object: Birth data. The birth bird follows from the birth star and the paksha at birth.
    - `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
  - `janmaNakshatra` integer: Birth star 1 to 27, with birthPaksha, when birth is not sent.
  - `birthPaksha` 'shukla' | 'krishna': Paksha at birth, with janmaNakshatra.
  - `bird` 'vulture' | 'owl' | 'crow' | 'cock' | 'peacock': The birth bird directly; wins over birth and janmaNakshatra. Use it where your tradition groups the stars differently.

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `method` string, nullable
    - `date` string, nullable
    - `weekday` number, nullable
    - `paksha` string, nullable
    - `sunrise` string, nullable
    - `sunset` string, nullable
    - `bird` object, nullable
      - `key` string, nullable
      - `tamil` string, nullable
      - `sanskrit` string, nullable
      - `from` string, nullable
    - `activities` object, nullable
      - `ruling` object, nullable
        - `tamil` string, nullable
        - `strength` number, nullable
        - `quality` string, nullable
      - `eating` object, nullable
        - `tamil` string, nullable
        - `strength` number, nullable
        - `quality` string, nullable
      - `walking` object, nullable
        - `tamil` string, nullable
        - `strength` number, nullable
        - `quality` string, nullable
      - `sleeping` object, nullable
        - `tamil` string, nullable
        - `strength` number, nullable
        - `quality` string, nullable
      - `dying` object, nullable
        - `tamil` string, nullable
        - `strength` number, nullable
        - `quality` string, nullable
    - `yamas` object[], nullable
      - `index` number, nullable
      - `part` string, nullable
      - `start` string, nullable
      - `end` string, nullable
      - `activities` object, nullable
        - `vulture` string, nullable
        - `cock` string, nullable
        - `owl` string, nullable
        - `peacock` string, nullable
        - `crow` string, nullable
      - `activity` string, nullable
      - `subPeriods` object[], nullable
        - `bird` string, nullable
        - `activity` string, nullable
        - `start` string, nullable
        - `end` string, nullable
    - `source` string, nullable
    - `basis` 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/pancha-pakshi/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)
