API Example
Request
curl -H "x-key: [YOUR-API-KEY]" "https://api.sitebot.com/api/v1/host/lookup?host=www.reddit.com"
Request
{
"host":{
"host":"www.reddit.com",
"pop_rank":30,
"malware":0,
"phising":0,
"ips":[
"146.75.37.140"
],
"geo":{
"country_code":"PL",
"city":"Warsaw",
"state_name":"Mazovia",
"latitude":52.2297,
"timezone_offset":1,
"district":"Warszawa",
"host":"146.75.37.140",
"timezone_name":"Europe/Warsaw",
"continent_code":"EU",
"state_code":"14",
"weather_code":"PLXX0028",
"longitude":21.0122
},
"http":{
"url":"https://www.reddit.com/",
"code":200,
"server":"snooserv",
"took":1077,
"icon":"https://www.redditstatic.com/desktop2x/img/favicon/favicon-16x16.png",
"gzip":1,
"message":"OK",
"title":"Reddit - Dive into anything",
"icons":{
"0":"https://www.redditstatic.com/desktop2x/img/favicon/favicon-16x16.png"
},
"depth":1,
"content_type":"text/html",
"size":1000311,
"host":"www.reddit.com",
"location":"https://www.reddit.com/?rdt=39558",
"links":[
{
"external":1,
"type":"img",
"url":"https://styles.redditmedia.com/t5_2u2bh/styles/communityIcon_9inc3hztotg91.png"
},
{
"internal":1,
"type":"href",
"url":"https://www.reddit.com/t/movie/"
},
{
"external":1,
"type":"icon",
"url":"https://www.redditstatic.com/desktop2x/img/favicon/favicon-32x32.png"
},
{
"external":1,
"type":"href",
"url":"https://www.redditinc.com/policies/user-agreement"
},
],
"ogs":{
"site_name":"reddit",
"image":"https://www.redditstatic.com/icon.png",
"image:width":"256",
"image:height":"256",
"title":"reddit",
"type":"website",
"ttl":"600",
"url":"https://www.reddit.com/?rdt=39558"
}
}
}
}