---
title: "Stream Eclipse Incoming"
method: POST
path: "/stream/eclipse-incoming"
tags: ["Real-time Streaming"]
---

# Stream Eclipse Incoming

`POST /stream/eclipse-incoming`

Countdown to next 5 eclipses.

## Request body

- EmptyBody — This endpoint reads nothing from the request body. Send {} (or any object, which is ignored).

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `timestamp` string, nullable
    - `count` number, nullable
    - `eclipses` object[], nullable
      - `kind` string, nullable
      - `type` string, nullable
      - `longitude` number, nullable
      - `sign` string, nullable
      - `maxAt` string, nullable
      - `beginAt` string, nullable
      - `endAt` string, nullable
      - `daysUntil` number, nullable
      - `hoursUntil` number, 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, 16 info
  - the response property `data/eclipses/items/` became nullable for the status `200`
  - the `data/eclipses/items/` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - added the optional property `data/count` to the response with the `200` status
  - added the optional property `data/eclipses/items/beginAt` to the response with the `200` status
  - …14 more

[Change history](https://skmtc.dev/astroway/apis/astroway-calculation-api/changes/stream/eclipse-incoming/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)
