Sunrise Sunset API

This API provides accurate: 1. sunrise and sunset times, 2. dawn and dusk times, 3. civil dawn and civil dusk, 4. astronomical dawn and astronomical dusk times for any date and any location. It works even in edge cases where there are multiple sunrise/sunset times for a given date (this happens in certain edge cases in polar regions, for example, at lat -77.85 and lon 166.77, on 26 Mar 2026,…

7 subscribers
2 endpoints
The in-depth APIMemo review for this API hasn't been published yet — the data below comes straight from the public marketplace listing.

Sunrise Sunset API endpoints

MethodEndpointDescription
POST 1. Sun Times
/api/sun-times
Get Sun Times (sunrise, sunset, dawn, dusk, civil dawn/dusk, astronomical dawn/dusk) for a given date and location.
POST 2. Elevations
/api/elevations
Get sun's elevations at an interval of every 36 seconds within the day, for the given day, and latitude and longitude.

Sunrise Sunset API pricing

PlanPriceRate limitQuotas
BASIC Free
  • Requests: 10 / monthly
PRO $10 / month
  • Requests: 100,000 / monthly (then $0.0100 each)
ULTRA Recommended $50 / month
  • Requests: 1,000,000 / monthly (then $0.0100 each)
MEGA $100 / month
  • Requests: 3,000,000 / monthly (then $0.0010 each)

More Weather APIs

View all →
  • WeatherAPI.com is a freemium weather and geolocation API that bundles real-time conditions, multi-day…

    ReviewedWeatherFreemium51.9k subscribers
  • Yahoo Weather is a freemium weather data API that lets developers query current conditions and forecasts…

    ReviewedWeatherFreemium10.6k subscribers
  • Meteostat is a historical weather and climate data API that serves time-series observations from thousands…

    ReviewedWeatherFreemium15.4k subscribers
  • Open Weather is a freemium REST API that delivers current weather conditions and 5-day forecasts for any…

    ReviewedWeatherFreemium30.3k subscribers
  • Query for weather forecast news, weather information, such as : NOAA, hurricane, daily temperature, a UV…

    WeatherFreemium2.7k subscribers
  • Access detailed real-time weather conditions, 5-day forecasts, hourly predictions, temperature, humidity,…

    WeatherFreemium5.6k subscribers