Five Millennium Canon of Solar Eclipses
Key data from NASA's solar eclipse catalog queryable as JSON
Last updated
Key data from NASA's solar eclipse catalog queryable as JSON
Last updated
NASA's Five Millennium Canon of Solar Eclipses provides details of all solar eclipses occurring over the period -1999 to +3000 (2000 BCE to 3000 CE). This public domain data is available at .
An extract of this data - specifically the summary data for each solar eclipse - is available via a web service.
Acknowledgement:
Request eclipses between a start and end year as follows:
P
Partial Eclipse
A
Annular Eclipse
T
Total Eclipse
H
Hybrid or Annular/Total Eclipse
The following request returns the Hybrid eclipses in Saros cycle 137 between the years 1000 and 2500:
The expected response is as follows (abbreviated for length):
In this case, the array included in the response
property conforms to the following Typescript type:
sLat
string
NASA's Lat.
field in text form
sLng
string
NASA's Long.
field in text form
sCentralDuration
string
NASA's Central Dur.
field in text form
lat
number
Latitude of greatest eclipse in degrees, positive north, to nearest whole degree
lng
number
Longitude of greatest eclipse in degrees, positive east, to nearest whole degree
centraDurationSec
number
Duration of totality or annularity at location of greatest eclipse, in seconds
isoDate
string
Midnight of date of eclipse in ISO Date format. Gregorian Calendar is used for dates after 1582 Oct 15. Julian Calendar is used for dates before 1582 Oct 04.
eclipseTypeQualifier
string | null
The second character of NASA's Ecl. Type
field.
eclipseTypePrimary
string
The first character of NASA's Ecl. Type
field. These are broken out separately for indexing and data querying efficiency reasons.
countryISO
string | null
2-letter ISO country code corresponding the modern day country at the lat/lng of the point of greatest eclipse. Null if point does not lie within a country.
mrgID
number | null
tzID
string
The modern Time Zone ID corresponding to the point of greatest eclipse.
You can optionally specify a number and/or an eclipse type, where valid eclipse types are:
Except as noted below, the fields returned in the response correspond directly to the source NASA data, except that field names are camel-cased. Please refer to the for details.
numeric ID corresponding to the sea or ocean at the lat/lng of the point of greatest eclipse. Null if the point lies over land.
This field and the countryISO
field are useful for general characterization of the location of greatest eclipse in user interfaces.