5

I'm looking for either a website, a web service, an RSS feed, etc. that would allow me to look up current and historic weather info for a particular zipcode or region in the U.S., specifically:

  • Barometric pressure
  • Precipitation
  • Temperature
  • Humidity

Googling this turned up a couple of candidates such as:

  • Weather Web Service
  • National Digital Forecast Database

But none of these supply all the above info all at once. Does something like this exist as open source/free, or am I going to have to wrangle/"Frankenstein" this together myself by calling out to multiple services? Any ideas?

2 Answers 2

2

The Weather API from Wunderground allows 500 free requests per day (with registration) and has a geolookup endpoint for finding the nearest weather station.

enter image description here

Once you have the nearest weather station, you can use other endpoints like forecast and history.

The full list of endpoints is here.

1
  • Glad it's helpful.
    – philshem
    Mar 5, 2015 at 12:40
0

The national weather service has a REST-based API. You can query by zipcodes, cities, lat/lon and bounding boxes. Below is a link to the documentation.

http://graphical.weather.gov/xml/rest.php

3
  • That seems to be for forecasts -- do they have historical data?
    – Joe
    Mar 5, 2015 at 19:43
  • The queries can take a 'begin' and 'end'. Here is what the documentation says: begin 2004-04-27T12:00 The beginning time for which you want NDFD data. If the string is empty, the beginnng time is assumed to be the earliest available time in the database. Time should be in UTC time. end 2004-04-30T12:00 The ending time for which you want NDFD data. If the string is empty, the ending time is assumed to be the last available time in the database. Time should be in UTC time. Mar 5, 2015 at 23:50
  • Um ... but it says it's 'NDFD' data ... which is forecast data. So it might not be the actual historic weather for a given day & place, but what they had forecasted for that day & place.
    – Joe
    Mar 6, 2015 at 0:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.