IT'S MORE THAN WEATHER—IT'S MyWeather.

Current Conditions XML Reference

  • USA current conditions data comes from National Weather Service (NWS) observations.
  • International current conditions data comes from the World Meteorological Organization (WMO).
  • The frequency and reliability of these observations varies per NWS or WMO reporting station.
Sample XML: forecast & current conditions data
Sample XML: current conditions data only
Sample XML: forecast data only
ElementDescription
location/@keylocation request token (zip code)
location/@idlocation identifier code (see location mapping reference)
location/@namelocation name
location/@statelocation state
location/@countrylocation country
location/@tzlocation time zone
location/@tolocation time zone (GMT) offset
location/@monmonth of last NWS observation
location/@dayday of last NWS observation
location/@hrhour of last NWS observation
location/@minminute of last NWS observation
<station>NWS identifier code
<temp>temperature in degrees F
<dewpoint>dewpoint in degrees F
<rh>relative humidity in percent
<feelslike>feelslike temperature in degrees F
<wdir>wind direction: ‘CM’ means ‘calm’ or no wind
<wdeg>wind direction in circular degrees, with North as 0 and 360
<wspd>wind speed in miles per hour
<wgusts>highest recorded wind gust, if any, since the last observation
<bar>sea-level pressure in inches
<bar-trend>sea-level pressure trend: ‘0’=steady, ‘-1’=falling, ‘1’=rising
<high>highest recorded temperature of the day in degrees F
<low>lowest recorded temperature of the day in degrees F
<precip>precipitation totals for the day in inches
<snow>snowfall totals for the day in inches
<visibility>surface visibility in miles
<ceiling>altitude of the lowest cloud layer in feet
<altimeter>used to indicate altitude, pressure at observation site converted to sea-level pressure in inches without dependence on temperature
<high-yday>highest recorded temperature yesterday in degrees F
<low-yday>lowest recorded temperature yesterday in degrees F
<precip-yday>total recorded precipitation yesterday in inches
<icon>icon mapping code (see icon mapping reference)
<sky>icon description (see icon mapping reference)