---
title: "Algol Nearest Minimum"
method: POST
path: "/algol-minimum/nearest"
tags: ["Calendar & Cycles"]
---

# Algol Nearest Minimum

`POST /algol-minimum/nearest`

Find the single nearest Algol brightness minimum before or after a given date.

## Request body

- AlgolNearest
  - `date` string, required
  - `longitude` number, nullable

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `date` string, nullable
    - `time` string, nullable
    - `jd` number, nullable
    - `hoursUntil` number, 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)
