---
title: "Stream Planetary Hour Changes"
method: POST
path: "/stream/planetary-hour-changes"
tags: ["Real-time Streaming"]
---

# Stream Planetary Hour Changes

`POST /stream/planetary-hour-changes`

Current planetary hour + next 24.

## Request body

- PlanetaryHour
  - `latitude` number, nullable, required
  - `longitude` number, nullable, 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.

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `current` object, nullable
    - `next24Hours` unknown[], nullable
      - unknown

## Other responses

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

---

[API](https://skmtc.net/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.net/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/6828e5609564/schema)
