---
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
    - `timestamp` string, nullable
    - `current` object, nullable
      - `ruler` string, nullable
      - `kind` string, nullable
      - `startAt` string, nullable
    - `next` object, nullable
      - `ruler` string, nullable
      - `kind` string, nullable
      - `startAt` string, nullable
    - `next24Hours` object[], nullable
      - `ruler` string, nullable
      - `kind` string, nullable
      - `startAt` string, nullable
    - `nextEventAt` string, nullable
    - `tickSeconds` number, nullable
    - `transport` string, nullable
    - `sseUpgrade` string, nullable
    - `pricing` string, nullable

## Other responses

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

## Changes

- **2026-08-24** `8ab5a768b521` — 2 breaking, 13 info
  - the response property `data/next24Hours/items/` became nullable for the status `200`
  - the `data/next24Hours/items/` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - added the optional property `data/current/kind` to the response with the `200` status
  - added the optional property `data/current/ruler` to the response with the `200` status
  - …11 more
- **2026-08-15** `e637d1a9911b` — 2 warning
  - the `timezoneOffset` request property's max was set to `14.00`
  - the `timezoneOffset` request property's min was set to `-14.00`

[Change history](https://skmtc.dev/astroway/apis/astroway-calculation-api/changes/stream/planetary-hour-changes/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-service-production.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/8ab5a768b521/schema)
