Gratis APIGeo og værIngen nøkkelOffisiell
Sunrise-Sunset
Free, keyless sunrise, sunset, solar noon and twilight times for any coordinate
The Sunrise-Sunset API returns sunrise, sunset, solar noon, day length and civil/nautical/astronomical twilight times for a latitude/longitude on a given date. It is completely free with no signup or API key, returning JSON with UTC times by default.
Gratisnivå
Free, no key, no signup. Attribution link required.Hastighetsgrenser
No numeric limit published; policy asks you not to exceed reasonable request volume.Autentisering
Ingen nøkkelBase-URL
https://api.sunrise-sunset.orgHva du kan bygge med det
- Trigger automations at local sunrise/sunset (lights, posts, jobs)
- Show golden-hour / daylight info in a location tool
- Compute day length for energy, agriculture or photography logic
- Gate behavior on civil twilight without bundling an astronomy lib
Sentrale endepunkter
- GET
/jsonSun times for lat/lng on an optional date - GET
/json?lat=..&lng=..&date=..&tzid=..Localized sun times with timezone and date
Members
Members get the runnable recipe
Sign in free to copy the example request, see a sample response, and read the gotchas.
Tagger
sunastronomygeodatetime