I never considered government weather departments would provide APIs for their data, but after seeing your comment I went to see if Environment Canada provided one.
I am very impressed by how how much data they provide free of charge.
Michael Lewis' book the fifth risk talks explicitly how someone with a paid weather app was put in charge of the commerce department (by trump) so he could try to hide public weather data but use it in his app then charge for it.