if you look at this link :
https://openweathermap.org/price
under free account it said " 5 days/3 hour forecast"
if you open the link it gives the api instructions . and states the following.
“5 day forecast is available at any location or city. It includes weather data every 3 hours. Forecast is available in JSON or XML format.”
but can’t get it to work. but web request with my key works
if I run the internet request : https://api.openweathermap.org/data/2.5/forecast?lat=-31.49&lon=25.01&appid=XXXX(Your API key)
And I get the reply . son don’t agree that it is only for payed. you can only get a 5 day and not 16 day forecast. and you can request every 3 hours. (if I understand it correctly )
{"cod":"200","message":0.0282,"cnt":40,"list":[{"dt":1547629200,"main":{"temp":305.2,"temp_min":298.575,"temp_max":305.2,"pressure":864.48,"sea_level":1024.9,"grnd_level":864.48,"humidity":44,"temp_kf":6.63},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":1.62,"deg":136},"sys":{"pod":"d"},"dt_txt":"2019-01-16 09:00:00"},{"dt":1547640000,"main":{"temp":309.45,"temp_min":304.475,"temp_max":309.45,"pressure":861.7,"sea_level":1020.7,"grnd_level":861.7,"humidity":26,"temp_kf":4.97},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":3,"deg":294.501},"sys":{"pod":"d"},"dt_txt":"2019-01-16 12:00:00"},{"dt":1547650800,"main":{"temp":308.14,"temp_min":304.824,"temp_max":308.14,"pressure":859.58,"sea_level":1018.52,"grnd_level":859.58,"humidity":15,"temp_kf":3.31},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":0},"wind":{"speed":4.76,"deg":277},"rain":{"3h":0.0775},"sys":{"pod":"d"},"dt_txt":"2019-01-16 15:00:00"},{"dt":1547661600,"main":{"temp":298.58,"temp_min":296.923,"temp_max":298.58,"pressure":860.04,"sea_level":1019.72,"grnd_level":860.04,"humidity":18,"temp_kf":1.66},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":2.76,"deg":282.502},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-16 18:00:00"},{"dt":1547672400,"main":{"temp":287.864,"temp_min":287.864,"temp_max":287.864,"pressure":861.03,"sea_level":1021.98,"grnd_level":861.03,"humidity":65,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.13,"deg":222.001},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-16 21:00:00"},{"dt":1547683200,"main":{"temp":283.907,"temp_min":283.907,"temp_max":283.907,"pressure":861.31,"sea_level":1022.77,"grnd_level":861.31,"humidity":85,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.12,"deg":186.5},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-17 00:00:00"},{"dt":1547694000,"main":{"temp":281.694,"temp_min":281.694,"temp_max":281.694,"pressure":861.35,"sea_level":1023.48,"grnd_level":861.35,"humidity":86,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.12,"deg":181.008},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-17 03:00:00"},{"dt":1547704800,"main":{"temp":291.978,"temp_min":291.978,"temp_max":291.978,"pressure":862.37,"sea_level":1023.47,"grnd_level":862.37,"humidity":63,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":0.86,"deg":291.501},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-17 06:00:00"},{"dt":1547715600,"main":{"temp":302.986,"temp_min":302.986,"temp_max":302.986,"pressure":861.31,"sea_level":1020.52,"grnd_level":861.31,"humidity":27,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":3.68,"deg":304.503},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-17 09:00:00"},{"dt":1547726400,"main":{"temp":306.04,"temp_min":306.04,"temp_max":306.04,"pressure":859.92,"sea_level":1017.99,"grnd_level":859.92,"humidity":15,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":4.96,"deg":288.509},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-17 12:00:00"},{"dt":1547737200,"main":{"temp":305.67,"temp_min":305.67,"temp_max":305.67,"pressure":858.75,"sea_level":1016.36,"grnd_level":858.75,"humidity":12,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":4.61,"deg":277.005},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-17 15:00:00"},{"dt":1547748000,"main":{"temp":296.48,"temp_min":296.48,"temp_max":296.48,"pressure":858.84,"sea_level":1017.45,"grnd_level":858.84,"humidity":22,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":2.17,"deg":296.004},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-17 18:00:00"},{"dt":1547758800,"main":{"temp":288.5,"temp_min":288.5,"temp_max":288.5,"pressure":859.24,"sea_level":1019.31,"grnd_level":859.24,"humidity":64,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":0.97,"deg":319.501},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-17 21:00:00"},{"dt":1547769600,"main":{"temp":285.236,"temp_min":285.236,"temp_max":285.236,"pressure":858.88,"sea_level":1019.4,"grnd_level":858.88,"humidity":64,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.13,"deg":349.5},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-18 00:00:00"},{"dt":1547780400,"main":{"temp":282.706,"temp_min":282.706,"temp_max":282.706,"pressure":858.61,"sea_level":1019.58,"grnd_level":858.61,"humidity":63,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.16,"deg":355.5},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-18 03:00:00"},{"dt":1547791200,"main":{"temp":296.722,"temp_min":296.722,"temp_max":296.722,"pressure":859.5,"sea_level":1019.68,"grnd_level":859.5,"humidity":19,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":2.48,"deg":337.003},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-18 06:00:00"},{"dt":1547802000,"main":{"temp":305.454,"temp_min":305.454,"temp_max":305.454,"pressure":859.05,"sea_level":1017.4,"grnd_level":859.05,"humidity":13,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":4.96,"deg":303.003},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-18 09:00:00"},{"dt":1547812800,"main":{"temp":307.006,"temp_min":307.006,"temp_max":307.006,"pressure":857.88,"sea_level":1015.51,"grnd_level":857.88,"humidity":12,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":7.96,"deg":296.51},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-18 12:00:00"},{"dt":1547823600,"main":{"temp":305.412,"temp_min":305.412,"temp_max":305.412,"pressure":857.13,"sea_level":1014.87,"grnd_level":857.13,"humidity":11,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":7.62,"deg":290.001},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-18 15:00:00"},{"dt":1547834400,"main":{"temp":299.097,"temp_min":299.097,"temp_max":299.097,"pressure":857.93,"sea_level":1017.17,"grnd_level":857.93,"humidity":12,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":5.03,"deg":289.502},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-18 18:00:00"},{"dt":1547845200,"main":{"temp":292.469,"temp_min":292.469,"temp_max":292.469,"pressure":859.66,"sea_level":1020.54,"grnd_level":859.66,"humidity":15,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":3.61,"deg":273.002},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-18 21:00:00"},{"dt":1547856000,"main":{"temp":289.091,"temp_min":289.091,"temp_max":289.091,"pressure":860.66,"sea_level":1023.37,"grnd_level":860.66,"humidity":34,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":4.01,"deg":232.503},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-19 00:00:00"},{"dt":1547866800,"main":{"temp":284.864,"temp_min":284.864,"temp_max":284.864,"pressure":863.01,"sea_level":1027.44,"grnd_level":863.01,"humidity":72,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":3.66,"deg":190.002},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-19 03:00:00"},{"dt":1547877600,"main":{"temp":284.752,"temp_min":284.752,"temp_max":284.752,"pressure":865.64,"sea_level":1030.21,"grnd_level":865.64,"humidity":69,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":20},"wind":{"speed":6.16,"deg":184},"rain":{"3h":0.0275},"sys":{"pod":"d"},"dt_txt":"2019-01-19 06:00:00"},{"dt":1547888400,"main":{"temp":291.758,"temp_min":291.758,"temp_max":291.758,"pressure":865.63,"sea_level":1028.31,"grnd_level":865.63,"humidity":28,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":6.17,"deg":171.505},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-19 09:00:00"},{"dt":1547899200,"main":{"temp":295.161,"temp_min":295.161,"temp_max":295.161,"pressure":865.54,"sea_level":1027.13,"grnd_level":865.54,"humidity":18,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":0},"wind":{"speed":6.71,"deg":170},"rain":{"3h":0.005},"sys":{"pod":"d"},"dt_txt":"2019-01-19 12:00:00"},{"dt":1547910000,"main":{"temp":294.428,"temp_min":294.428,"temp_max":294.428,"pressure":865.98,"sea_level":1027.61,"grnd_level":865.98,"humidity":19,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":6.81,"deg":166.003},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-19 15:00:00"},{"dt":1547920800,"main":{"temp":289.444,"temp_min":289.444,"temp_max":289.444,"pressure":868.17,"sea_level":1031.44,"grnd_level":868.17,"humidity":28,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":6.22,"deg":156.001},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-19 18:00:00"},{"dt":1547931600,"main":{"temp":285.369,"temp_min":285.369,"temp_max":285.369,"pressure":870.41,"sea_level":1035.82,"grnd_level":870.41,"humidity":44,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":6.01,"deg":147.003},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-19 21:00:00"},{"dt":1547942400,"main":{"temp":281.852,"temp_min":281.852,"temp_max":281.852,"pressure":870.56,"sea_level":1037.37,"grnd_level":870.56,"humidity":63,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":5.57,"deg":144.002},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-20 00:00:00"},{"dt":1547953200,"main":{"temp":279.341,"temp_min":279.341,"temp_max":279.341,"pressure":870.22,"sea_level":1037.84,"grnd_level":870.22,"humidity":73,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":3.83,"deg":137.502},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-20 03:00:00"},{"dt":1547964000,"main":{"temp":284.386,"temp_min":284.386,"temp_max":284.386,"pressure":870.75,"sea_level":1037.1,"grnd_level":870.75,"humidity":55,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":4.96,"deg":129.502},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-20 06:00:00"},{"dt":1547974800,"main":{"temp":292.977,"temp_min":292.977,"temp_max":292.977,"pressure":869.99,"sea_level":1033.26,"grnd_level":869.99,"humidity":34,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":4.91,"deg":129.01},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-20 09:00:00"},{"dt":1547985600,"main":{"temp":298.528,"temp_min":298.528,"temp_max":298.528,"pressure":868.14,"sea_level":1029.85,"grnd_level":868.14,"humidity":23,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":3.67,"deg":134.503},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-20 12:00:00"},{"dt":1547996400,"main":{"temp":298.665,"temp_min":298.665,"temp_max":298.665,"pressure":867.2,"sea_level":1028.24,"grnd_level":867.2,"humidity":19,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":4.01,"deg":151.007},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-20 15:00:00"},{"dt":1548007200,"main":{"temp":292.261,"temp_min":292.261,"temp_max":292.261,"pressure":867.7,"sea_level":1029.86,"grnd_level":867.7,"humidity":27,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":3.57,"deg":150},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-20 18:00:00"},{"dt":1548018000,"main":{"temp":284.219,"temp_min":284.219,"temp_max":284.219,"pressure":868.52,"sea_level":1032.25,"grnd_level":868.52,"humidity":65,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.61,"deg":159},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-20 21:00:00"},{"dt":1548028800,"main":{"temp":280.043,"temp_min":280.043,"temp_max":280.043,"pressure":867.88,"sea_level":1032.72,"grnd_level":867.88,"humidity":79,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.21,"deg":187.002},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-21 00:00:00"},{"dt":1548039600,"main":{"temp":277.948,"temp_min":277.948,"temp_max":277.948,"pressure":867.5,"sea_level":1032.99,"grnd_level":867.5,"humidity":84,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.15,"deg":166.502},"rain":{},"sys":{"pod":"n"},"dt_txt":"2019-01-21 03:00:00"},{"dt":1548050400,"main":{"temp":289.474,"temp_min":289.474,"temp_max":289.474,"pressure":867.57,"sea_level":1031.27,"grnd_level":867.57,"humidity":42,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":1.66,"deg":38.5058},"rain":{},"sys":{"pod":"d"},"dt_txt":"2019-01-21 06:00:00"}],"city":{"id":976358,"name":"Middelburg","coord":{"lat":-31.4929,"lon":25.0063},"country":"ZA","population":18164}}