When Should You Use Real-Time Proxy & VPN Detection vs IP Reputation?

Abdullah Afzal
By Abdullah Afzal Database Engineer
Posted on November 29, 2026 | 13 min read
When Should You Use Real-Time Proxy & VPN Detection vs IP Reputation?
Back to All Guides

Real-Time Proxy & VPN Detection vs IP reputation isn't an either-or choice, because the two checks answer different questions about a visitor. IPGeolocation.io's Real-Time Proxy & VPN Detection runs a short test from a script in the visitor's browser and answers whether this session is anonymized right now. An IP reputation lookup answers what is already known about the address the request came from. Run the lookup on every request you check for fraud, and add the live test where a browser is present and a wrong call is costly: signup, login, checkout, and payouts.

The two answers can differ for the same visitor: a household address with a clean record can carry a residential proxy session today, and an address that proxy networks list can belong to a family browsing from home. Which one to trust depends on the step, and on whether a browser is there at all.


TL;DR

Real-Time Proxy & VPN Detection and IP reputation do different jobs. An IP reputation lookup describes an address's history and works anywhere you have an IP; IPGeolocation.io's live test describes one session and needs the visitor's browser. Use the lookup as the floor and the live test as a second opinion on high-value steps.

  • Only the lookup works where no browser runs: public APIs, mobile apps with no browser involved, server-to-server calls, logs, and bulk jobs.
  • Finished live checks took a median of 3.6 seconds on our production servers in October 2026, so start the check when the page loads and read it when the user submits.
  • When an address flagged as a residential proxy tests clean live, don't block on the flag: the household's own traffic usually explains it.
  • A missing live verdict means "unknown": fall back to the lookup and your other signals.

Two questions: what the address has done and what the session is doing

An IP reputation lookup tells you what has already been recorded about an address. Strictly, IP reputation is an address's record of spam, scans, and attacks. The lookups that teams run against VPNs and proxies return that record together with what the address is: whether it has been seen as a VPN, proxy, Tor, or relay exit, which provider ran it, and when it was last seen.

A real-time test looks at the connection instead. A script on your page starts a short series of network tests against the visitor's live connection and returns a verdict about this session: anonymized or not, how sure it is, and whether it looks more like a VPN or a proxy. What VPN detection is and how it works covers the techniques behind both checks.

IP Reputation LookupReal-Time Test
RunsOn your server, gateway, or data pipelineIn the visitor's browser; your server reads the result
DescribesThe address's historyThis session, now
ReadyAt onceAfter a few seconds
Can missExits with no history yet; who is behind a shared addressVisitors whose browser blocks the script or leaves early
NeedsAn IP addressA browser running your page's JavaScript
Works onAny IP, including logs and bulk listsLive web sessions only

Where an IP reputation lookup is enough

A lookup is enough wherever there's no browser to test, and wherever the address's history answers the question by itself. Without a browser, the live test can't run on:

  • public API endpoints and partner integrations;
  • mobile apps with no browser involved;
  • server-to-server calls and webhooks;
  • log reviews, investigations, and bulk scoring.

History also settles the easy cases. Datacenter VPN exits, Tor exits, and commercial proxy ranges get enumerated, so a named provider with a recent last-seen date is strong evidence without a second check. Decisions made at the edge, before any page exists, such as rate limits and firewall rules, can only use the address. And on low-stakes pages, a billed check per session adds little to what the lookup already told you. IPGeolocation.io's IP Security API returns those flags with provider names and last-seen dates, and checks up to 50,000 addresses per bulk request.


What IP reputation can't see

A lookup can only tell you what has already been recorded about an address, which leaves three gaps: a new address with no history yet, a household address where the record can't separate the family from someone using it as a proxy, and a VPN user's real country, since the record only knows where the VPN server is.


1. Addresses with no record yet

Many proxy exits come and go before any list records them. A study presented at ACM CCS 2022 collected 9,077,278 residential proxy IPs and found that 96.70% of them were missing from publicly available residential proxy datasets, and 91% of the ones located in China were active for less than 10 days (An Extensive Study of Residential Proxies in China). Attack traffic moves the same way: of the 22,222 distinct addresses that attacked our honeypots between March and October 2026, about 60% showed up on a single day only.

Our live test runs into that gap. In October 2026, on the sites that run the test, almost all of them our own, 10.8% of the sessions it flagged as anonymized with confidence above 60 came from addresses our IP data didn't flag as anonymous at the time, with corporate gateway sessions left out of both counts. We left out our own test traffic and matched each session to the IP Security build in production when it happened. Our sites draw a lot of anonymized traffic, so read these as figures from the connections we measured, not a forecast for yours. No list holds an exit nobody has seen yet, ours included, and the live test doesn't need an exit to have been seen before.


2. The person behind a household address

A residential proxy exits through someone's home connection, so one address carries both the household's own browsing and traffic that strangers route through it. Cloudflare measured the mix on active residential proxy IPs: over a 24-hour period, 4 out of 5 requests from them were the households' own ordinary traffic, sent directly from their devices rather than routed through the proxy network (Cloudflare's write-up on detecting residential proxies). Attackers use the same cover from the other side. The FBI warns that criminals holding stolen bank credentials can rent a residential proxy address in the victim's own city, so the bank is less likely to flag the login. A record of the address can't tell those sessions apart; a test of the connection looks at the session itself.


3. A VPN user's real country

A lookup on a VPN exit returns the exit's location. IPGeolocation.io's live test also returns visitor_actual_location: the visitor's actual country as the live tests estimate it, with its own confidence score. When is_anonymous is true and that country differs from the address's, the address is showing you the VPN server, not the visitor. When the test finds nothing hidden, or can't find the real address, the field falls back to the public address, so a match proves less than a mismatch. Our live-detection team treats a mismatch at confidence 50 to 60, where most mismatches fall, as a reason to look closer rather than proof, and acts on one automatically only at 80 or above.


What a live test needs from you

A live test needs a browser that runs your page's JavaScript, a few seconds, and a read on your server.

Some visitors block scripts or turn JavaScript off. Our live-detection team sees these mostly as ordinary people using content blockers and privacy browsers, and OWASP notes that blocking visitors who have JavaScript disabled reduces a site's accessibility, especially for people who use screen readers. So the live test can't be a gate on its own: your flow has to work when no verdict arrives.

The test also takes time. On our production servers in October 2026, a finished check took a median of 3.6 seconds from start to verdict; 33% finished within 2 seconds, 72% within 5, and 8% took more than 10. A user who submits a form two seconds after the check starts will usually beat it, which is why the check should start when the page loads, not when the user clicks.

The verdict that counts is the one your server fetches, not the copy in the browser, which the visitor controls; OWASP's guidance is that client-side defenses can be spoofed or bypassed and need other layers behind them. Your server can fetch each session for 30 minutes, so a step that can wait, such as a payout, can hold for the verdict, and a step that can't wait treats a late verdict as missing.


Which check to run at each step

Run the lookup at every step you check for fraud, and add the live test where a browser is present and a wrong decision costs money or an account. These steps get both, with the live test started when the page loads:

  • Signup: look up the address when the form is posted. Fake-account farms lean on residential proxies because their addresses look clean.
  • Login: if the verdict isn't ready when the user submits, our team's advice is to let the login through on the lookup alone, then read the verdict before the next sensitive step: a password change, a payout, or a new device.
  • Password resets and account changes: read the verdict before the change is saved: a new email address, a new phone number for MFA, a new device.
  • Checkout and payouts: let the user continue, but hold the payout, or a new customer's first order, until your server has read the verdict.
  • Promo, referral, and trial claims: one person collecting rewards behind rotating proxies is hard to catch from addresses alone.
  • Geo-restricted content and sanctions screening: when is_anonymous is true and the actual country differs from the address's, ask the user to turn off the VPN or don't serve the content. For sanctions, send a mismatch that points to a sanctioned country, at confidence 50 or above, to review, and never clear an anonymized visitor on the address's country alone; the live result is one input to screening, not the legal decision.

Everywhere else, use the lookup alone. That covers the no-browser cases above, and ordinary page views if you check those at all. Don't run the live test on every page: each test is billed, and the same visitor gets the same answer minutes later. Customers who use it to protect one step, such as login, run it once per visitor, on that page.


When the two answers disagree

When the lookup and the live test disagree, the live test usually describes the session better, and the lookup tells you what kind of network you're dealing with. Read them together instead of letting either one decide.

The live test's confidence_score is how sure it is of its yes-or-no answer, not a risk score: 100 with is_anonymous false means confidently clean, and risk lives in vpn_score, proxy_score, and the lookup's threat_score. Its action bands apply only when is_anonymous is true: allow below 30, allow and monitor from 30 to 50, challenge from 51 to 80, and from 81 up block or hold the session for review, with a hard challenge instead of a block when vpn_score is the high one, since many ordinary people use VPNs. On the lookup side, a flagged address has ip_security.is_anonymous set to true (a VPN, proxy, Tor, or relay flag), and a risky one is flagged or carries a high threat_score.

Matrix: acting when an IP lookup and a live test agree or disagree, with gateways and relays as an exception and a missing verdict as unknown.
  • Both clean: allow.
  • Both anonymized: the strongest case, because the lookup's flag is the second signal a block should have. Act on the live test's bands; setting threat score cutoffs for each action covers the lookup's own bands.
  • Lookup clean, live test anonymized: a fresh exit, or a residential proxy session on a household address. Act on the live test's bands.
  • Lookup flagged, live test clean: on a residential proxy flag, usually a household behind an address that proxy networks also use, so don't block on the flag. A VPN or Tor flag with a recent last-seen date is different, because those exits rarely carry anyone's home browsing; treat the session as you would a risky lookup with no live verdict.
  • Corporate gateway or privacy relay (is_corporate_gateway or is_relay in the lookup): an exception to the bands. Allow them, and step up only for payouts or account changes.
  • No live verdict: unknown. With a clean lookup, allow. With a risky one, add the friction you'd use for a live result from 51 to 80, such as email or SMS verification or a CAPTCHA. A blocked script isn't guilt on its own, though one account that keeps arriving with no verdict on risky actions is worth watching.

The flagged-but-clean case is common. In October 2026, on the sites that run our live test, almost all of them our own, 55.5% of sessions from addresses our data flagged as residential proxies at the time tested clean live. One of our team's home connections shows why. Six residential proxy networks list the address, it was last seen in a proxy pool on October 26, 2026, and it turned up on 5 of the 30 days before the lookup. When the team member browsed from home without a proxy, one call with security data included returned both views:

json

{
  "public_ip": "203.0.113.24",
  "public_ip_country_code": "PK",
  "live_vpn_proxy_detection": {
    "is_anonymous": false,
    "confidence_score": 100,
    "proxy_score": 0,
    "vpn_score": 0
  },
  "visitor_actual_location": {
    "actual_ip": "203.0.113.24",
    "actual_country_code": "PK",
    "confidence_score": 100
  },
  "ip_security": {
    "is_proxy": true,
    "is_residential_proxy": true,
    "proxy_provider_names": ["ProxyShare", "BestProxy", "NaProxy", "AProxy", "LumiProxy", "ProxyCC"],
    "proxy_confidence_score": 99,
    "proxy_last_seen": "2026-10-26",
    "proxy_days_seen_30d": 5,
    "is_anonymous": true
  }
}

The address is replaced with a documentation example, and the response is trimmed to the fields discussed here. Both answers are right: ip_security describes the address, which does carry proxy traffic on some days, and live_vpn_proxy_detection describes the person on it now, whose is_anonymous is the verdict to act on. Blocking on the address's flag would have locked out the household.

Gateways and relays are the other common disagreement, and the live test is right to flag them, because they do reroute traffic. In October 2026, on the sites that run our live test, almost all of them our own, it flagged as anonymized 83% of sessions from corporate gateway addresses, 79% from iCloud Private Relay, and 82% from Cloudflare WARP. Most people behind them are employees routed through their company's security service or customers protecting their privacy, which is why the lookup's labels win here (how iCloud Private Relay and Cloudflare WARP differ).


How to run both in one flow

Running both checks in one flow takes six steps, and most of them happen on your server.

  1. Read the visitor's real IP address from a header your own infrastructure sets, as getting the visitor's real IP address explains. Behind a CDN or load balancer, the address that connects to your app belongs to that service.
  2. Look the address up on your server when the request arrives; that answer exists even if the live test never does. Our team also passes include=security to the live test so both answers arrive together for review.
  3. Start the live test when the page loads. Register your domain as a request origin first, as setting up a request origin shows, so no API key ships to the browser.
  4. Send the session_id with the form.
  5. On your server, fetch the session by session_id. Check that origin is your own domain, that session_ts is recent, and that public_ip matches the address that sent the form, and don't accept one session_id for more than one account. If the addresses differ, treat the verdict as missing: a network with both IPv4 and IPv6 can show a different address to each server.
  6. Combine both answers with your account, device, and velocity signals, act in bands, and log both answers with the outcome so you can tune the cutoffs on your own fraud data.
Swimlane diagram: the IP lookup runs on arrival, the live check runs in the browser, and the server fetches and decides.

The Real-Time Proxy & VPN Detection documentation has the script tag, every response field, and the session request.


Real-Time Proxy & VPN Detection and IP reputation from IPGeolocation.io

IPGeolocation.io's Real-Time Proxy & VPN Detection runs live network tests on the visitor's connection from one script tag and returns an anonymization verdict with separate VPN and proxy scores, a confidence value, and the visitor's actual country behind a VPN. It reaches its verdict from live measurements, comparing the browser with the IP's location instead of checking our VPN and proxy lists. Verdicts with confidence above 60 feed later IP Security builds, so an exit caught on one site can be flagged in the lookups that follow.

The IP Security API is the lookup side, and one of the most detailed security responses a single call returns: 30 fields per address. Besides the anonymity flags, it carries bot, known-attacker, spam, cloud, and corporate gateway signals and a threat score from 0 to 100. The IP Security Database delivers the same detection data as CSV or MMDB files for lookups on your own servers, and one request to the IP Geolocation API can return geolocation, security, ASN, company, abuse contact, time zone, and user agent data together.

Real-Time Proxy & VPN Detection and the IP Security API are part of every paid plan. The pricing page compares plans, the credits documentation lists what each call costs, and the demo on the Real-Time Proxy & VPN Detection page runs the live test on your own connection.

Frequently Asked Questions

No. IPGeolocation.io's Real-Time Proxy & VPN Detection runs only in a browser, because it tests the visitor's own connection from a script on your page. For mobile apps, back-end services, and bulk checks with no browser involved, use an IP reputation lookup such as the IP Security API, which takes any address your server sees.

A few seconds. On IPGeolocation.io's production live-test servers in October 2026, checks that finished took a median of 3.6 seconds from start to verdict, and 8% took more than 10 seconds. Start the check when the page loads and read the result when the user submits.

It estimates it. IPGeolocation.io's live test returns the visitor's actual country behind a VPN or proxy, with its own confidence score, and our live-detection team acts on a country mismatch automatically only at confidence 80 or above. When nothing is hidden, or the real address can't be found, the field falls back to the public address.

Not on its own. A residential proxy exits through a real household connection, so the address's record can't say whether a session is the household or someone renting it, and many exits have no record yet: a 2022 study of residential proxies in China found 96.70% of the 9,077,278 IPs it collected missing from publicly available residential proxy datasets (An Extensive Study of Residential Proxies in China).

No. It's part of every IPGeolocation.io paid plan. Each check costs 3 credits, or 5 with IP security data included, drawn from the plan's credit pool, and paid plans start at $19 a month for 150,000 credits. The live demo on the product page is free, and support can arrange a trial.

Related Guides

Residential vs Business IP Addresses: How to Tell Them Apart
Residential vs Business IP Addresses: How to Tell Them Apart

A website can't see your internet plan, only who an IP address is registered to and which network carries it. Here's how company type, ASN type, and proxy flags tell home, office, and server traffic apart, and where they mislead.

Posted on November 28, 2026
Read More: Residential vs Business IP Addresses: How to Tell Them Apart
Residential Proxy Networks: How Real Devices Get Hijacked
Residential Proxy Networks: How Real Devices Get Hijacked

Residential proxy networks get their IP addresses from real phones, computers, and TV boxes. Here are the five ways devices are recruited, what the owner risks, and how to check your own.

Posted on November 23, 2026
Read More: Residential Proxy Networks: How Real Devices Get Hijacked
What Is a /24 Subnet Mask? 255.255.255.0 Explained
What Is a /24 Subnet Mask? 255.255.255.0 Explained

A /24 subnet mask is 255.255.255.0: 24 network bits, 256 addresses, and 254 usable on a typical LAN. See what the mask tells your device, how to find yours, and why the /24 matters on the internet too.

Posted on November 22, 2026
Read More: What Is a /24 Subnet Mask? 255.255.255.0 Explained
IP Intelligence for Payment Fraud Prevention
IP Intelligence for Payment Fraud Prevention

What an IP address can and can't tell you at checkout, during a card-testing attack, in a Visa or Mastercard dispute, and at a promo redemption, with four illustrative IPGeolocation.io lookups and the card-network rules that name the IP address.

Posted on November 21, 2026
Read More: IP Intelligence for Payment Fraud Prevention
CIDR Notation Explained: Ranges, Blocks, and Prefixes
CIDR Notation Explained: Ranges, Blocks, and Prefixes

Read any CIDR block's size and range, check whether an IP falls inside it, and see why one address belongs to several blocks at once, with worked IPv4 and IPv6 examples.

Posted on November 20, 2026
Read More: CIDR Notation Explained: Ranges, Blocks, and Prefixes
How Website Visitor Identification Works With IP-to-Company Data
How Website Visitor Identification Works With IP-to-Company Data

Website visitor identification can name a visitor's company only when the visit comes from that company's own network. Here's how one IP lookup tells those visits apart from ISP, cloud, VPN, and gateway traffic, and how to build it on your server.

Posted on November 19, 2026
Read More: How Website Visitor Identification Works With IP-to-Company Data

Subscribe to Our Newsletter

Get the latest in geolocation tech, straight to your inbox.