BotBlocker
IP Intelligence API

Know who's really visiting your site

Classify any IP address as datacenter, residential, or VPN in real time. Protect dealer websites from bots, scrapers, and automated abuse.

3 Sources
Cymru + ARIN + ASN
/24 Cache
One lookup per block
No Keys
Free public APIs
Real-time
Sub-second lookups

Three-step IP intelligence

Combines multiple data sources into a single verdict for each IP address.

🔍

IP Classification

Datacenter, residential, VPN, or private. Combines ASN, ARIN RDAP, and org name signals.

🛡

Bot Detection

Known crawler allowlist (Google, Bing, Yandex). Separates legitimate bots from bad actors.

/24 Block Cache

One RDAP lookup covers all 256 IPs in a /24 block. Shared cache with 1-hour TTL.

📝

Bot Logging

Automatic JSON log of datacenter and VPN IPs. Capped at 10K entries for review.

🔗

Express Middleware

Drop-in middleware for any Express app. Attaches classification to every request.

🌐

User-Agent Analysis

Parse and classify User-Agent strings. Detect headless browsers and automation tools.

Endpoints

IP Classification

GET /classify/:ip Full IP classification with all RDAP data
GET /check/:ip Quick verdict (datacenter / residential / vpn)

Bot & Crawler Detection

GET /crawlers List all known crawler IP ranges
GET /crawlers/check/:ip Check if IP belongs to a known crawler
GET /check-ua Classify User-Agent string (?ua=...)

Monitoring

GET /ip-log Recent datacenter/VPN IP log
GET /cache Current /24 prefix cache stats
GET /health Service health check

Example response

// GET /classify/8.8.8.8
{
  "ip": "8.8.8.8",
  "verdict": "datacenter",
  "asn": 15169,
  "netOrg": "Google LLC",
  "asnOrg": "Google LLC",
  "country": "US",
  "netCidr": "8.8.8.0/24",
  "isHosting": true,
  "isIsp": false
}

Protect your dealer websites from bots

Add BotBlocker to your stack with one line of Express middleware.

Try the live demo