Sunrise, sunset, solar noon and daylight length, computed from the standard sunrise equation. No key, no rate limit worth mentioning, no dependencies behind it.
Solar events for a coordinate on a given date.
lat latitude in degrees, positive north. Required.lon longitude in degrees, positive east. Required.date calendar date as YYYY-MM-DD. Defaults to today.Liveness, process uptime, resident memory and a boot identifier that changes whenever this process restarts.
The runtime configuration this process booted with. An explicit allowlist, never the whole environment.
Computed when this page was requested, for 54.6, -3.13.
{
"query": {
"date": "2026-09-27",
"lat": 54.6,
"lon": -3.13
},
"sunriseUtc": "2026-09-27T06:06:40.274Z",
"sunsetUtc": "2026-09-27T18:00:29.318Z",
"solarNoonUtc": "2026-09-27T12:03:34.796Z",
"daylightSeconds": 42829,
"note": null,
"model": "sunrise-equation-low-precision"
}Drop these straight into the lat/lon params.
Times are UTC. The model is accurate to roughly a minute at temperate latitudes and degrades near the poles, where it reports polar day or polar night instead of inventing a sunrise that does not happen.