---
title: "Planetary Hours"
method: POST
path: "/planetary-hours"
tags: ["Calendar & Cycles"]
---

# Planetary Hours

`POST /planetary-hours`

Calculate Chaldean planetary hours for a given date and location, starting from sunrise.

## Request body

- PlanetaryHours
  - `date` string, required
  - `latitude` number, nullable, required
  - `longitude` number, nullable, required
  - `timezoneOffset` number, nullable

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `sunrise` string, nullable
    - `sunset` string, nullable
    - `dayHours` object[], nullable
      - `hour` number, nullable
      - `ruler` string, nullable
      - `start` string, nullable
      - `end` string, nullable
    - `nightHours` unknown[], nullable
      - unknown

## Other responses

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

---

[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-service-production.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/793e5c2dbcdf/schema)
