Moon Phase Software

v1.0.1
com.moonphasesoftware/moonphasesoftware-com Checked 3 days ago Published 24 days ago

Moon phase, moonrise, full Moons, eclipses, Moon sign and distance for any place in the world.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_moon_phase Moon phase

Returns the Moon's phase, percent lit, lunar age and waxing or waning direction right now, at 12:00 on a date, or at a clock time on a date, in a time zone or city. Also returns the next new Moon, first quarter, full Moon and last quarter, the previous full Moon and the moment the phase name changes. Dates run from 1900 to 2100.

ParameterTypeDescription
datestringLocal calendar date as YYYY-MM-DD, from 1900 to 2100. Without a date and a time the result describes the Moon right now; a date alone gives the Moon at 12:00 local time.
placestringA city from the website's list of 136 world cities, such as Tokyo, Chicago or Cairo; its time zone is used unless timeZone is given.
timestringLocal clock time as HH:MM on a 24-hour clock. Without a date it refers to today in the chosen time zone.
timeZonestringIANA time zone name such as America/New_York or Asia/Tokyo; UTC when omitted.

get_moonrise_moonset Moonrise and moonset

Returns moonrise, moonset and the Moon's highest point on a local date for a city from the website's list of world cities, or for any latitude and longitude, with compass directions and the Moon's phase that day. Also returns when the Moon is up after dark and, for today, where the Moon is right now. Times are in the place's own time zone.

ParameterTypeDescription
datestringLocal calendar date as YYYY-MM-DD, from 1900 to 2100; today at the place when omitted.
latitudenumberLatitude in degrees, north positive. Given together with longitude and timeZone for a place outside the city list.
longitudenumberLongitude in degrees, east positive. Given together with latitude and timeZone.
placestringA city from the website's list of 136 world cities, such as London, Lima or Perth. Required unless latitude, longitude and timeZone are given.
timeZonestringIANA time zone name of the place, such as Atlantic/Reykjavik. Needed with latitude and longitude; a city uses its own zone.

find_full_moons Full Moons of a year

Returns every full Moon of a calendar year with its date and time in a time zone, its traditional name such as Wolf Moon or Harvest Moon, its distance from Earth and whether it is a supermoon or a Blue Moon. Years run from 1900 to 2100.

ParameterTypeDescription
timeZonestringIANA time zone name such as America/New_York or Asia/Tokyo; UTC when omitted.
yearintegerCalendar year from 1900 to 2100; the current year when omitted.

get_moon_calendar Moon calendar

Returns every day of a month with the Moon's phase and percent lit at 12:00 local time, and the exact times of that month's new Moon, first quarter, full Moon and last quarter in a time zone.

ParameterTypeDescription
monthintegerMonth number from 1 to 12; the current month when omitted.
timeZonestringIANA time zone name such as America/New_York or Asia/Tokyo; UTC when omitted.
yearintegerCalendar year from 1900 to 2100; the current year when omitted.

list_eclipses Eclipses of a year

Returns the lunar and solar eclipses of a calendar year with their type, the time of greatest eclipse in a time zone, the contact times of lunar eclipses, where solar eclipses are greatest and which of 16 major world cities see each one. The type filter limits the list to lunar or solar eclipses.

ParameterTypeDescription
timeZonestringIANA time zone name such as America/New_York or Asia/Tokyo; UTC when omitted.
typestringLimits the list to lunar or to solar eclipses; both when omitted.
yearintegerCalendar year from 1900 to 2100; the current year when omitted.

get_moon_sign Moon sign

Returns the zodiac sign the Moon is in at a date and local time, in a time zone or city, with its degree in the sign and the next sign change. Without a time it returns every sign the Moon is in during that date. The tropical or the Lahiri sidereal zodiac can be chosen.

ParameterTypeDescription
datestringLocal calendar date as YYYY-MM-DD, from 1900 to 2100, such as a birth date; the Moon right now when omitted.
placestringA city from the website's list of 136 world cities, such as the birthplace; its time zone is used unless timeZone is given.
timestringLocal clock time as HH:MM on a 24-hour clock, such as a birth time. Without it the result covers the whole date.
timeZonestringIANA time zone name of the date and time, such as the birthplace's zone; UTC when omitted.
zodiacstringZodiac origin: tropical (the March equinox) or lahiri (sidereal); tropical when omitted.

get_moon_distance Moon distance

Returns the Moon's distance from Earth in kilometres and miles at a date and time, its apparent width, the previous and next perigee and apogee, and the next full Moon's distance with whether that full Moon is a supermoon.

ParameterTypeDescription
datestringLocal calendar date as YYYY-MM-DD, from 1900 to 2100. Without a date and a time the result describes the Moon right now; a date alone gives 12:00 local time.
timestringLocal clock time as HH:MM on a 24-hour clock.
timeZonestringIANA time zone name such as America/New_York or Asia/Tokyo; UTC when omitted.