Help center
How to detect VPN and proxy users
Detect Tor, VPN, proxy and data center traffic from an IP address, understand what the flags can miss, and decide what to do without blocking real users.
Updated 2026-11-23
Look up the IP address and read the flags and the network type. Tor exit nodes are listed exactly. VPN and proxy detection is best effort, so a false flag means not detected, not proven clean. Use the flags to add a step or a review, not to block people.
What the signals mean
| Flag | How it is set | Limits |
|---|---|---|
tor |
The address is on the Tor Project's list of exit nodes. | Only exit nodes are listed. |
vpn |
The address belongs to a known VPN provider's network. | Best effort. Unknown networks pass. |
proxy |
The address belongs to a known proxy network. | Residential proxies are generally not detectable. |
datacenter |
The network is classified as hosting. | Cloud desktops and corporate gateways also sit on hosting networks. |
For background, see VPN, proxy server, residential proxy, Tor exit node and data center IP. VPN detection explains the methods.
Free way
- Open VPN and proxy detection and enter the address.
- Read the Tor, data center and VPN results. The tool is best effort and publishes its sources.
- For context, add the IP lookup, which shows the network and its type.
With the API
curl https://api.qelka.com/v1/ip \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"ip": "8.8.8.8"}'
It costs 1 credit. Use a public address from your logs. Read:
{
"asn": { "number": 15169, "org": "Google LLC", "type": "hosting" },
"flags": { "tor": false, "vpn": false, "proxy": false, "datacenter": true },
"risk": { "score": 35, "level": "medium" }
}
| Field | Use |
|---|---|
flags.tor, flags.vpn, flags.proxy, flags.datacenter |
The four signals. |
asn.type |
hosting backs up datacenter. mobile means shared addresses. |
risk.level |
low is 0 to 29, medium 30 to 69, high 70 to 100. |
Values are illustrative. See the IP reference and the guide flag VPN and data center traffic.
Decide what to do
| Situation | Suggested action |
|---|---|
| Newsletter signup | Accept. |
| Free trial | Accept and require a code, or limit usage. |
| Payment or payout | Hold for review when flags are set, together with other signals. |
| Login from a new address | Ask for a second factor. |
| Tor on a service that forbids it | Block, and say why. |
Combine flags with the rest of the signup: email check, phone check, how fast the form was filled. See Stop fake signups without CAPTCHA.
Common mistakes
- Reading
falseas safe. It means not detected. - Blocking every flagged visitor. You lose real customers and corporate users.
- Looking up your own server's address. Read the client address from your proxy's header.
- Ignoring shared addresses. Mobile networks put many people on one IP.
- Looking up private addresses. They return
422and are not billed.
Related
Frequently asked questions
Can you detect every VPN user?
Should I block VPN users?
What is the difference between a VPN, a proxy and Tor?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time