On this page
VPNDetection is now launched: one API call that tells you whether an IP address is a VPN, a proxy, a Tor node, hosting, a privacy relay or a CDN edge, and the evidence behind each answer. It answers without a key, and there are SDKs in twelve languages and middleware for the frameworks you already run.
One call, nine checks
GET https://api.vpndetection.io/{ip} takes IPv4 and IPv6 on the same endpoint, and GET /myip classifies the caller's own address. Here is a Mullvad server from Mullvad's own relay list, looked up with no key on November 29, 2026:
curl "https://api.vpndetection.io/193.32.248.66"{
"ip": "193.32.248.66",
"is_bogon": false,
"is_vpn": true,
"is_relay": false,
"is_tor": false,
"is_anycast": false,
"relay": {},
"tor": {},
"location": {
"continent": "EU",
"continent_name": "Europe",
"country": "DE",
"country_name": "Germany",
"timezone": "Europe/Berlin",
"currency_code": "EUR",
"currency_name": "Euro",
"currency_symbol": "€",
"flag_emoji": "🇩🇪",
"flag_unicode": "U+1F1E9 U+1F1EA"
},
"asn": {
"asn": 39351,
"name": "31173 Services AB",
"domain": "31173.se",
"prefix": "193.32.248.0/24",
"country": "SE",
"rpki_status": "valid"
},
"hostname": ""
}With no key, the free plan answers the VPN, Tor and relay flags, the country and the network, for a daily allowance of lookups from each address. A free key answers every field on your organization's first lookups each UTC day, then the basics, which carry no is_vpn.
Each flag answers one question, and the object behind it says who and how strongly:
| Flag | True when the address is |
|---|---|
is_vpn | a commercial VPN exit, its operator named |
is_hosting | leased hosting or cloud space |
is_tor | a Tor node |
is_relay | a platform privacy relay, such as iCloud Private Relay |
is_cdn | a content-delivery edge |
is_resproxy | seen in a residential proxy pool |
is_dcproxy | seen in a datacenter proxy pool |
is_mobproxy | seen in a mobile proxy pool on carrier space |
is_pubproxy | seen at either end of a public proxy, an open proxy anyone can use |
is_pubproxy and its pubproxy object joined the answer on October 18, after launch: Public proxy detection API: open proxies at both ends.
An empty object means we looked and nothing matched. The data behind every flag is rebuilt daily: on October 7 the homepage counted 141M anonymous IPs, 789M hosting IPs and 3.2K providers. Each answer is an inference from measurement and published records, and can be wrong or go stale, so don't make one the only reason to turn someone away. The docs have the full response and every status code.
Every field, with a paid plan's key
A paid plan answers every field, the nine flags and the detail behind each, and with its key POST /batch takes up to 1,000 addresses at once. The same server, location and asn cut:
curl -s "https://api.vpndetection.io/193.32.248.66" \
-H "Authorization: Bearer $VPNDETECTION_API_KEY" | jq 'del(.location, .asn)'{
"ip": "193.32.248.66",
"is_bogon": false,
"is_vpn": true,
"is_hosting": true,
"is_relay": false,
"is_tor": false,
"is_cdn": false,
"is_resproxy": false,
"is_dcproxy": false,
"is_mobproxy": false,
"is_pubproxy": false,
"vpn": {
"provider": "mullvad",
"provider_name": "Mullvad",
"last_seen": "2026-11-18",
"confidence": "high"
},
"hosting": {
"provider": "",
"provider_name": "",
"confidence": "medium",
"last_seen": "2026-11-18"
},
"relay": {},
"tor": {},
"cdn": {},
"resproxy": {},
"dcproxy": {},
"mobproxy": {},
"pubproxy": {},
"cap_reached": false
}A field the free plan doesn't include is left out, so read a missing one as a question you didn't buy an answer to, never as a no. A proxy flag stays once its address leaves the pool, and the detail's last_seen says how recent the sighting is. A provider's ID stays the same from one build to the next, so a rule you key on it keeps working as its ranges move. Plans are on pricing.
SDKs, middleware and tools
Twelve SDKs, each on its language's own registry: Node.js, Python, Go, Java, .NET, PHP, Ruby, Rust, Swift, Erlang, Perl and Zig. They answer private and reserved addresses without a request and retry a failed call with backoff. Fifteen middlewares put the check in front of your routes: Express, Fastify and Next.js; Django, Flask and FastAPI; Laravel and Symfony; Rails; Spring Boot; ASP.NET Core; Gin and Go's net/http; Axum; and Cowboy. Each classifies every visitor and refuses nobody until you give it a condition to refuse on. The integrations page has the install line for each.
Beside them sit:
- a CLI, from Homebrew, apt, Chocolatey or Docker, that looks up addresses, ranges and whole files;
- an MCP server, hosted or run locally and listed in the official MCP registry, for assistants and agents;
- a Claude connector and Claude Code plugin.
Every SDK can also sign a person in to VPNDetection with OAuth, so a tool you build can look addresses up on its user's own keys.
The console
app.vpndetection.io is where your keys live:
- API keys: create one with its own permissions and the addresses it may be used from, then rotate or revoke it.
- Analytics: your requests over time, by status, client address or user agent, exportable.
- Billing: your plan, monthly or yearly, the overage ceiling, and invoices.
- Your account: sign in with a passkey, Google or GitHub, two-factor by app or email, and every session and connected app, the CLI and Claude included.
Databases
Each flag comes from data we rebuild daily, and seven are also sold as files: VPN IP, Hosting IP, Tor IP, Relay IP, CDN IP, Datacenter Proxy IP and Public Proxy IP. Each ships as CSV and as MMDB for standard MMDB readers, with a checksum for every file and a sample cut from the current build. They're licensed per database: talk to us about yours. The residential and mobile proxy flags come through the API.
Free on the site
Some of it needs no account at all: a page for any address, with its JSON; the IPv4 space by block; the bogon ranges; and For AI agents, the API's contract for an autonomous client. The API page runs a lookup with no key.
Guides on the blog
The blog has the guides that go with it: detecting VPN users in Express.js, Django and PHP and WordPress, blocking VPN players on Minecraft, and what the Online Safety Act and Utah SB 73 mean for a site that checks for VPNs. Two more look at the data: whether to block iCloud Private Relay, and how long residential proxy IPs last.
Getting started
Sign up with GitHub, Google or an email address, and the docs take it from your first lookup to your first rule. The contact form reaches us about databases, a misclassified address or anything else.


