API Documentation

• Search IP

    POST   https://sicehice.com/api/getip

Example:

import requests
apikey = '--your-api-key--'
query = '190.211.254.129' # IP to query
params = { 'apikey' : apikey, 'query' : query }

getip = requests.post('https://sicehice.com/api/getip', headers=params)
print (getip.text)


• Retrieve Your Search Quota

    POST  https://sicehice.com/api/searchquota

Example:

import requests
apikey = '--your-api-key--'
params = { 'apikey' : apikey, 'query' : query }

searchquota = requests.post('https://sicehice.com/api/searchquota', headers=params)
print (searchquota.text)


Retrieve Your IP's Location as a JSON Response

    GET  https://iplocation.sicehice.com

Example:

1
2
hostname:~ root$ curl https://iplocation.sicehice.com
{"asn":40676,"city":"Seoul","country":"South Korea","latitude":37.5794,"longitude":126.9754,"network":"172.107.194.0/24","org":"AS40676","province/state":"Seoul","query":"172.107.194.174"}


Retrieve Only Your IP

    GET  https://iplocation.sicehice.com/plain

Example:

1
2
hostname:~ root$ curl https://iplocation.sicehice.com/plain
172.107.194.174


API Lookup as a JSON Response

    GET  https://iplocation.sicehice.com/api/?ip={ip}

Example:

1
2
3
4
5
6
hostname:~ root$ curl https://iplocation.sicehice.com/api/?ip=185.117.88.82
{"asn":42708,"city":"Stockholm","country":"Sweden","latitude":59.3287,"longitude":18.0717,"network":"185.117.88.0/23","org":"GleSYS AB","province/state":"Stockholm County","query":"185.117.88.82"}

hostname:~ root$ for i in $(cat list.txt); do curl https://iplocation.sicehice.com/api/\?ip=$i; done
{"asn":7545,"city":"Perth","country":"Australia","latitude":-31.9474,"longitude":115.8648,"network":"110.175.10.0/23","org":"TPG Telecom Limited","province/state":"Western Australia","query":"110.175.11.16"}
{"asn":20473,"city":"Shinagawa","country":"Japan","latitude":35.6096,"longitude":139.7283,"network":"207.148.88.0/21","org":"AS-CHOOPA","province/state":"Tokyo","query":"207.148.90.139"}


Additional questions? -  info@sicehice.com