GET /geo/sun
Fáðu sunrise, sunset, solar noon, and civil/nautical/astronomical twilight times for hvaða ... sem er location and date. Skilar allar times in UTC. Gagnlegt fyrir photography forrit (golden hour planning), outdoor activity schedulers, snjallheimili lighting automation, religious observance forrit, and solar energy production estimates. Especially relevant in Nordic regions with extreme daylight variations.
lat
nauðsynlegt
Latitude
lon
nauðsynlegt
Longitude
date
valfrjálst
Date
| Nafn | Nauðsynlegt | Sjálfgefið | Lýsing |
|---|---|---|---|
lat |
Já | - | Latitude |
lon |
Já | - | Longitude |
date |
Nei | - | Date |
curl "https://nordapi.ee/api/v1/geo/sun?lat=59.9&lon=10.7"
curl "https://nordapi.ee/api/v1/geo/sun?lat=59.9&lon=10.7"
curl "https://nordapi.ee/api/v1/geo/sun?lat=69.65&lon=18.96&date=2026-06-21"
curl "https://nordapi.ee/api/v1/geo/sun?lat=-33.93&lon=18.42&date=2026-12-25"
{
"data": {
"astronomical_twilight_begin": "2026-04-09T01:24:03+00:00",
"astronomical_twilight_end": "2026-04-09T21:13:30+00:00",
"civil_twilight_begin": "2026-04-09T03:33:38+00:00",
"civil_twilight_end": "2026-04-09T19:03:55+00:00",
"day_length": 50752,
"nautical_twilight_begin": "2026-04-09T02:36:21+00:00",
"nautical_twilight_end": "2026-04-09T20:01:12+00:00",
"solar_noon": "2026-04-09T11:18:46+00:00",
"sunrise": "2026-04-09T04:15:50+00:00",
"sunset": "2026-04-09T18:21:42+00:00"
},
"success": true
}