IP address to Zip Code/Location

JohnleMVP

Supreme [H]ardness
Joined
May 20, 2001
Messages
5,255
How do those ads or Danasoft signatures relate your IP address to your zip code/location? Is there a service or API that has a database of IP address and locations that I can use?
 

Tim Wardlaw

Limp Gawd
Joined
May 13, 2002
Messages
360
I don't see how that is possible... For one, from what I understand that data you are referring to is probably pulled from cache or cookies on the given system. The only way you could get a zip/postal code or location is if the ISP kept a visible database to trace routes in relation to subnets and location..., which I don't think they do since that would be violation of most end user agreements.

However, I am no expert and please correct me if I'm wrong.

The only other thing would be to locate your local ISP, and that would give your city but nothing more accurate then that.

For instance check here and add 69.56.175.234 (hardocp.com) it will tell you its in Dallas and the ISP is The Planet but not much more.
 

Thunder

Weaksauce
Joined
Sep 19, 2004
Messages
103
All they are is huge databases that take an ip and cross reference it to a range in the databases, you have to buy a database and they are not cheap
 

PurpleFlux

Weaksauce
Joined
Mar 3, 2005
Messages
78
Windows local live http://local.live.com/ has a "locate me" button which if you don't install the activex control will try to work via ip address. I believe I read somewhere how to just feed it an ip address and get back a location. This of course doesn't work quite right for every ip address since I think it works by the company that owns the IP but that might be close enough.
 

p3n

Gawd
Joined
Sep 29, 2002
Messages
631
They check your dns/ip against what ISPs own what addresses no need for a database because its already there otherwise IPs would clash etc
 
Top