Returns solar and lunar eclipses with tropical Sun/Moon positions, magnitude and duration. Nodes use Western naming (north_node/south_node). Supply an optional natal block to get the house each eclipse falls in for a birth chart plus tight hits to natal planets. Query types: upcoming, past, year (1200–2699), range.
Authentication
Required.
Request body
Field
Type
Required
Description
query_type
string
No
upcoming (default), past, year, range.
timezone
string
No
IANA timezone. Default UTC.
type
string
No
solar or lunar. Default: both.
limit
integer
No
Max results for upcoming/past. Default 5, max 100.
date
string
No
Reference date. Default today.
year
integer
*
Required for year. Range: 1200–2699.
from_date, to_date
string
*
Required for range.
natal
object
No
Birth data for chart personalisation (see below). When present, every eclipse gains a natal block.
The natal object
Field
Type
Required
Description
year, month, day
integer
Yes
Birth date.
hour, minute
integer
Yes
Birth time (24h, local).
second
integer
No
Default 0.
latitude, longitude
number
Yes
Signed decimals (N/E positive).
timezone
string
Yes
IANA timezone of birth.
house_system
string
No
Default placidus.
Response shape
Field
Type
Description
type
string
Solar or Lunar.
subtype
string
Total, Partial, Annular, Penumbral.
max_utc, max_local
string
Eclipse maximum (UTC and requested timezone).
start_local, end_local
string
Contact times in the requested timezone.
magnitude
number
Eclipse magnitude (solar).
central_duration_min
number
Central-phase duration in minutes.
sun, moon
object
{ sign, degree, lon }.
north_node, south_node
object
Node positions at maximum.
natal
object
Present only when natal supplied: { point_used, house, house_theme, hits[] }. Each hit is { natal_planet, aspect, orb } (conjunction/opposition within 3° to natal planets, Ascendant or Midheaven).