Free Web APIs
Menu
Home
Utilities
Weather
Places
Space
Lookups
Dev tools
Images
Thanks to

Sunrise and sunset

When the sun comes up and goes down in a place.

Address

https://coslink.org/api/sun?city=Rome

[ Try it ]

Settings

NameWhat it is
cityA town name, like Oslo. Or use lat and lon instead.
latLatitude (instead of city).
lonLongitude (instead of city).
dateThe day, like 2027-06-21. Standard is today.

You get back

JSON.

<< Back

Last updated 01.12.2026