Weather Observation API Builder


Direct access to current and historical U.S. observational weather data beginning June 2011. The API returns all provided weather elements or only those that meet your needs. Working example provided, tweak values as needed, select "Show Response". For all format parameters Click Here

Parameter Value Type Needed Description
version string Required Version control. EG: "1.0" (date range: 10.01.11-06.10.17) or "1.5" (dates > 06.10.17)
location string Required 4 character METAR observation station id (EG: KNYC) or latitude longitude point (EG: 40.7829N+73.9654W). For map of actively monitored weather observing stations to use click here
date string Required Start date range (YYYY-MM-DDTHH:MM:SS)
enddate string Required End date range (YYYY-MM-DDTHH:MM:SS)
units string Required English or metric units ("e" English or "m" metric)
weather string Optional Weather conditions ("1" yes, return) ("0" no, do not return, default)
temp string Optional Ambient surface temperature ("1" yes, return) ("0" no, do not return, default))
rh string Optional Relative humidity ("1" yes, return) ("0" no, do not return, default)
wind_dir string Optional Wind direction (north, south, east, west, ... ) ("1" yes, return) ("0" no, do not return, default)
wind_deg string Optional Wind direction in degrees ("1" yes, return) ("0" no, do not return, default)
wind string Optional Wind speed ("1" yes, return) ("0" no, do not return, default)
wind_gust string Optional Wind gust ("1" yes, return) ("0" no, do not return, default)
press string Optional Atmospheric pressure ("1" yes, return) ("0" no, do not return, default))
dewpt string Optional Dew point ("1" yes, return) ("0" no, do not return, default)
hi string Optional Heat index ("1" yes, return) ("0" no, do not return, default)
wc string Optional Wind chill ("1" yes, return) ("0" no, do not return, default)
dewpt string Optional Visibility ("1" yes, return) ("0" no, do not return, default)