IPGEO
offers full Application Programming Interface (API) for our free
IP GEO tools using standard HTTP protocol. In order to use our IP
GEO API you require a valid GEOIP API key.
To receive GEOIP API
key you will need to register and apply for the key. IPGEO API interface
has rate limits - please read more about our API
usage limits.
Login to member area
Api command syntax and
usage
API server name: api.ipgeo.com
API server port: 80
API server protocol: TCP
Commands are passed via
standard HTTP protocol GET query.
To query IP to Country
tool you will perform the following GET query against api.ipgeo.com:80
/api/cmd/country?ip=<ip_address>&key=<your_api_key>
where
<ip_address>
- is the address you want to map to country name
<your_api_key> - your API key
For example a full HTTP
URL follows:
http://api.ipgeo.com/api/cmd/country.php?ip=10.10.10.10&key=565656565
Other valid API
commands:
http://api.ipgeo.com/api/cmd/city.php?ip=<ip_address>&key=<your_api_key>
|