Additional Response Fields

Learn about some additional response fields for various endpoints of the OpenWeatherMap APIs.

Current weather data

The table below provides a list of some additional response fields for the current weather data endpoint.

Response Fields

Parameter

Type

Description

base

string

This is an internal parameter.

main.temp_min

decimal

This specifies the minimum temperature at the moment of calculation. For default, the value is in Kelvin. For metric, the value is in Celsius. For imperial, the value is in Fahrenheit. This value may be NULL.

main.temp_max

decimal

This specifies the maximum temperature at the moment of calculation. For default, the value is in Kelvin. For metric, the value is in Celsius. For imperial, the value is in Fahrenheit. This value may be NULL.

main.sea_level

integer

This specifies the atmospheric pressure at sea level. Its unit is hPa.

main.grnd_level

integer

This specifies the atmospheric pressure at ground level. Its unit is hPa.

wind.deg

integer

This is the wind direction. Its unit is in degrees.

wind.gust


decimal

This is the wind gust. For default and metric, the value is in meter/sec. For imperial, the value is in miles/hour.

rain.3h

integer

This is the volume of rain over the last 3 hours. Its unit is millimeters. This value may be NULL.

snow.3h

integer

This is the volume of snow over the last three hours. Its unit is millimeters. This value may be NULL.

sys.type

integer

This is an internal parameter.

sys.id

integer

This is an internal parameter.

sys.message

string

This is an internal parameter.

sys.country

string

This is the country corresponding to the location.

timezone

integer

This is the time difference from UTC. Its unit is seconds.

cod

integer

This is an internal parameter.

Five day weather forecast

The table below provides a list of some additional response fields for the 5-day/3-hour forecast endpoint.

Response Fields

Parameter

Type

Description

city.country

string

This is the country corresponding to the location.

city.population

integer

This is the city's population.

city.timezone

integer

This is the time difference from UTC. Its unit is seconds.

cod

integer

This is an internal parameter.

list.dt_text

datetime

This is the time at which the data was forecasted. Its units are ISO and UTC.

list.main.grnd_level

integer

This specifies the atmospheric pressure at ground level. Its unit is hPa.

list.main.sea_level

integer

This specifies the atmospheric pressure at sea level. Its unit is hPa.

list.main.temp_kf

decimal

This is an internal parameter.

list.main.temp_max

decimal

This specifies the maximum temperature at the moment of calculation. For default, the value is in Kelvin. For metric, the value is in Celsius. For imperial, the value is in Fahrenheit. Its value may be NULL.

list.main.temp_min

decimal

This specifies the minimum temperature at the moment of calculation. For default, the value is in Kelvin. For metric, the value is in Celsius. For imperial, the value is in Fahrenheit. Its value may be NULL.

list.sys.pod

string

This specifies the part of the day. Its possible values are n and d for night and day, respectively.

list.weather.icon

string

This is the weather icon ID.

list.weather.id

integer

This is the weather condition ID.

list.wind.deg

integer

This is the wind direction. Its unit is degrees.

list.wind.gust


decimal

This is the wind gust. For default and metric, the value is in meter/second. For imperial, the value is in miles/hour.

message

string

This is an internal parameter.