Free IP tool

VPN Detection API

Check any IP address for VPN usage with a single REST call. Our VPN database is refreshed continuously, so new servers show up fast.

VPN Detection
Try

Overview

What is a VPN detection API?

A VPN detection API takes an IP address and tells you whether traffic from it is routed through a commercial VPN. Instead of maintaining your own list of VPN server ranges, you make one HTTPS request and get back a clear verdict and confidence score. IPScanner combines known provider ranges, hosting-network analysis and behavioural signals so you can block, challenge or simply log VPN traffic in real time.

Signals

How VPN detection works

We weigh multiple independent signals rather than relying on a single blocklist.

  • 01

    Provider IP ranges

    Continuously harvested ranges from hundreds of consumer and enterprise VPN providers.

  • 02

    Hosting & ASN analysis

    VPN exit nodes usually live in datacenter ASNs, not residential ISPs, a strong tell.

  • 03

    Port & protocol hints

    Signatures associated with OpenVPN, WireGuard and IKEv2 endpoints.

  • 04

    Reputation history

    How the IP has behaved across our network of lookups over time.

  • 05

    Confidence score

    Every verdict ships with a 0–100 score so you can tune how aggressive blocking is.

  • 06

    Continuous updates

    New servers are added within hours, not on a monthly refresh.

API

The same check, from code

GET/v1/vpn/{ip}
curl -H 'Authorization: Bearer YOUR_API_KEY' \
  'https://ipscanner.io/v1/vpn/146.70.172.2'
response

One request, one verdict. A free key gets 7 days of Starter, then 1,000 lookups a month with no card, and every response carries the network class and a confidence score.

Use cases

Where teams use it

  • Fraud & payments

    Add friction when a checkout or signup hides behind a VPN.

  • Content licensing

    Enforce geo-restrictions that VPNs are used to bypass.

  • Account security

    Flag logins from anonymising infrastructure for step-up auth.

  • Abuse prevention

    Stop multi-accounting and trial abuse routed through VPNs.

FAQ

Frequently asked questions

We combine provider ranges, ASN/hosting analysis and behavioural reputation, and return a confidence score with every lookup so you can set a threshold that matches your risk tolerance.

IPScanner

Why Choose IPScanner

Teams use IPScanner to tell real users apart from masked and automated traffic.

  • Accuracy you can measure

    Verdicts come with a 0 to 100 confidence score, so you tune the threshold to your own risk instead of trusting one number.

  • Built to scale

    The API runs on infrastructure sized for production traffic, with a 99.9% uptime target for business-critical use.

  • Data that stays fresh

    We refresh VPN, proxy, and Tor lists continuously, so newly spun-up servers get caught quickly.

  • Easy to wire in

    A plain REST API works with any language or framework. Most teams are live the same afternoon.

  • Documentation that's honest

    Worked examples in curl, JavaScript, and Python, plus straight notes on what each signal does and doesn't mean.

  • People who know the domain

    Support comes from engineers who work on IP detection every day, not a generic help desk.

Get a key and make your first call in a minute

New accounts get 7 days of Starter from their first request. No card, and your key is on screen as soon as you sign up.

    VPN Detection API: Detect VPN IPs in Real Time | IPScanner