Proxy detection is a narrower problem than VPN detection and a harder one. A commercial VPN runs a known set of exit nodes that can be catalogued. "Proxy" covers everything from a misconfigured open relay on a university server to a residential network that routes traffic through someone's smart TV — and the gap between those two in difficulty is enormous.

This page is about how to tell the categories apart, what you can expect to catch in each, and how to pick between providers using your own traffic rather than their accuracy claims. We build one of these, so our position is stated at the end rather than dressed up as a ranking.

The categories, from easiest to hardest

Everything useful about proxy detection follows from this hierarchy. Treating "proxy" as one bucket is why so many integrations produce either no effect or a flood of support tickets.

CategoryHow it is identifiedExpect to catch
Datacentre and hostingPublic ownership records. The range belongs to a cloud provider.Nearly all of it
Tor exit nodesPublished list, refreshed continuously.Nearly all of it
Open and web proxiesScanning and observation. These are often misconfigured servers rather than services.Most of it
Commercial VPN exitsCatalogued per provider; churns weekly.Most of it, if the data is fresh
SOCKS5 and rotating gatewaysBehavioural observation.Variable
Mobile proxiesCarrier ranges genuinely shared by real subscribers.Poorly, and flagging them aggressively is worse than missing them
Residential proxiesObserved traffic behaviour only. No ownership signal exists.A meaningful share, never all

The practical consequence: when a provider quotes you a single accuracy figure, it is an average across categories that behave nothing alike, weighted by whatever traffic mix their test set happened to have. It tells you very little about your traffic.

Why the hosting flag does most of the work

If you only act on one signal, act on this one. An address belonging to a hosting or cloud provider has no innocent explanation at a signup, a checkout or a payout. Real customers do not shop from inside a datacentre. Scripts, scrapers, credential-stuffing runs and card-testing attempts do, because compute is cheap, disposable and available by the minute.

It is also the cheapest signal to be confident about, because it rests on registry data rather than inference. The one caution: legitimate automation also lives in datacentres. Search crawlers, uptime monitors, link preview bots and your own integrations all come from hosting ranges. So the hosting rule belongs on actions — registration, payment, payout — and not on page views, where it will block Googlebot and your own monitoring.

Where mobile ruins a naive rule

Worth its own section because it is the most common way these integrations go wrong.

Carrier-grade NAT means a mobile network places large numbers of subscribers behind a small number of public addresses. Several hundred of your users may genuinely share one address. Three consequences:

  • Rate limiting by address punishes mobile users first and hardest. On most consumer products that is the majority of your audience.
  • "Multiple accounts from this IP" carries almost no information on a mobile range, and strong information on a hosting range. Same count, opposite meaning.
  • Mobile proxies exploit exactly this: traffic routed through real handsets on real carrier ranges, which is why they are expensive to buy and hard to distinguish from ordinary mobile traffic.

So the connection type has to be part of every rule you write. A response that gives you anonymity flags without telling you whether the address is mobile, consumer broadband, business or hosting is not enough to build on.

Residential proxies, honestly

These route traffic through real consumer connections — often supplied by people who installed a free app that resells a slice of their bandwidth, sometimes by compromised routers. The exit point is a household on consumer broadband, which is to say it looks exactly like a genuine customer, because there is one on the other end of it.

There is no ownership record to check. Detection relies on behaviour observed across many sites over time: a home connection that has contacted a thousand unrelated services is not behaving like a home connection. That works for established networks and finds nothing for a new or small one.

Which gives the rule that should govern how you use any of this data:

A flagged address is strong evidence. A clean address is weak evidence. Designing as if they were symmetrical is the most common and most expensive mistake.

If your system treats "not flagged" as "verified", an operator defeats it by spending slightly more on better proxies. If it treats "not flagged" as "nothing known, keep evaluating", it degrades gracefully. More on this in our note on residential proxy detection.

Choosing a provider with your own data

Published accuracy numbers are unfalsifiable, because the test set is never published. Your logs are a better benchmark and the test is quick:

  1. Export a known-bad list. The addresses behind accounts you banned, orders you refunded, chargebacks you lost. A few hundred is plenty.
  2. Export a known-good list. Addresses from customers who have been paying you for months.
  3. Run both through each candidate's free tier. A bulk endpoint turns this into a paste rather than a script.
  4. Measure both error types. Detection rate on the bad list, and false-positive rate on the good list. The second is the number that decides whether you keep the integration, and the one no vendor volunteers.
  5. Look for a usable threshold. A score where bad-list coverage is still high and good-list coverage is near zero. If there is no such point, that provider does not fit your traffic.

Then check the commercial detail that bites later: whether repeat lookups of the same address are deduplicated or billed again, whether exceeding the plan hard-stops you or bills overage, and what a spike month costs.

Integration that cannot hurt you

Three rules, all learned the hard way by somebody:

Read the real client address. Behind a CDN or load balancer the socket address is your own infrastructure. Use the forwarded header your platform sets, and trust it only when the request came from your own edge — otherwise anyone can send you whichever address they like.

Fail open. Short timeout, and treat no answer as "proceed normally". A detection service having a bad minute must never be why a customer cannot sign up. This single decision is the difference between a useful integration and an outage with your name on it.

Cache, but not forever. An hour or a day per address. Not a month: proxy networks change, and a household that left one should stop being flagged.

Where 24scan fits

24scan returns the full category breakdown rather than a single number — proxy, VPN, Tor, hosting, scraper, compromised and anonymous flags, with a risk score and confidence — plus the autonomous system, provider, connection type and geolocation, which is what you need to write a rule that treats mobile traffic sensibly. One GET request:

curl "https://api.24scan.com/v1/api?api_key=YOUR_API_KEY&ip=8.8.8.8"

Billing is per check rather than per seat, there is a bulk endpoint, the pricing plans are published rather than gated behind a sales call, and there is a data processing agreement if you process EU data.

What we do not do: device fingerprinting, identity verification or behavioural modelling. Against a determined operator on residential proxies with a clean browser profile, an address API is one layer and not the answer. Better said now than after you integrate.

Try it on your own addresses first — the proxy checker for one, the bulk checker for a list. If the separation between your banned accounts and your good customers is there, the integration is an afternoon. If it is not, you have learned for free that your losses are coming from somewhere an address API cannot see.

Common questions

What is the difference between proxy detection and VPN detection?

VPN detection is a subset. A VPN is one kind of proxy, run commercially with identifiable exit nodes. Proxy detection also covers datacentre relays, Tor, open proxies, SOCKS gateways, and residential and mobile networks — which span the full range from trivially detectable to structurally undetectable.

Can I detect proxies without an API?

Partly. You can download the Tor exit list, and you can compare the claimed location against the browser timezone, language headers and the payment method's country. Those are free and genuinely useful. What you cannot do alone is identify hosting ranges reliably at scale or see behaviour across other sites, which is the part the data buys you.

Does a high risk score mean I should block?

It means the action should cost more than it otherwise would. Verification at signup, a hold at reward time, review at payout. Reserve outright refusal for irreversible steps, where being wrong is recoverable by a support conversation rather than by losing a customer silently.

How often should I re-check an address?

At each decision point that matters — signup, reward, payment, payout — with a cache of an hour or a day in between. An address that was clean at signup and flagged at withdrawal time is itself a signal worth acting on.