Google’s Zip Code Lookup

zipcode_check1

So, I was using one of Google’s sign up forms, and I noticed that it gave me a nice tip – The valid zip codes for my state! Along with some sample zip codes for my country (usa). I opened up the firebug console and checked out the ajax call – it was this: https://www.google.com/adsense/addrform/resources?kind=country&code=US

That’s really cool. It returned an XML document with all the state’s valid zipcodes. While it may be unreliable to make this same AJAX call from within your own web application every time, the XML document itself is quite valuable with the zip code validation.

Download that XML document here.

zipcode_check2

Related Posts:

  • No Related Posts
This entry was posted in Tech Tips, Web Development and tagged , , , . Bookmark the permalink.

One Response to Google’s Zip Code Lookup

Leave a Reply

Your email address will not be published. Required fields are marked *