Eclipse Lookup

The solar and lunar eclipses nearest a date, with the instant of greatest eclipse in UTC, the type, the obscuration and — for a solar eclipse — where greatest eclipse touches the Earth. Give a place as well and each one also carries what that observer actually gets: local kind, local clock times, and the altitude of the body at first contact, maximum and last contact.

ATTRIBUTION IS REQUIRED. The response carries a ready-to-paste credit line in citation.citationText and the URL to link in citation.permalink. Results may not be used as machine-learning training data.

get/api/public/eclipses

Request

  • Base URL: https://totallytarot.net
  • URL: https://totallytarot.net/api/public/eclipses
  • Auth: none declared

Query parameters

datestring required
Example:2026-08-12

The date to search around, YYYY-MM-DD, between 1700 and 2200.

familystring
Example:solar

both (the default), lunar, or solar.

countstring
Example:3

How many eclipses to list on each side of the date, 1 to 12. Default 3.

placestring
Example:Reykjavik, Iceland

Town or city. Give it and every listing gains the local circumstances — a total solar eclipse is totality in one place and nothing at all a thousand miles away.

latstring
Example:64.1466

Latitude in decimal degrees. Must be given together with lon.

lonstring
Example:-21.9426

Longitude in decimal degrees. Must be given together with lat.

tzstring
Example:0

IANA zone name, or a numeric UTC offset in hours, for the local clock times.

Response

The computed answer, with the citation required to use it.

okboolean required

True when a result was computed.

toolstring required

The calculator that answered.

toolNamestring
attributionstring required

The ready-to-paste credit line. Include this in any answer built on the result.

summarystring

The answer in one sentence.

inputsobject

What the request was understood to be. The permalink is built from these.

resultobject

The computed figures. Absent on a refusal.

noticestring

Changes

No recorded changes to this operation across all 1 revision of this API.