locked
Get zip code by Address or Lat /long RRS feed

  • Question

  • I can get business address like "42 business st. New York, NY"  but it doesn't give me the zip code of the location.
    How can I get zip code based on above address.  In other words I want to send above address as a parameter and get zip code.
    or How can I get zip code via Lat /Long value.

    Thank you so much.

    Wednesday, October 29, 2008 4:22 AM

Answers

  • You can try this page, it takes in query strings: http://www.melissadata.com/lookups/AddressVerify.asp?Address=1+main+st&city=new+york&state=ny&zip=

    Another option is to create a database of zip code polygons. You could then geocode your address and then do a polygon search for the zip code.
    Thursday, October 30, 2008 2:01 AM
    Moderator

All replies

  • This functionality is not available in Virtual Earth. This will do what you want: http://zip4.usps.com/zip4/welcome.jsp
    Wednesday, October 29, 2008 11:49 PM
    Moderator
  • Richard,
    Thank you for the answer. It is what I want. But it seems like it doesn't work with QueryString.
    So how am I going to query it?
    in other words how can I implement this web site to my C# code.

    Thank you again.

    Thursday, October 30, 2008 12:56 AM
  • You can try this page, it takes in query strings: http://www.melissadata.com/lookups/AddressVerify.asp?Address=1+main+st&city=new+york&state=ny&zip=

    Another option is to create a database of zip code polygons. You could then geocode your address and then do a polygon search for the zip code.
    Thursday, October 30, 2008 2:01 AM
    Moderator