Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi

I do not know if this is double post! Is this possible to get zip code or postal code form IP address? As per I googling I have some way to get longitude and latitude from IP. I would be wounder if we can find zip code from latitude and longitude or directly from the ip.

Thanks
Posted
Updated 26-Feb-12 3:26am
v2

No. IP addresses are not geographical.

IP address can (in theory at least) be located to a specific city, but it is very, very often out by 50 miles, and occasionally by hundreds.

IP addresses are allocated by ISP for the most part, so tend to be registered at the offices of the ISP. My IP has come back with a physical location in different countries before now!
 
Share this answer
 
Comments
Аslam Iqbal 26-Feb-12 23:36pm    
I was thinking like you. my 5
After a google search I found http://iplocationtools.com/index.html[^] site which is showing it can give you the Zipcode based on the IP address.

Hope it helps :)

NOTE: I haven't try though!
 
Share this answer
 
Comments
Bernhard Hiller 27-Feb-12 3:45am    
Again "Berlin" for my home, 350 km away. With the short distances in Germany, that's quite a useless result. Berlin is the place where my ISP is registered.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900