๐Ÿ“ก ipip.si API Docs v1

Free for fair use. Geolocation/ASN data: This product includes GeoLite2 data created by MaxMind; threat intel from FireHOL; AI crawler IP ranges as officially published by each provider; ASN profiles from RIPEstat. For reference only.

Identity Verification (Verify API)

GET /api/v1/verify?ip=1.2.3.4&ua=โ€ฆ
Decide whether an IP (+UA) is an official AI crawler, an impersonator, or unknown. If ua is omitted, the request's User-Agent header is used.
{
  "ip": "1.2.3.4",
  "claimed": "GPTBot",
  "verdict": "spoofer",
  "agent": null,
  "evidence": [{"en": "UA claims GPTBot but the IP is in no officially published AI crawler range"}]
}
verdict: official (UA matches an official IP range) / spoofer (UA claims a crawler but the IP is in no official range, or UA and IP identities mismatch) / unknown. Verdicts only, no scores; unknown โ‰  safe.

Look Up an IP

GET /api/v1/ip?ip=8.8.8.8
Domains work too: /api/v1/ip?ip=google.com
With no parameter, returns the caller's own IP info.
{
  "ip": "8.8.8.8",
  "country": "United States", "region": "", "city": "",
  "asn": 15169, "org": "Google LLC",
  "net_type": "dc", "net_type_label": "Datacenter",
  "datacenter": true, "ip_version": "v4",
  "threat_listed": false,
  "threat_history": {"snapshots": 12, "listed": 3, "dates": ["2026-09-20", "..."]},
  "ai_agent": null,
  "api_version": "v1"
}

Fields

net_type: dc Datacenter / isp Residential / mobile Mobile / edu Education / vpn VPN/Proxy / unknown Unknown
threat_listed: Whether the IP is on the FireHOL threat-intel list
threat_history: Threat-list history: snapshots = weekly snapshots kept, listed = weeks listed, dates = dates of listed weeks; null for IPv6
ai_spoofer: Impersonation detection: returned as {"claimed","hits","last_seen"} when this IP visited this site with an AI-crawler UA but is in no official range; otherwise null
ai_agent: When the IP matches the AI crawler directory: {"name","org","cidr","source"}, e.g. {"name":"GPTBot","org":"OpenAI","cidr":"โ€ฆ","source":"official source URL"}; null when no match
evidence: Verdict evidence chain: the "why" behind every conclusion (matched range / ASN-list basis / threat-list source), as {"en": "โ€ฆ"} entries you can verify yourself

Other Endpoints

GET /api/myip โ€” The caller's own IP info
GET /api/lookup?q=1.1.1.1 โ€” Same lookup the web UI uses
GET /agents โ€” AI crawler IP directory page (includes the ๐Ÿ›ก๏ธ crawler firewall rule generator: select crawlers to generate robots.txt / nginx / Cloudflare WAF block rules in one click)
GET /agents.json โ€” Machine-readable service description: structured JSON of this site's capabilities, so agents can discover and call them without reading pages
GET /api/stats โ€” Aggregate homepage view stats (human / AI crawler / other bot counts, no visitor IPs)
GET /api/spoofers โ€” AI crawler impersonators caught in the past 7 days (UA claims an AI crawler but the IP is in no official range)
GET /api/dashboard?days=7 โ€” AI crawler traffic dashboard data: traffic mix, daily trend, top crawlers, impersonator trend (aggregate counts, no visitor IPs)
GET /dashboard โ€” Dashboard page
GET /api/health โ€” Service health check
GET /api/asn/13335 โ€” ASN profile: holder, announced prefixes (v4/v6), neighbour networks; data from RIPEstat, cached 24h
GET /asn/13335 โ€” ASN profile page
POST /api/dnsleak/token โ€” DNS leak test: get a random token โ†’ have the browser resolve <token>.t.ipip.si (authoritative DNS probe) โ†’ GET /api/dnsleak/result?token=โ€ฆ โ€” see which resolver queried for you; compare with your traffic egress to detect DNS leaks
POST /api/report โ€” Submit a diagnostic snapshot JSON, get a read-only share link /r/<id> (expires in 7 days; Markdown version at /r/<id>.md)

The ai_agent directory syncs weekly with official sources; a match means "this IP is inside an officially published AI crawler range", not that this particular visit was necessarily a crawler.

MCP Server (for AI assistants)

Tools: ip_lookup (full identity for an IP/domain) ยท ip_reputation (reputation check)

Add this to your MCP client config:
{
  "mcpServers": {
    "ipip-si": {
      "command": "ssh",
      "args": ["mcp@[2607:8140:212:d2c::]",
               "/opt/ipip/venv/bin/python /opt/ipip/mcp_server.py"]
    }
  }
}
Requires IPv6 connectivity to the VPS. Once connected, just ask your AI: "Is 8.8.8.8 an AI crawler?"

Security: Use the dedicated low-privilege account mcp (no sudo), never root. That account is force-locked to run only the MCP server on login (any command passed is not executed), with no pty and no port forwarding. SSH is public-key allowlist only: send your SSH public key to the site owner to be added.
โ† Back to ipip.si