Sunrise Sunset API
API by sunrisesunset.io · rest
API for retrieving sunrise, sunset, twilight, golden/blue hour, solar position and moon data for a given location and date. All example values below are a real response for lat=38.99 lng=-77.03 (Washington DC) on 2026-07-26 at elevation 0, in the default 12-hour format.
Endpoint: https://api.sunrisesunset.io/
Verification: observed. Source: crawl.
Capabilities (1)
- Get sun times for a location