Hacker News new | past | comments | ask | show | jobs | submit login

Yeah this doesn't work at all if you live outside USA. The post code for Auckland CBD (in New Zealand) is 1010.

So if I try http://zip.elevenbasetwo.com/?zip=1010

It gives: {"country": "US", "state": "MA", "city": "BRIMFIELD"}




I'm guessing it's a leading zero problem, since all US Zipcodes are 5 digits (or nine). Going to http://zip.elevenbasetwo.com/?zip=01010 gives the same response noted above.


Same for Australian zip codes e.g. 2000 (Sydney) returns a 404 (doesn't exist)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: