How can I get Historical data by zip code?

  • 1
  • Question
  • Updated 4 years ago
I'm trying to determine the api parameters to get historical data by zip code.
I've tried a string such as:
http://api.wunderground.com/api/myKey...

However, this only returned data for New York, NY

Thanks for any help.
Photo of billybyte

billybyte

  • 2 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of WunderWilliam

WunderWilliam

  • 267 Posts
  • 18 Reply Likes
Historical data will come from the nearest airport station, as they have the longest records.

If you know a specific PWS ID (or get one through geolookup), you can query the history of it. But many PWS only have a few years of data available.
Photo of billybyte

billybyte

  • 2 Posts
  • 0 Reply Likes
Thanks for you help.

I'm still having the problem of not receiving historical data for the location that I specify. For example, I want to query historical weather in San Francisco. I have tried the following requests, but they all return the history for Los Angeles:

http://api.wunderground.com/api/myKey...
http://api.wunderground.com/api/myKey...
http://api.wunderground.com/api/myKey...

I believe my key is valid. Do I need to be on a paid plan to access History at specific airports/zips/cities ?

thx again,
-Bill Perlman