---
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
    - `nextSolar` object, nullable
    - `nextLunar` object, 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/6828e5609564/schema)
