Sunrise Sunset
FreeLiveLast verified 24 Sept 2026
Sunrise, sunset, twilight, golden hour, sun position and moon phase for any coordinates, a year per call.
Example request
curl -s 'https://api.sunrise-sunset.org/v2?lat=36.7201600&lng=-4.4203400&date=2026-09-23'
Free tier, in plain English
Free with no sign-up or key. There is no stated quota, but bursts get throttled, and a year of dates for one place counts as a single request.
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.FreemiumMoon APIMoon phase name, illumination, age, moonrise and moonset, lunar position and next full or new moon.FreemiumMoonloraMoon phase, illumination, moon sign, and moonrise/moonset data for 1900–2100.Free
All 8 Astronomy APIs →