This is a free for finding IP address geo location. The database is very accurate and contains the following items as out:
- Country (code/name)
- Region (code/name)
- Zip Code
Data is served in different formats, such as CSV, XML or JSON.
- CSV: http://freegeoip.appspot.com/csv/[ip-address]
- XML: http://freegeoip.appspot.com/xml/[ip-address]
- JSON: http://freegeoip.appspot.com/json/[ip-address]
Requests are simple REST URLs, allowing anyone to query from any language.
for example: in Asp.Net
The Comma Separated Values format will always return 10 columns in a single line, like this:
The data in the first two columns will always be present. Status can be either true or false, and must be used to determine the success or failure of the query.
The Extensible Markup Language format will always return the same document structure, with a Status node containing either true or false, used to determine the success or failure of a query.
Here is an example of the reply:
The status key can be either true or false and is used to determine the success or failure of a query:
*Note:-Latitude,Longitude are very useful for Map service.