v1
latestSwagger 2.02026-07-14211635.2 KBServices APIs
Search position of sun from lat/long and date
This webservice is providing you the ability to retrieve the time of each phases of the sunlight cycle. Sunset, sunrise, sunriseEnd, golden hour, solarNoon, dawn, dusk and more for a given location and date. If the date if not provided, the response provided return informations for today at UTC time.
get/sun_positions
Query parameters
locationstring required
Here you can send either a latitude / longitude
datestring date
The date for what you will get the data ( full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 ), if not provided as parameter, today is going to be used
Response
Success