Looking for a database or free API with the expected sunrise and sunset times around the world (sunrise is more important). Ideally the data should be up-to-date, reflecting daily changes in weather in any given area.

Good example would be http://www.weatherbase.com, but their API has to be licensed.

  • astronomy.stackexchange.com/questions/13488 may or may not be helpful. "Expected" sunrise/sunset times don't depend on the weather-- real ones might, but only slightly. As the linked post notes, you can actually compute expected sunrise and sunset or your own.
    – user3856
    Jan 23 '18 at 5:34
  • 1
    This answer may be useful opendata.stackexchange.com/a/11284/1511 - but yes, you can easy calculate yourself based on lat/long
    – philshem
    Jan 23 '18 at 13:03
  • @philshem Yes, it is a very useful answer to my question. Indeed weather patterns do not have influence on this. Jan 23 '18 at 13:16
  • I won't close the question because it's not duplicate, but maybe you can self-answer and accept with what you find useful.
    – philshem
    Jan 23 '18 at 13:27
  • Okay, give me some time to get familiar with the available options Jan 23 '18 at 13:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.