Moon API
FreemiumLiveLast verified 29 Sept 2026
Moon phase name, illumination, age, moonrise and moonset, lunar position and next full or new moon.
Example request
curl -s 'https://moon-phase.p.rapidapi.com/basic' -H "x-rapidapi-key: $API_KEY" -H 'x-rapidapi-host: moon-phase.p.rapidapi.com'
Free tier, in plain English
The free Basic plan allows 500 requests a day with current and near-date moon data, for non-commercial use. Paid plans add location precision, longer date ranges and commercial rights.
Alternatives in Astronomy
7Timer!GFS-based multi-day forecasts by coordinate, including sky seeing and transparency for stargazing.FreeAstronomyAPISun, Moon and planet positions and events for any place and date, plus rendered star charts and moon images.FreeCycleCalcsComputed sun, moon, planet, and eclipse data for any location and date, no key needed.FreemiumMoonloraMoon phase, illumination, moon sign, and moonrise/moonset data for 1900–2100.FreeSunrise SunsetSunrise, sunset, twilight, golden hour, sun position and moon phase for any coordinates, a year per call.Free
All 8 Astronomy APIs →