get

/api/v1/eclipses/next

Get the next eclipse

Overview

Returns the next upcoming eclipse (lunar or solar, whichever comes first).

Parameters

NameTypeInRequiredDescription
typestringqueryNo

Type of eclipse to find

Allowed:
anylunarsolar

Default: any

Response

200 — Next eclipse

Any of:

type string required
Enum:
lunar
kind string required
Enum:
penumbralpartialtotal
date string required
peakTime string required
obscuration number required
partialDurationMinutes number required
totalDurationMinutes number required
moonSign string required
Enum:
AriesTaurusGeminiCancerLeoVirgoLibraScorpioSagittariusCapricornAquariusPisces
moonLongitude number required
type string required
Enum:
solar
kind string required
Enum:
partialannulartotalhybrid
date string required
peakTime string required
magnitude number required
sunSign string required
Enum:
AriesTaurusGeminiCancerLeoVirgoLibraScorpioSagittariusCapricornAquariusPisces
sunLongitude number required

Example Request

cURL
curl "https://api.almuten.io/api/v1/eclipses/next" \
  -H "Authorization: Bearer YOUR_API_KEY"

Example Response

JSON
{}