Support Center

Min and max temperature in current weather API and forecast API

Last Updated: Jun 29, 2015 03:55PM BST

Please, do not confuse min/max parameters in current weather API (the same is for historical data) and forecast API. In current weather API temp_min and temp_max are optional parameters mean min / max temperature in the city at the current moment to see deviation from current temp just for your reference. For large cities and megalopolises geographically expanded it might be applicable. In most cases both temp_min and temp_max parameters have the same volume as 'temp'. Please, use temp_min and temp_max parameters in current weather API optionally.

Example of current / historical weather API respond:
"temp":306.15, //current temperature 
"temp_min":306, //min current temperature in the city
"temp_max":306 //max current temperature in the city

For the comparison look at the example of daily forecast weather API respond:
        "day":297.77,  //daily averaged temperature
        "min":293.52, //daily min temperature
        "max":297.77, //daily max temperature
        "night":293.52, //night temperature
        "eve":297.77, //evening temperature
        "morn":297.77}, //morning temperature
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found