Hosting Providers

GEThttps://api-ip-intelligence.dataandapis.com/v1as

Hosting Providers is an endpoint of the IP Intelligence API. Country, ASN, datacenter, cloud and Tor detection with an explainable risk score for any IP.

Send your key in the X-Api-Key header. Each call costs 1 token; a free key includes 500 tokens a month.

Request

This endpoint takes no parameters.

Example request

curl
curl "https://api-ip-intelligence.dataandapis.com/v1as" \
  -H "X-Api-Key: YOUR_API_KEY"
Node.js
const res = await fetch("https://api-ip-intelligence.dataandapis.com/v1as", {
  headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();
Python
import os, requests

r = requests.get(
    "https://api-ip-intelligence.dataandapis.com/v1as",
    headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()

Example response

Example response
{
  "ok": true,
  "count": 8,
  "providers": [
    {
      "provider": "Azure",
      "kind": "cloud",
      "ipv4_ranges": 44008,
      "ipv6_ranges": 16750,
      "total": 60758
    },
    {
      "provider": "AWS",
      "kind": "cloud",
      "ipv4_ranges": 10518,
      "ipv6_ranges": 6166,
      "total": 16684
    },
    {
      "provider": "GitHub",
      "kind": "cloud",
      "ipv4_ranges": 5981,
      "ipv6_ranges": 1642,
      "total": 7623
    },
    {
      "provider": "DigitalOcean",
      "kind": "cloud",
…
Show full response
{
  "ok": true,
  "count": 8,
  "providers": [
    {
      "provider": "Azure",
      "kind": "cloud",
      "ipv4_ranges": 44008,
      "ipv6_ranges": 16750,
      "total": 60758
    },
    {
      "provider": "AWS",
      "kind": "cloud",
      "ipv4_ranges": 10518,
      "ipv6_ranges": 6166,
      "total": 16684
    },
    {
      "provider": "GitHub",
      "kind": "cloud",
      "ipv4_ranges": 5981,
      "ipv6_ranges": 1642,
      "total": 7623
    },
    {
      "provider": "DigitalOcean",
      "kind": "cloud",
      "ipv4_ranges": 1080,
      "ipv6_ranges": 148,
      "total": 1228
    },
    {
      "provider": "Oracle",
      "kind": "cloud",
      "ipv4_ranges": 1107,
      "ipv6_ranges": 0,
      "total": 1107
    },
    {
      "provider": "GCP",
      "kind": "cloud",
      "ipv4_ranges": 997,
      "ipv6_ranges": 95,
      "total": 1092
    },
    {
      "provider": "Cloudflare",
      "kind": "cdn",
      "ipv4_ranges": 15,
      "ipv6_ranges": 7,
      "total": 22
    },
    {
      "provider": "Fastly",
      "kind": "cdn",
      "ipv4_ranges": 19,
      "ipv6_ranges": 2,
      "total": 21
    }
  ]
}