Weather Data Object Schema
Describes the weather at a moment in time
Example
{ "time": "2026-02-20T12:00:00Z", "temp": 25.5, "feels_like": 22.3, "dew": 15.2, "humidity": 65, "wind_speed": 12.1, "wind_gust": 18.5, "wind_deg": 270, "wind_dir": "N", "pressure": 101.33, "vis": 24, "clouds": 35, "pop": 50, "precip_amount": 0, "precip_type": "rain", "description": { "code": 520, "name": "Rain" } }
Attributes
-
time
stringObservation time in ISO 8601 format (UTC)
Example:
2026-02-20T12:00:00Z -
temp
numberAir temperature. Units will be Celsius for metric or Fahrenheit for imperial
Example:
25.5 -
feels_like
numberApparent temperature. Units will be Celsius for metric or Fahrenheit for imperial
Example:
22.3 -
dew
numberDew point temperature. Units will be Celsius for metric or Fahrenheit for imperial
Example:
15.2 -
humidity
integerRelative humidity percentage (0-100)
Min:
0Max:100Example:
65 -
wind_speed
numberWind speed. Units are km/h for metric or mph for imperial
Example:
12.1 -
wind_gust
numberWind gust speed. Units are km/h for metric or mph for imperial
Example:
18.5 -
wind_deg
numberWind direction in degrees (0-360)
Min:
0Max:360Example:
270 -
wind_dir
stringCardinal wind direction
Example:
NESW -
pressure
numberAtmospheric pressure. kPa for metric, inHg for imperial
Example:
101.33 -
vis
numberVisibility. Kilometers for metric, miles for imperial
Example:
24 -
clouds
integerCloud coverage percentage (0-100)
Min:
0Max:100Example:
35 -
pop
numberProbability of precipitation (0-100)
Min:
0Max:100Example:
50 -
precip_amount
numberTotal precipitation amount. Millimeters for metric, inches for imperial
Example:
0 -
precip_type
stringType of precipitation
Allowed values:nonerainsnowrain_snowice_pelletsfreezing_rainmixed
Example:
rain -
description
objectProvides a human and machine readable description of the weather
Object Properties
Property Type Description Schema codeintegerNumeric weather condition codeExample:
520Allowed values: 100- Clear200- Mostly sunny210- Partly cloudy220- Mostly cloudy230- Cloudy300- Fog301- Mist310- Smoke400- Chance of thunderstorms410- Thunderstorm420- Heavy thunderstorm500- Drizzle510- Light rain520- Rain530- Heavy rain590- Mixed (daily only)600- Freezing rain610- Sleet620- Ice pellets700- Light snow710- Snow720- Heavy snow730- Blowing snow740- Blizzard
namestringHuman-readable weather condition nameExample:
Rain