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

# Stream Eclipse Totality

`POST /stream/eclipse-totality`

Next solar+lunar eclipses with totality info.

## Request body

- EclipseTotality
  - `latitude` number, nullable
  - `longitude` number, nullable

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `timestamp` string, nullable
    - `nextSolar` object, nullable
      - `type` string, nullable
      - `longitude` number, nullable
      - `sign` string, nullable
      - `maxAt` string, nullable
      - `beginAt` string, nullable
      - `endAt` string, nullable
      - `durationHours` number, nullable
      - `daysUntil` number, nullable
      - `isTotal` boolean, nullable
    - `nextLunar` object, nullable
      - `type` string, nullable
      - `longitude` number, nullable
      - `sign` string, nullable
      - `maxAt` string, nullable
      - `beginAt` string, nullable
      - `endAt` string, nullable
      - `durationHours` number, nullable
      - `daysUntil` number, nullable
      - `isTotal` boolean, nullable
    - `note` 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` — 25 info
  - added the optional property `data/nextEventAt` to the response with the `200` status
  - added the optional property `data/nextLunar/beginAt` to the response with the `200` status
  - added the optional property `data/nextLunar/daysUntil` to the response with the `200` status
  - added the optional property `data/nextLunar/durationHours` to the response with the `200` status
  - …21 more

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