VPN Detect API - Flag VPN, Tor, and Datacenter IPs
Runs three checks: datacenter CIDR match (AWS, GCP, Azure, DigitalOcean, Linode blocks), Tor exit-node list, and reverse DNS keyword scan (vpn, proxy, nordvpn, expressvpn, etc.). Returns boolean flags per check, the detected cloud provider when matched, and a consolidated 0-100 risk score.
Code examples
curl -X POST https://api.botoi.com/v1/vpn-detect \
-H "Content-Type: application/json" \
-d '{"ip":"34.102.55.10"}'When to use this API
Reject free-trial signups from datacenter IPs
Require a non-datacenter IP for free-tier signups. Cloud provider IPs (AWS, GCP, Azure) on a consumer signup flow almost always indicate bot traffic or trial-abuse automation. Paid customers in cloud contexts can still bypass with an API key.
Fraud scoring for payment flows
When a checkout request arrives from is_tor:true or risk_score above 70, route to manual review or require 3DS. Legitimate Tor users are rare in e-commerce; the signal is high-precision for fraud.
Geo-pricing enforcement
Price discrimination by country only works if users do not VPN-shop. Combine this endpoint with /v1/ip-lookup to identify when a US-priced signup comes from a VPN terminating in a cheaper region.
Frequently asked questions
What is the Tor exit node list coverage?
Which cloud providers does datacenter detection cover?
How is risk_score calculated?
Why is IPv6 not supported?
How is this different from /v1/ip-blocklist/check?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.