Hosting Providers

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

Hosting Providers es un endpoint de IP Intelligence API. País, ASN, detección de datacenter, nube y Tor con una puntuación de riesgo explicable para cualquier IP.

Envía tu clave en la cabecera X-Api-Key. Cada llamada cuesta 1 token; una clave gratuita incluye 500 tokens al mes.

Petición

Este endpoint no recibe parámetros.

Petición de ejemplo

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()

Respuesta de ejemplo

Respuesta de ejemplo
{
  "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",
…
Ver la respuesta completa
{
  "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
    }
  ]
}