Skip to content

Instantly share code, notes, and snippets.

@coderholic
Created July 22, 2020 04:50
Show Gist options
  • Save coderholic/6c0f8acca41d0f74bbf94651af2f8fd7 to your computer and use it in GitHub Desktop.
Save coderholic/6c0f8acca41d0f74bbf94651af2f8fd7 to your computer and use it in GitHub Desktop.
Host.io Example API Output

$ curl https://host.io/api/full/worldometers.info?token=$TOKEN

{
  "domain": "worldometers.info",
  "web": {
    "domain": "worldometers.info",
    "rank": 294,
    "url": "https://www.worldometers.info/",
    "ip": "172.67.70.249",
    "date": "2020-06-25T23:30:40.636Z",
    "length": 66528,
    "server": "cloudflare",
    "encoding": "utf8",
    "copyright": "© Copyright Worldometers.info - All rights reserved -",
    "adsense": "pub-3701697624350410",
    "googleanalytics": "UA-1438574",
    "title": "Worldometer - real time world statistics",
    "description": "Live world statistics on population, government and economics, society and media, environment, food, water, energy and health. Interesting statistics with world population clock, forest loss this year, carbon dioxide co2 emission, world hunger data, energy consumed, and a lot more",
    "links": [
      "un.org",
      "census.gov",
      "who.int",
      "imf.org",
      "worldbank.org",
      "undp.org",
      "unesco.org",
      "sipri.org",
      "oica.net",
      "scotiabank.com",
      "ihs.com",
      "worldwatch.org",
      "gartner.com",
      "idc.com",
      "bowker.com",
      "wan-ifra.org",
      "displaysearch.com",
      "dfcint.com",
      "npd.com",
      "itu.int",
      "comscore.com",
      "gfk.com",
      "internetlivestats.com",
      "radicati.com",
      "technorati.com",
      "wordpress.com",
      "google.com",
      "fao.org",
      "iea.org",
      "ornl.gov",
      "eia.gov",
      "unccd.int",
      "epa.gov",
      "unep.org",
      "wfp.org",
      "unicef.org",
      "healthaffairs.org",
      "rti.org",
      "ahrq.gov",
      "cdc.gov",
      "marketresearch.com",
      "americashealthrankings.org",
      "worldwatercouncil.org",
      "bp.com",
      "wikipedia.org",
      "childinfo.org",
      "sogc.org",
      "thelancet.com",
      "avert.org",
      "unaids.org",
      "pbs.org",
      "twitter.com",
      "facebook.com"
    ]
  },
  "dns": {
    "domain": "worldometers.info",
    "a": [
      "104.26.4.2",
      "104.26.5.2",
      "172.67.70.249"
    ],
    "aaaa": [
      "2606:4700:20::681a:402",
      "2606:4700:20::681a:502",
      "2606:4700:20::ac43:46f9"
    ],
    "mx": [
      "10 mail.worldometers.info."
    ],
    "ns": [
      "collins.ns.cloudflare.com.",
      "moura.ns.cloudflare.com."
    ]
  },
  "ipinfo": {
    "172.67.70.249": {
      "city": "Frankfurt am Main",
      "region": "Hesse",
      "country": "DE",
      "loc": "50.1155,8.6842",
      "postal": "60311",
      "timezone": "Europe/Berlin",
      "asn": {
        "asn": "AS13335",
        "name": "Cloudflare, Inc.",
        "domain": "cloudflare.com",
        "route": "172.67.64.0/20",
        "type": "business"
      }
    },
    "104.26.4.2": {
      "city": "Washington",
      "region": "Washington, D.C.",
      "country": "US",
      "loc": "38.8951,-77.0364",
      "postal": "20045",
      "timezone": "America/New_York",
      "asn": {
        "asn": "AS13335",
        "name": "Cloudflare, Inc.",
        "domain": "cloudflare.com",
        "route": "104.26.0.0/20",
        "type": "business"
      }
    },
    "104.26.5.2": {
      "city": "Washington",
      "region": "Washington, D.C.",
      "country": "US",
      "loc": "38.8951,-77.0364",
      "postal": "20045",
      "timezone": "America/New_York",
      "asn": {
        "asn": "AS13335",
        "name": "Cloudflare, Inc.",
        "domain": "cloudflare.com",
        "route": "104.26.0.0/20",
        "type": "business"
      }
    },
    "2606:4700:20::681a:402": {
      "city": "San Francisco",
      "region": "California",
      "country": "US",
      "loc": "37.7621,-122.3971",
      "postal": "94107",
      "timezone": "America/Los_Angeles",
      "asn": {
        "asn": "AS13335",
        "name": "Cloudflare, Inc.",
        "domain": "cloudflare.com",
        "route": "2606:4700:20::/44",
        "type": "business"
      }
    },
    "2606:4700:20::681a:502": {
      "city": "San Francisco",
      "region": "California",
      "country": "US",
      "loc": "37.7621,-122.3971",
      "postal": "94107",
      "timezone": "America/Los_Angeles",
      "asn": {
        "asn": "AS13335",
        "name": "Cloudflare, Inc.",
        "domain": "cloudflare.com",
        "route": "2606:4700:20::/44",
        "type": "business"
      }
    },
    "2606:4700:20::ac43:46f9": {
      "city": "San Francisco",
      "region": "California",
      "country": "US",
      "loc": "37.7621,-122.3971",
      "postal": "94107",
      "timezone": "America/Los_Angeles",
      "asn": {
        "asn": "AS13335",
        "name": "Cloudflare, Inc.",
        "domain": "cloudflare.com",
        "route": "2606:4700:20::/44",
        "type": "business"
      }
    }
  },
  "related": {
    "ip": [
      {
        "value": "172.67.70.249",
        "count": 132
      },
      {
        "value": "104.26.4.2",
        "count": 192
      },
      {
        "value": "104.26.5.2",
        "count": 179
      },
      {
        "value": "2606:4700:20::681a:402",
        "count": 0
      },
      {
        "value": "2606:4700:20::681a:502",
        "count": 0
      },
      {
        "value": "2606:4700:20::ac43:46f9",
        "count": 0
      }
    ],
    "asn": [
      {
        "value": "AS13335",
        "count": 33305010
      }
    ],
    "ns": [
      {
        "value": "cloudflare.com",
        "count": 19504836
      }
    ],
    "mx": [
      {
        "value": "worldometers.info",
        "count": 1
      }
    ],
    "adsense": [
      {
        "value": "pub-3701697624350410",
        "count": 26
      }
    ],
    "googleanalytics": [
      {
        "value": "UA-1438574",
        "count": 26
      }
    ],
    "backlinks": [
      {
        "value": "worldometers.info",
        "count": 3568
      }
    ],
    "redirects": [
      {
        "value": "worldometers.info",
        "count": 48
      }
    ]
  }
}

$ curl https://host.io/api/domains/adsense/pub-3701697624350410?token=$TOKEN

{
  "adsense": "pub-3701697624350410",
  "total": 26,
  "domains": [
    "worldometers.info",
    "internetlivestats.com",
    "supermappe.com",
    "risatissime.com",
    "thecoronastats.com",
    "icovid.org",
    "cartoonista.com",
    "7billionworld.com",
    "khndkcn.icu",
    "italiaora.org",
    "coronavirus-informer.online",
    "scottish-parliament.com",
    "gatanvirot.tk",
    "lebanbest.com",
    "jubileeplus.org",
    "stopthehunger.com",
    "compitilastminute.com",
    "karluozzi.com",
    "sqjtds.icu",
    "safebreath.club",
    "supernatale.com",
    "cvidmasks.com",
    "moneymeters.org",
    "kolur.com",
    "arasunin.tk"
  ]
}

$ curl https://host.io/api/domains/ip/104.26.5.2?limit=100&token=$TOKEN

{
  "ip": "104.26.5.2",
  "total": 179,
  "domains": [
    "worldometers.info",
    "coincodex.com",
    "drugbank.ca",
    "onpay.my",
    "carrotsareorange.com",
    "trex-arms.com",
    "aim2flourish.com",
    "sanbona.com",
    "hockeybuzz.com",
    "trendybutler.com",
    "followit.com",
    "cannabisculture.com",
    "worldpokerdeals.com",
    "opaldownloads.com",
    "mucizeleriniyarat.com",
    "admtc.pro",
    "bharathautos.com",
    "canarywharfmap.com",
    "bbfiles.com",
    "coronavirusme.com",
    "betkanyonaffiliates.com",
    "gatech.work",
    "darussalam.net.my",
    "meetways.com",
    "helpmebasementy.com",
    "hansonellis.com",
    "clmschaatsen.nl",
    "primadax.com",
    "flowerboxbydfm.nl",
    "dunyadonerblackpool.co.uk",
    "trendybulter.com",
    "bukulali.com",
    "innisbrookgolfresort.com",
    "novotel.uk",
    "ctgexchange.com",
    "innisbrookclaycourtchamp.com",
    "igrovyye-avtomaty.org",
    "dillankebabonline.co.uk",
    "hds6666.com",
    "pxls.io",
    "aqgcr.tk",
    "frost.uk",
    "dapurfamily.com",
    "virusfacemasks.co.uk",
    "pizzasupremoonline.com",
    "korban4gaza.com",
    "thespicecottageonline.com",
    "ppkjo.tk",
    "uhlchristmas.com",
    "c78zw.tk",
    "gncol.tk",
    "artiksdesign.fi",
    "danzigeronline.com",
    "coronavirus.co",
    "aq90j.tk",
    "trendlybutler.com",
    "aim2flourish.co",
    "motherthyme.com",
    "justpark.uk",
    "sebungkus.net",
    "tokenneversleeps.com",
    "nurintravel.com",
    "remoteco.co",
    "tmss.net.au",
    "teknikparenting.com",
    "hidupmagik.com",
    "ukpizzachesterfield.com",
    "fintechtourism.com",
    "soilexchange.co.uk",
    "s1amc.tk",
    "gophercare.com",
    "polylevelcalgary.com",
    "l6ruc.tk",
    "ppproperty.com",
    "staffordshanghaigarden.com",
    "kursusperubatan.com",
    "78x7h.tk",
    "apolloadhesivesolutions.uk",
    "3w65q.tk",
    "zvmki.tk",
    "isbu9.tk",
    "sakerestaurant.com.au",
    "thw6f.tk",
    "hclv1.tk",
    "orangedeath.com",
    "basementsystemscalgary.com",
    "mediate47.ca",
    "norefjell.com",
    "innisbrookresort.com",
    "neheim-huesten.de",
    "trustcityfx.com",
    "spaatinnisbrook.com",
    "teamdunton.com",
    "luckyhippocasino.eu",
    "huismetdeluikjes.com",
    "innisbrookcareers.com",
    "thunderfiles.co",
    "justvaluedoors.co.uk",
    "taxiboricua.com",
    "nomadfoodscdn.com"
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment