---
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

---

[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/8ab5a768b521/schema)
