Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Free 5 day forecast returns hundreds of results

Chirs Apr 03, 2018 03:23AM BST

When call http://api.openweathermap.org/data/2.5/forecast?lat=51.286022&lon=-113.999161&units=metric&APPID=XXX it returns hundreds of results. How am I suppose to get the next 5 day weather report when there are hundreds to filter through?

Up 0 rated Down
Maxim Gushcho Apr 03, 2018 08:18AM BST OpenWeatherMap Agent

Hello,

Thanks for the request.

This API provides records for 3 hours gap.

You can use use cnt parameter to limit the number of such records.

Example:

http://api.openweathermap.org/data/2.5/forecast?q=London&apikey=xxxxxx&cnt=20

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
9eda11838f597e7a95b6a1c991dcae0a@openweathermap.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete