Sunrise-Sunset.org

sunrise-sunset.org

Sunrise-Sunset.org provides API v2 solar events and twilight data for a location, including automatic local timezone and date ranges.

API

What your agent can do

  • Get solar event times for a latitude and longitude, optionally for a specific date.

    Via API.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

API connection
API path
https://api.sunrise-sunset.org/v2?lat=36.7201600&lng=-4.4203400

Authentication
No sign-in required.
GET https://api.sunrise-sunset.org/v2?lat=36.72016&lng=-4.42034

Documentation & experience

  • 1 of 1 connection paths checked
  • Latest documentation check 10 Oct 2026
View sources and checks
How documentation is checked