Zip Code lookup - give location (and map?) for zip code entered.

Log in to Vote
56
56 Votes • 11 Comments
On entering zip xxxxx or zipcode xxxxx show state location etc and optionally show a map.
• posted 6 years and 11 months ago • type: Spice (API calls) Duplicate

anonymous
I have started working on this idea. There is a free API for country, state, city. However, I am more inclined to use mapquest API that provides a map also. Mapquest API needs a key, need to figure out how to use it.
posted by [UserVoice Sourav Chakraborty] • 6 years and 11 months ago Link
anonymous
Very useful.
posted by [UserVoice Jordan] • 6 years and 11 months ago Link
anonymous
The Ziptastic API would probably work well here.
posted by [UserVoice Joe Chrysler] • 6 years and 10 months ago Link
anonymous
Zippopotamus (http://www.zippopotam.us/) offers lots of postal code lookups in addition to US zip codes. This could be used for international post codes.
posted by [UserVoice Richard Tia] • 6 years and 10 months ago Link
anonymous
http://imgur.com/200ds

I tinkered a bit with this last night, using Yahoo's geo API (and passing the info to Google Maps, since I'm more familiar with their mapping API). Yahoo has the benefit of providing a bounding box, in addition to a centroid, so you can map the approximate area. If anyone knows of a comparable service that actually serves up (worldwide) accurate polygons for postal codes, I'd love to know about it. But how does this seem in the meantime? Are there size/style guidelines for using maps like this?
posted by [UserVoice Almanackist] • 6 years and 9 months ago Link
anonymous
Or feeding the polygon to Mapquest, which sounds like it might be preferred for DDG: http://imgur.com/dWgW7. (Though Google seems to do a better job of auto-zooming to fit a polygon without me having to tweak a "best fit" zone...)
posted by [UserVoice Almanackist] • 6 years and 9 months ago Link
anonymous
Doesn't this already exist though? https://duckduckgo.com/?q=22222
posted by [UserVoice yano] • 6 years and 8 months ago Link
anonymous
Current implementation has the same functionality:

https://duckduckgo.com/?q=19406
posted by [UserVoice DuckDuckGo Team] • 6 years and 1 month ago Link
yegg
Cool -- this could be a nice goodie as well since the data set is pretty limited and doesn't change much. So it might be good to generate a data file and then have it be read in via the goodie system.
posted by yegg Staff6 years and 11 months ago Link
yegg
We have internal functions that call the mapquest API. What kind of call do you need to make?
posted by yegg Staff6 years and 10 months ago Link
Moollaza
I think the current implementation is the best because the YAHOO api used returns multiple matches for a single postal code, which makes the results a lot more dynamic: https://duckduckgo.com/?q=19301
posted by Moollaza Staff6 years and 1 month ago Link