VPN Fingerprinting and Proxy Detection: A Practical How-To
Didit detects VPN, proxy and Tor connections during verification. Device and IP Analysis costs $0.03 per completed check. Use connection warnings with device history to decide when to review.

Contents
In this guide
Jump to the part you need.
VPN fingerprinting is for teams that must know whether a signup, login or payout arrives through a VPN, proxy, Tor or a data center IP before they approve it. In Didit, Device and IP Analysis runs inside every verification session at $0.03 per completed check, or as part of the $0.33 full ID check. The caveat matters: a detection is a risk signal, not proof of fraud.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Item | Answer |
|---|---|
| What it is | IP intelligence and device fingerprinting that flag VPN, proxy, Tor, data center and location mismatch signals inside a verification session |
| Where it runs | Automatically in the session. Device and IP Analysis is session-only; there is no standalone /v3/ip-analysis/ endpoint |
| Price | $0.03 per completed check on its own line, included in the $0.33 full ID check |
| Output | ip_analyses[] with resolved geo, ASN, VPN, proxy and Tor flags, device fingerprint id, duplicate-device matches and a warnings[] array |
| Main limit | A flag is a risk signal. Your policy, not the flag, decides decline, review or step-up |
Start free in the sandbox at https://business.didit.me/ (no sales call). Developers who want an AI assistant to wire the flow can connect Didit through MCP.
- Does it run in production? Yes. Device and IP Analysis runs automatically inside verification sessions, on every session, with no separate endpoint to call.
- What does it cost? $0.03 per completed check at list price, and it is included in the $0.33 full ID check.
- Will it flag honest customers? Sometimes. It supplies evidence for a policy you configure: a known device on a corporate VPN can pass, while a VPN flag plus a device seen on another account can go to review.
How device and IP analysis works in practice
IP intelligence classifies the connection and resolves its network and location. Device fingerprinting adds evidence about whether the same device has appeared under another account.
- Connection classification. We enrich the observed connection with IP geolocation by country, region, city and coordinates, plus VPN, proxy, Tor, data center and private-network detection. It also runs expected-IP checks when you provide an allowed IP for the session, and the IP blocklist checks you configure in your application.
- Device fingerprint. The verification client sends a privacy-safe v2 fingerprint payload: a persistent device ID for exact same-device detection when storage persists, a composite hash for deterministic duplicate checks, a signal vector used for high-confidence recovery, and platform context such as browser, operating system, app, hardware, canvas, locale and timezone where available.
- Duplicate and recovery matching. We compare the session with previous sessions from a different
vendor_data: a duplicated IP, an exact duplicated device fingerprint, and a recovered device where the v2 fingerprint matches with high confidence. - Document-country comparison. The IP country is compared with the document's issuing country, which is where
LOCATION_MISMATCH_WITH_DOCUMENTcomes from.
Keep the two kinds of evidence apart. Connection classification tells you which network the request used. Device evidence tells you whether that device has been seen before and under which account. A VPN flag says the connection was tunnelled; it does not say who is behind it.
A duplicated IP and a duplicated device do not carry the same weight. Shared networks put unrelated people on one IP: an office, a campus, carrier NAT or a household. Shared devices are narrower but still not proof, because a family phone, a kiosk or a work handset can serve several legitimate users. Treat a duplicated IP as weak context and a duplicated device as a prompt to verify account ownership.
The Device and IP Analysis overview describes the capture, the enrichment and the duplicate matching in one flow, and the per-feature report describes what each field means. Didit attaches 200+ fraud signals to every check; this how-to uses only the connection flags and the device evidence in ip_analyses[]. It is part of User Verification (KYC).
Account takeover and VPN detection
For account takeover, compare a new verification session with the account's known device and location history. Run that session at the relevant decision point, for example before a password reset or a payout change, and the connection flags and device evidence arrive with its decision. A VPN flag alone during a login is weak evidence, because many legitimate customers use one. A VPN flag together with a duplicated device or a document country mismatch is strong enough to route to review.
Device and IP Analysis runs in a verification session. If you want a step-up at sign-in instead, Biometric Authentication is a separate option at $0.10 per authentication, and it confirms the person rather than the network.
4,000+ companies use Didit across these flows today.
Prerequisites
- A Didit account and an API key that holds the
read:sessionsprivilege. - A KYC workflow UUID from the console. Device and IP Analysis runs on every session and needs no feature toggle for the basic signal set.
- Optional: Console access to set strict-mode rules for IP and device, such as decline on VPN, review on duplicate device, or decline on a country mismatch with the document.
- Optional: a callback URL. When the application uses allowed domains, an http or https callback must match one of the configured origins (same scheme, host and port), otherwise creation fails with 400.
- curl on the machine that runs the calls.
Step by step: detect a VPN or proxy inside a Didit session
Decide the policy before you look at data. Write down which risk codes decline, which go to manual review and which only trigger a step-up. Give yourself one conditional example: a known device on a corporate VPN can follow the normal flow, while a VPN flag plus a device seen on another account can go to review.
Create the session.
vendor_datais your stable identifier for the person and is what duplicate detection matches against, so send it on every call.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" }'The response contains
session_idand the hosted URL, shown assession.urlin the IP Analysis overview. The full request contract is on the Create Session API page.Open the hosted URL returned by the create call for the person. The web or mobile SDK collects the device fingerprint and the IP in-band. There is nothing extra to call and no separate analysis request to send.

The hosted flow collects the document, the face and the device and IP signals in one pass, so the analysis needs no extra step. Fetch the session decision when the hosted flow finishes. If you consume verification webhooks, read
ip_analyses[]inside the webhook'sdecisionenvelope.curl 'https://verification.didit.me/v3/session/SESSION_ID/decision/' \ -H 'x-api-key: YOUR_API_KEY'Replace
SESSION_IDwith thesession_idreturned by the create call, andYOUR_API_KEYwith your own key. The field list is on the Retrieve Session API page and the full nested schema is in the data models. The field can be absent or null when the feature did not run, and an empty array can mean the client could not collect the fingerprint. Handle all three before you read warnings.Read every entry in
ip_analyses[], not just the first one. A workflow can collect device and IP data at more than one point, and each entry carries its own status, warnings and device fingerprint id. Warnings appear under theLOCATIONfeature bucket, not under an IP bucket.Act on the risk codes and record the outcome. The final status and how it was reached sit in
decision_trace, so an auditor can see whether the decision was automatic, manual or made by the Investigator agent.

Expected output
Illustrative VPN warning, with unrelated fields omitted.
{
"ip_analyses": [
{
"warnings": [
{
"feature": "LOCATION",
"risk": "VPN_DETECTED"
}
]
}
]
}
The ip_analyses[].status value can read Not Started, In Progress, Approved, In Review, Declined, Abandoned or Kyc Expired. The session status is the wider enum, and whether a warning changes it depends on the rules you configured in the workflow. A single warning does not set the session status by itself.
Mapping risk codes to a decision
| Risk code | What it means | Suggested policy |
|---|---|---|
VPN_DETECTED | IP analysis flagged the connection as a VPN | Step-up or review under your policy |
PROXY_DETECTED | IP analysis flagged the connection as a proxy | Review in most consumer flows |
TOR_DETECTED | The connection exits through the Tor network | Decline or review, depending on the product |
DATACENTER_IP | The address belongs to hosting infrastructure | Review when the person claims a consumer connection |
HIGH_RISK_COUNTRY | The observed IP location triggered the high-risk-country warning | Review under your policy |
LOCATION_MISMATCH_WITH_DOCUMENT | IP country differs from the document's issuing country | Review before onboarding |
DUPLICATED_DEVICE | The same device was enrolled under another vendor_data | Review the shared-device flag and verify account ownership independently |
POSSIBLE_DUPLICATED_DEVICE | High-confidence fingerprint recovery, not an exact match | Review |
IMPOSSIBLE_TRAVEL | Two observed IP locations suggest implausibly fast travel. IP geolocation estimates the connection's location | Review |
DEVICE_FINGERPRINT_BLOCKLISTED | The fingerprint is on your blocklist | Decline |
DEVICE_LINKED_TO_LIVENESS_ATTACK | The device was seen in a liveness attack | Decline |
DEVICE_MODEL_INCONSISTENT | The reported device model contradicts other signals | Review |
The full catalogue with descriptions lives in the warnings reference.
One routing example, applied to three sessions. A consumer signup from a VPN on a device you have never seen: step up with liveness, do not block. The same VPN flag on a device already enrolled under another vendor_data: review, and verify account ownership independently. A session where ip_analyses is absent, null or an empty array: treat the evidence as unavailable and apply your documented fallback, which is usually soft signals such as phone and email plus a manual look at high-value accounts.
Failure cases and recovery
| Symptom | Cause | Recovery |
|---|---|---|
ip_analyses is absent or null | The feature did not run on that session | Treat the evidence as unavailable and apply your fallback policy, do not read it as a block |
ip_analyses[] is empty | The client could not collect the fingerprint, for example a privacy extension or a content blocker | Same fallback policy: decide fail-closed or soft signals, and record the choice |
VPN_DETECTED on a returning customer | Corporate VPN or a privacy habit | Step-up with a liveness check or biometric login instead of declining |
DUPLICATED_DEVICE on a family phone | One device, several real people | Review the shared-device flag and verify account ownership independently. Apply account restrictions only when the evidence and your policy support them. |
LOCATION_MISMATCH_WITH_DOCUMENT | Expat, travel or a masked location | Route to review with the document country shown next to the IP country |
| 401 on the decision call | Invalid API key | Check the key and the x-api-key header |
| 403 on the decision call | The key lacks the privilege | Use a key that holds read:sessions |
| 404 on the decision call | The session does not exist, or it belongs to another application | Check both the session ID and the application's ownership of the session |
400 on callback | The URL is outside the application's allowed domains | Add the origin under allowed_domains or use a custom scheme deep link |
Inputs and outputs
| Direction | Field | Use |
|---|---|---|
| In | workflow_id | The workflow that decides which steps run |
| In | vendor_data | Your user identifier; the key for duplicate detection across sessions |
| In (optional) | callback | Where the hosted flow returns. Didit appends ?verificationSessionId={session_id}&status={status}. When allowed domains are configured, an http or https callback must match a configured origin |
| In | expected_details.id_country | The country you expect on the document; mismatches surface as decision warnings |
| Out | ip_analyses[].status | Feature-level lifecycle status for that collection point |
| Out | resolved geo and ASN | The autonomous system associated with the observed IP, and the estimated IP location. Neither identifies the person's exact physical location |
| Out | connection flags | VPN, proxy, Tor, data center and private-network detection |
| Out | device fingerprint id | Exact same-device matching and duplicate-device review |
| Out | warnings[].risk | The risk codes in the table above, under the LOCATION feature |
| Out | decision_trace | How the final status was reached, and by whom |
What it costs
Device and IP Analysis is a priced line of its own at $0.03 per check. The full ID check has three parts: document verification, biometrics, and Device and IP Analysis. Biometrics includes passive liveness and face match. The four prices below are four line items, and the arithmetic is public.
| Step | Price | Unit | Growth (-4%) | Scale (-10%) |
|---|---|---|---|---|
| Device and IP Analysis | $0.03 | check | $0.0288 | $0.027 |
| ID Verification | $0.15 | check | $0.144 | $0.135 |
| Passive Liveness | $0.10 | check | $0.096 | $0.09 |
| Face Match 1:1 | $0.05 | check | $0.048 | $0.045 |
| Full ID check (KYC) | $0.33 | check | $0.3168 | $0.297 |
The full ID check is $0.15 + $0.10 + $0.05 + $0.03 = $0.33. Live prices are on didit.me/pricing and in the machine-readable price feed.
Worked cost example
5,000 completed full ID checks × $0.33 = $1,650 at list price. Device and IP Analysis accounts for 5,000 × $0.03 = $150 of that total. At Scale unit prices, 5,000 × $0.297 = $1,485 in usage before plan fees and credits.
Usage, the subscription fee and credit are three separate lines. On Scale the plan fee is $299 a month and includes $350 of monthly credit. The credit pays the first $350 of that $1,485 of usage and a top-up balance pays the remaining $1,135. The fee is not usage, and unused monthly credit expires at the end of the plan month.
Paid steps and review boundaries
We bill completed checks from prepaid credit. In an abandoned session, determine whether Device and IP Analysis finished with a result before assuming it was unbilled. Manual review is a policy decision rather than a separate price line here, so every rule that sends a session to a person spends reviewer time. Do not automate a decision you cannot defend. VPN flags on high-value payouts, duplicate devices tied to previous confirmed fraud, and any mismatch that touches a high-risk country belong in human hands, so reviewers can consult the warning, the available device history and the document country during review.

Tor, residential proxies and port scanning
Tor is a proxy network with its own rules. Exit nodes are identifiable and TOR_DETECTED is a stable flag, but entry traffic is encrypted and the exit list changes, so the flag is a reputation call rather than a tracing tool.
Residential proxies are harder than VPNs. They borrow real consumer addresses, so the address can look like ordinary consumer traffic. The evidence that still helps is the device side: a fingerprint that has appeared under several accounts, a device linked to an earlier liveness attack, or a device model that contradicts the rest of the session. This is why device evidence sits in the same product as IP analysis rather than beside it.
Port scanning is a supporting signal at best. Some proxies listen on knowable ports, but managed proxies randomise them and sit behind shared infrastructure. It should never be the only reason for a decline. The documented Didit flow does not need it.
Privacy and the limits of fingerprinting
Where IP and device signals relate to an identifiable person, assess the applicable data-protection and device-access rules. For processing subject to the EU GDPR, document a lawful basis, explain the processing in your privacy notice, and set a justified retention period. A location mismatch can trigger review under your fraud policy. The relevant text is Regulation (EU) 2016/679.
Two honest limits. First, detection is probabilistic: an obfuscated server or a residential pool can pass, and a corporate VPN will be flagged on a perfectly honest customer. Second, a flag without a policy is noise. The value comes from combining the connection flag with device history and the document country, then acting on the combination.
Sandbox acceptance checklist
The sandbox is free on every plan. Create a test session and inspect its decision. Use sample decision payloads to exercise warning and fallback cases you cannot reproduce in the sandbox. Run these three checks before you ship.
- Create a test verification session and inspect
ip_analyses[]in its decision. Confirm the field shape your code expects and check that warnings carryfeatureset toLOCATION. - Handle a decision where the analysis is unavailable: the field is absent, null or an empty array. Assert that your fallback path runs instead of throwing an error.
- Handle a decision with more than one entry in
ip_analyses[]. Assert that your code reads every entry, not only the first.
Sources
- Didit docs: Device Fingerprinting and IP Risk for KYC
- Didit docs: IP analysis warnings catalogue
- Didit docs: IP analysis report
- Didit docs: User Verification (KYC) overview
- Didit docs: Create Session API
- Didit docs: Retrieve Session API
- Didit docs: Data models
- Didit docs: Pricing and billing
- Didit pricing page and cost estimator
- Didit live price feed as JSON
- Didit MCP server setup
- EUR-Lex: Regulation (EU) 2016/679 (GDPR)
Next step: open the free sandbox, create a test verification session and inspect ip_analyses[] in its decision. No sales call is needed.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alejandro Rosas
Co-founder and CTO

Questions
Frequently asked questions
What is VPN fingerprinting?
VPN fingerprinting is the practice of identifying that a connection is tunnelled through a VPN, proxy or Tor by combining the IP address with network classification, the ASN and device evidence. Didit reports it as a set of risk codes inside a verification session, not as a binary yes or no. Rotating VPN addresses defeat static blocklists, which is why device evidence matters as much as the address.
How do I detect a VPN in an API call?
Create a Didit session with POST /v3/session/, open the hosted URL returned by the create call, shown as session.url in the IP Analysis overview, then read GET /v3/session/{session_id}/decision/. The result appears in ip_analyses[] and the VPN flag is the warning with risk VPN_DETECTED under the LOCATION feature. There is no standalone IP analysis endpoint, because the analysis runs inside the session.
Does Didit detect Tor and proxies as well as VPNs?
We report separate VPN, proxy and Tor flags in the verification session decision, inside ip_analyses[]. The same array adds DATACENTER_IP for hosting ranges and HIGH_RISK_COUNTRY when the observed IP location triggers that warning. Because each is a separate risk code, you can treat Tor differently from a consumer VPN. The full list is in the warnings reference in the Didit docs.
How much does VPN and proxy detection cost?
Device and IP Analysis costs $0.03 per completed check as its own price line, and it is included in the $0.33 full ID check alongside ID verification at $0.15, passive liveness at $0.10 and face match at $0.05. Growth takes 4% off those prices and Scale takes 10% off. The first eligible Free organization created with a work email for a company domain receives $10 in monthly credit, unused credit expires at the end of the plan month, and sandbox testing is free on every plan.
Can a VPN user get around fingerprinting?
Sometimes. Obfuscated VPN servers and residential proxy pools are built to look like ordinary consumer traffic, so the connection check can come back clean. Device evidence is harder to hide: we can flag reuse when a persistent device ID matches or when fingerprint recovery meets our confidence criteria. Either match provides evidence for review. Detection improves when you act on the combination rather than on the IP alone.
Can VPN detection cause false declines?
Yes, and that is the main risk. Corporate VPNs, privacy-conscious customers and shared family devices all produce flags on honest users. For a consumer flow, a reasonable starting policy is to continue normally or require an extra check when a VPN warning is the only signal. Send a VPN warning plus a duplicate-device warning or a document-country warning to review, and remember that shared devices and travel can account for that second signal.
How do I use VPN detection to stop account takeover?
Compare a new verification session with the account's known device and location history. A new IP country combined with a device fingerprint previously observed on another account is a reason to review. A match does not establish who controls the device or the account. Biometric Authentication is a separate step-up option at $0.10 per authentication if you also want to confirm the person at sign-in.
Is VPN detection allowed under GDPR?
When IP or device signals relate to an identifiable person, assess your lawful basis, notice and retention obligations under Regulation (EU) 2016/679. Device-access rules and decisions made solely by automated means may require a separate assessment. We return connection flags and device warnings, and your organization stays responsible for how it uses them.
What is the difference between a VPN and a proxy for fraud?
For traffic they relay, VPNs and proxies generally present an intermediary IP to the destination. A VPN typically tunnels configured traffic, while a proxy relays requests for a client or application, and encryption and traffic coverage depend on configuration. For fraud teams the classification matters more than the label: data center, residential or Tor each carries a different risk profile.
Does a duplicated IP mean two accounts belong to one person?
No, not by itself. Shared networks put unrelated people on one IP: offices, campuses, carrier NAT and households all do it. A duplicated device fingerprint is narrower evidence but still not proof, because a family phone or a work handset can serve several legitimate users. Review the flag and verify account ownership independently.
What happens if the person blocks the fingerprinting script?
An empty ip_analyses[] array can indicate that the client could not collect the fingerprint, while an absent or null field can indicate the feature did not run on that session. Treat either as unavailable evidence rather than a conclusive diagnosis. Apply a documented fallback policy, either fail closed or lean on soft signals such as phone and email verification, and apply it consistently.
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.
Your obligations · 3 regions
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.
- 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.
Didit Academy


