Skip to main content

Technical

VPN and Proxy Detection: Signals, Limits, and Policy

We run device and IP analysis during a Didit verification session and flag VPN, proxy and Tor exits for $0.03 per check inside the $0.33 full ID check. The flags are risk signals, not proof of fraud.

VPN and Proxy Detection: Signals, Limits, and Policy

Contents

In this guide

Jump to the part you need.

If you verify users at signup or before a sensitive action, we can flag VPN, proxy and Tor traffic during the hosted verification session. Device and IP Analysis costs $0.03 per completed check at list price and is included in the $0.33 full ID check. Use the flags to guide review or additional verification because a network flag alone cannot establish fraud.

Prices checked against the live Didit price feed on November 26, 2026.

VPN and proxy detection with Didit at a glance
QuestionAnswer
What runsDevice and IP analysis: geolocation, ASN, VPN, proxy and Tor flags, data-centre detection, device fingerprint, duplicate-device matching
Where it runsInside a verification session. The SDK attempts collection in-band. There is no standalone /v3/ip-analysis/ endpoint
Price$0.03 per check for device and IP analysis, $0.33 for a full ID check that includes it
Warning risk codesWarning risk codes include VPN_DETECTED, PROXY_DETECTED, TOR_DETECTED, DATACENTER_IP, LOCATION_MISMATCH_WITH_DOCUMENT, IMPOSSIBLE_TRAVEL and DUPLICATED_DEVICE
Documented routePOST /v3/session/ to create, then GET /v3/session/{session_id}/decision/ to read ip_analyses[]
Main limitProbability, not proof. Residential and mobile proxies are hard to separate, and the exit IP alone cannot reveal the original source IP

Start free in the sandbox at business.didit.me, no sales call. For developers, connect Didit to an AI assistant through the MCP server.

What detection can and cannot tell you

An observed public IP identifies the connection's visible network endpoint and cannot reliably identify a person, household or physical address by itself. Addresses are reassigned, mobile devices move, employers route traffic through a central gateway, cloud providers lease ranges to many customers, and residential relay networks exit through ordinary consumer connections. Detection therefore estimates narrower facts: who announces the network, how the address has been observed before, whether the device agrees with the network story, and whether the behaviour fits the account.

That is why the sensible output is a set of flags with timestamps and reason codes, not a verdict. Two things follow. A VPN hit is not fraud. The exit IP alone cannot reveal the connection's original source IP.

The intermediaries you are separating

VPN and proxy are overlapping, not identical, terms. A VPN tunnels traffic from a device or network to a gateway. A proxy relays requests for an application or protocol. Keep the labels separate so a reviewer can see which signal triggered the action.

Intermediary types and what the service actually sees
Network pathWhat the service seesCommon legitimate useDetection challenge
Consumer VPNVPN gateway IPPrivacy, travel, untrusted Wi-FiProviders rotate exit infrastructure quickly
Corporate VPN or secure web gatewayOrganization or gateway IPWorkforce access and inspectionCan look like managed hosting
Data-centre proxyHosting-provider IPTesting, integration, automationEasy to classify, intent still varies
Residential proxyConsumer ISP IPRemote access, privacyExit resembles a household connection
Mobile proxyMobile-carrier IPPrivacy or remote access through a mobile connectionExit shares carrier address space
Carrier NATMobile-carrier public IP shared by many subscribersOrdinary mobile accessMany genuine users share the address and carrier NAT does not itself establish proxy use
Tor exitPublished exit relay IPAnonymity and censorship resistanceExit is detectable, intent is not
Reverse proxy or CDNEdge-service IP at your originDelivery and application securityTrust boundary for forwarded headers

Residential proxy detection

Residential proxies exit through addresses registered to consumer internet providers, so network ownership alone will not separate them from a household. Reputation lists lag, and exit addresses are allocated dynamically. The signals that do the work are behavioural: address changes that are unusual for the network and account, device fingerprints that do not persist, account linkage through duplicated device or IP, and what happened to those accounts afterwards. Treat an IP-level label here as one input in the policy decision, not a verdict.

Anonymizing proxy detection

An anonymizing proxy is any relay whose purpose is to hide the client. That covers open HTTP proxies, anonymizing web gateways, Tor and commercial relay networks. Detection draws on historical reputation, published exit lists and direct observation. The estimate stays probabilistic because relays can accept ordinary encrypted web traffic.

How to run VPN and proxy detection in Didit

Outcome: The SDK attempts device and IP collection during the hosted verification flow. When analysis returns data, read it in ip_analyses[]. Each returned ip_analyses[] record can include geolocation, ASN, VPN, proxy and Tor flags, a device fingerprint ID, duplicate-device matches and a warnings[] array you can wire to policy. Data-centre detection can surface as a DATACENTER_IP warning.

Method: use the session flow. We run device and IP analysis during every session and the basic signal set does not need a workflow feature toggle. Add strict-mode rules in the Business Console only after you have measured the flags on your own traffic. This sits inside our User Verification (KYC) product. The full description is in the Device Fingerprinting and IP Risk guide.

Prerequisites

  • A Didit account and a published workflow. Sandbox testing is free on every plan.
  • An API key. Authenticate both calls with an API key in the x-api-key header. The decision call requires the read:sessions privilege.
  • The hosted flow opened in the user's browser or in a mobile SDK. The SDK attempts fingerprint and IP collection in-band, and IP analysis is session-only.
  • A written decision for VPN_DETECTED, PROXY_DETECTED and TOR_DETECTED before you switch strict-mode rules on, so the first week of traffic does not become a support queue.

Steps

  1. Pick the workflow. GET /v3/workflows/ lists workflow versions for the application, newest first. Follow next if needed. Pass the stable workflow_id when creating the session. We use the latest published version.
  2. Create the session with vendor_data set to your stable user or account id. That binding is what makes duplicate-device matching against other accounts possible later.
    curl -X POST 'https://verification.didit.me/v3/session/' \
    -H 'x-api-key: YOUR_API_KEY' \
    -H 'Content-Type: application/json' \
    -d '{
    "workflow_id": "YOUR_WORKFLOW_ID",
    "vendor_data": "user-123",
    "callback": "https://yourapp.com/post-kyc"
    }'
  3. Send the user to session.url. The SDK attempts to collect the device fingerprint and the client IP during the hosted flow. No separate front-end call is required for the basic signal set.
  4. Read the decision when the session finishes with GET /v3/session/{session_id}/decision/. A webhook can notify you with the session.status.updated event that the session changed.
    curl 'https://verification.didit.me/v3/session/YOUR_SESSION_ID/decision/' \
    -H 'x-api-key: YOUR_API_KEY'
  5. Read ip_analyses[] and its warnings[]. Warnings from this feature arrive under the LOCATION bucket, not an IP bucket, which catches people out on the first integration. If the field is absent, null or empty, no available result was returned.
  6. Verify that the integration reads each returned warning's risk and feature and follows its fallback when the analysis is absent, null or empty.
  7. In the Business Console, optionally configure strict-mode rules such as review on duplicate device.
Full walkthrough of the hosted verification flow a user sees
The hosted flow collects the device fingerprint and client IP.

Expected output

When analysis returns data, ip_analyses[] carries one entry per device and IP collection point in the workflow. Each entry can have the resolved geo, ASN, VPN, proxy and Tor flags, device fingerprint id, duplicate-device matches, and a warnings[] array. Feature status uses the standard enumeration: Not Started, In Progress, Approved, In Review, Declined, Abandoned, Kyc Expired. If ip_analyses[] is absent, null or empty, no available result was returned.

Read three things separately. Session-level status tells you where the session stands. Feature-level ip_analyses[].status tells you where that collection point stands. Warning codes live in warnings[].risk, and the emitting feature is in warnings[].feature, which is LOCATION for this signal set. A reviewer can explain a decision with decision_trace, the session status, ip_analyses[].status, warnings[].risk and warnings[].feature. Do not infer a warning's log_type from its risk code, and do not infer the session outcome from a single warning.

The risk catalogue is documented in the IP analysis warnings reference, and the field-level schema is in the data models.

Session overview in the Didit Business Console with its risk warnings listed
A finished session in the Business Console, with the warnings that drive the decision.

Failure cases and recovery

  • ip_analyses[] is empty, null or absent. No available result was returned. One possible cause is that the user blocked the fingerprinting script with a privacy extension or content blocker. Decide in advance whether that fails closed or falls back to softer signals, and record which path was taken.
  • VPN_DETECTED, PROXY_DETECTED or TOR_DETECTED. Route to the action your policy wrote before launch: allow, observe, step up, review, limit or decline.
  • DUPLICATED_DEVICE means the device was previously enrolled under a different vendor_data. Review the related sessions and corroborate suspected misuse before merging accounts or blocking access. A shared device can belong to legitimate users.
  • LOCATION_MISMATCH_WITH_DOCUMENT. The IP country does not match the document issuing country. Review the mismatch in context. A person may be traveling or living outside the country that issued their document.
  • On the decision call, 401 means the API key is invalid, 403 means the key lacks read:sessions, and 404 means the session does not exist or belongs to another application.
  • 429 on the workflow list means back off using Retry-After.

Inputs and outputs

What you send on create and what you read back
FieldDirectionWhat it is for
workflow_idCreatePass the stable workflow_id to select a workflow explicitly. The List Workflows documentation says the application default applies if you omit it
vendor_dataCreate, recommendedBinds the session to your user or account id and enables duplicate detection across sessions
callbackCreate, optionalWhere the hosted flow returns the user with verificationSessionId and status
ip_analyses[]ReadWhen analysis returns data: geo, ASN, VPN, proxy and Tor flags, fingerprint id, duplicate matches, warnings. Absent, null or empty means no available result
warnings[].riskReadStable reason code such as TOR_DETECTED or IMPOSSIBLE_TRAVEL
warnings[].featureReadLOCATION for everything this feature emits
statusReadRead the session and feature statuses separately. Use decision_trace to see how the session status was reached

Policy: what to do with a hit

A detected intermediary should map to a documented action, weighted by account age, device continuity, verified identity and the value of the action. Blocking everything is the expensive mistake, because privacy tools, corporate gateways, schools, hotels, mobile carriers and security products all produce hits. The actions are allow, observe, step up, limit, review or decline. For location questions, use the separate Location Verification step, which checks device position or IP location during verification at $0.05 per check.

Decision matrix for common network and device signals
SignalCorroborating evidenceSuggested action
VPN_DETECTED on a known deviceEstablished account, stable fingerprint, low-risk actionAllow or observe
TOR_DETECTED on a first payoutNew account, new beneficiary, unusual amountStep up or review; decline only under written policy
LOCATION_MISMATCH_WITH_DOCUMENTTravel or expatriate history, consistent deviceReview with document and location context
Missing collection: ip_analyses[] empty, null or absentPossible script blocking by a privacy extension or content blockerFollow written fallback, fail closed or request another check
DUPLICATED_DEVICEShared household device, prior legitimate sessionsReview related sessions before merging or blocking

Keep the privacy preference separate from the fraud question. A person on a VPN in a country you serve is not the same risk as a new account on a Tor exit attempting a payout to a freshly added beneficiary. Treat both as suggested fraud-policy choices and set thresholds for your own risk appetite.

If you have labeled outcomes, evaluate the policy against confirmed fraud, legitimate-user challenge rates and review volume. Break outcomes down by signal so the team can see which rules catch confirmed fraud and which mostly create review work. Keep a rule only if its review load is justified by the losses it prevents.

Fraud rules lesson showing thresholds and rule actions
Policy lives in rules with thresholds. The detection flag is the input, not the decision.

You pay per completed check from prepaid credit, and only when a check finishes with a result. Device and IP analysis is $0.03 per check. A full ID check is $0.33 and is always three parts in one check: document verification at $0.15, biometrics at $0.15 (passive liveness $0.10 plus face match 1:1 $0.05), and device and IP analysis at $0.03.

Read the risk codes alongside the session decision. Use your policy to determine which combinations warrant manual review. In Review holds the ambiguous cases. Write down which codes may never auto-decline: VPN_DETECTED alone should not. Route a payout for review when device reuse is corroborated by other suspicious activity.

Worked cost example

Take 20,000 monthly onboarding checks that each run a full ID check with device and IP analysis, at list prices from the Didit pricing page.

At list price, 20,000 × $0.33 = $6,600. The included device and IP component accounts for 20,000 × $0.03 = $600 of that total. The remaining $6,000 is 20,000 × $0.15 = $3,000 for document verification plus 20,000 × $0.10 = $2,000 for passive liveness plus 20,000 × $0.05 = $1,000 for face match.

On Growth, the full ID check costs $0.3168. Gross usage: 20,000 × $0.3168 = $6,336.00. Plan credit: $115.00. Usage beyond credit: $6,221.00. Monthly subscription fee: $99.00. Total before taxes: $6,320.00, assuming the full plan credit is available.

On Scale, the full ID check costs $0.297. Gross usage: 20,000 × $0.297 = $5,940.00. Plan credit: $350.00. Usage beyond credit: $5,590.00. Monthly subscription fee: $299.00. Total before taxes: $5,889.00, assuming the full plan credit is available.

Sources

Open the Didit sandbox, create a workflow, run a test session and inspect ip_analyses[] in the decision. No sales call is needed.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

What is VPN and proxy detection?

VPN and proxy detection estimates whether a connection reaches your service through an intermediary rather than directly from the user's apparent network. It combines IP intelligence, network ownership, device fingerprint and behavioural signals into flags with reason codes. In a Didit session, we run device and IP analysis at $0.03 per check.

Can VPN detection reveal the user's real IP address?

No. The exit IP alone cannot reveal the connection's original source IP. Other signals, such as a device locale that disagrees with the network country, can show inconsistency. Treat a product that claims to reveal the original IP as a red flag.

Is using a VPN or proxy a sign of fraud?

No. Consumer VPNs, corporate gateways, schools, hotels, mobile carriers and privacy-conscious users all produce intermediary flags. The flag describes a network path, not intent. Weight it with account age, device history, verified identity and the value of the action before you change anything for the user.

How does Didit detect VPNs, proxies and Tor?

We run device and IP analysis during the verification session . Each returned ip_analyses[] record can include geolocation, ASN, VPN, proxy and Tor flags, a device fingerprint ID and duplicate-device matches. The observations arrive in ip_analyses[] on the decision payload, with warnings under the LOCATION feature. The LOCATION warning risk codes include VPN_DETECTED, PROXY_DETECTED, TOR_DETECTED and DATACENTER_IP.

How much does VPN and proxy detection cost in Didit?

Device and IP analysis is $0.03 per check at list price, $0.0288 on Growth and $0.027 on Scale. It is included in the $0.33 full ID check, which breaks down as ID document $0.15, passive liveness $0.10, face match $0.05 and device and IP $0.03. We charge per completed check from prepaid credit, and sandbox testing is free on every plan.

What is residential proxy detection and why is it hard?

Residential proxy detection is the attempt to identify relay traffic that exits through consumer ISP addresses rather than data centres. It is hard because the address belongs to a normal internet provider, exits rotate, and reputation lists lag behind. Address changes that are unusual for the network and account, device inconsistency, duplicated device or IP across accounts, and post-event outcomes carry more weight than the address label.

What is anonymizing proxy detection?

Anonymizing proxy detection targets relays whose purpose is to hide the client: open HTTP proxies, anonymizing web gateways, Tor and commercial relay networks. Detection draws on historical reputation, published exit lists and direct observation. The estimate stays probabilistic because relays can accept ordinary encrypted web traffic.

How do we handle proxy customer verification without blocking real customers?

Map each risk code to an action instead of a block: allow, observe, step up, limit, review or decline. For example, VPN_DETECTED on a three-year-old account with a stable device might pass, while the same code on a new account at a payout should step up. If labeled outcomes are available, evaluate historical traffic through the rules and count legitimate users you would have challenged before you enable anything strict.

What happens if device and IP data comes back empty?

An empty, null or absent ip_analyses[] means no available result was returned. One possible cause is that the user blocked the fingerprinting script with a privacy extension or content blocker. Decide in advance whether that fails closed, asks for another verification step, or falls back to soft signals, and record which path was taken.

How can carrier NAT and IPv6 affect IP-based rules?

Carrier NAT can put many subscribers behind one public IP address. Temporary IPv6 addresses can change while the same device remains connected, and prefixes can also be shared across devices. So an IP change alone does not establish device reuse. Use carrier-aware baselines, treat IPv6 prefixes as network context, and corroborate device reuse separately.

Can I buy the network signal without the rest of the ID check?

Device and IP Analysis runs inside a verification session. There is no standalone /v3/ip-analysis/ endpoint. The published list price is $0.03 per completed check, and the $0.33 full ID check includes it. The price feed does not say whether you can buy a session that runs only Device and IP Analysis.

What should we document before collecting device and IP signals?

Document why you collect the signals, who can access the results, and how long you retain them. Confirm the notice, lawful basis and any consent requirements that apply to your deployment with your privacy team.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.