GET/v1/western/moon/phase
Western Moon Phase
Calculate the lunar phase for any date using the tropical zodiac. Returns phase name (New Moon, Waxing Crescent, First Quarter, Waxing Gibbous, Full Moon, Waning Gibbous, Last Quarter, Waning Crescent), phase angle, illumination percentage, moon age in days, and next major phase estimate. Defaults to today if no date given.
Request parameters
dateoptional
string | null
Date in YYYY-MM-DD format. Defaults to today.
Response fields
success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.date
string
Date in YYYY-MM-DD format
data.phase_name
string
Current phase name
data.phase_angle
number
Phase angle in degrees (0-360). 0=New Moon, 180=Full Moon
data.illumination_pct
number
Percentage of Moon disk illuminated (0-100)
data.moon_age_days
number
Days elapsed since last New Moon (0 to 29.53)
data.moon_longitude
number
Tropical ecliptic longitude of Moon (0-360)
data.sun_longitude
number
Tropical ecliptic longitude of Sun (0-360)
data.is_waxing
boolean
True if Moon is waxing (phase_angle < 180)
data.next_phase_name
string
Name of the next major phase
data.next_phase_date
string | null
Estimated date of next major phase (YYYY-MM-DD)
Errors
Missing or invalid API key.
Upstream ephemeris service error.
API key tier does not include this endpoint.
Unexpected server error.
Too many requests in a short window.
Request body exceeds the size limit.
Referenced resource was not found.
Request body failed schema validation.