Using the following API requests you can get recent weather station data, search weather stations close to some geographic location and get historical weather station data.
Get the most recent measurements from weather station.
id station ID
{"station":
{"name":"CW9300","type":2,"status":30,"id":29584,
"coord":{"lon":-78.0128,"lat":40.491}},
"last":{"main":{
"temp":291.48,"humidity":94,"pressure":1016},
"wind":{"speed":0,"gust":0,"deg":5},
"rain":{"1h":0,"24h":4.064,"today":0},
"dt":1403850288},
"params":["temp","pressure","humidity","wind","gust","rain"]}
JSON returns data from weather stations located within definite rectangle that is specified by geographical coordinates.
callback javascript functionName
cluster use server clustering of points, possible values are [yes, no]
cnt amount of lines in respond
You can choose a geo point and expected number of weather station to get a list of weather stations that are located around this geo point.
Please, find detailes in Historical data.
JSON format is used by default. To get data in XML or HTML formats just set up mode = xml or html.
JSON api.openweathermap.org/data/2.5/weather?q=London
XML api.openweathermap.org/data/2.5/weather?q=London&mode=xml
HTML api.openweathermap.org/data/2.5/weather?q=London&mode=html
More information about connecting your weather station to OpenWeatherMap and transmitting data to our API, weather stations software, OpenWeatherMap weather station prototype and other DIY stations, real time map demonstating interconnection with 40,000 weather stations in Stations section