# VPN Proxy Detector API

> VPN Proxy Detector checks any IP address to detect active VPN connections and cloud datacenter hosting. Lookups return boolean flags for VPN and datacenter status plus the verification date, with paid tiers adding Tor detection and risk levels.

**Endpoint:** `GET https://api.apiverve.com/v1/vpndetector`  
**Category:** Networking  
**Cost:** 10 credits per call  
**Canonical page:** https://apiverve.com/marketplace/vpndetector

## Overview

It works as a VPN detector API, VPN check API and datacenter IP detection API, flagging hosting IPs from cloud providers alongside commercial VPN exits. A VPN detection and VPN lookup API for any IPv4 or IPv6 address. It checks the IP against lists of commercial VPN exit ranges and cloud and hosting datacenter ranges, refreshed daily, and returns is_vpn and is_datacenter flags as JSON. It also flags iCloud Private Relay addresses from the egress list Apple publishes, which commercial VPN lists wrongly include, so Safari users are not rated as VPN traffic. There is no separate proxy flag: proxies hosted in a datacenter show up through is_datacenter, and residential proxies are not detected. Paid plans add Tor exit node status, the ASN and network name, and a risk and threat level derived from those flags.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/vpndetector?ip=103.62.49.210" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `ip` | string | Yes | The IP address you want to check for VPN usage. ip |

## Response fields

- `ip` — string · The IP address that was checked for VPN usage
- `is_vpn` — boolean · Whether the IP address is using a VPN service
- `is_datacenter` — boolean · Whether the IP belongs to a datacenter or cloud provider
- `is_tor` — boolean · Whether the IP is a known Tor exit node; null if the Tor list could not be checked · (premium)
- `is_relay` — boolean · Whether the IP is an iCloud Private Relay egress address, from the list Apple publishes; these users are ordinary Safari users even when is_vpn is also true. Null if the relay list could not be checked
- `is_public` — boolean · Whether the IP is publicly routable; false for private, loopback, link-local and reserved addresses
- `asn` — string · Autonomous System Number announcing the IP (e.g., AS16509); null if unrouted · (premium)
- `asn_name` — string · Registered name of that AS (e.g., AMAZON-02), not always the company name · (premium)
- `hosting_provider` — object · The cloud or hosting company the IP belongs to, such as Amazon Web Services, Google Cloud, DigitalOcean, Hetzner or M247, for about 30 providers that carry most server, VPN and bot traffic; null for home and mobile networks and for providers not on the list · (premium)
- `checked_on` — string · The date when the IP was last checked for VPN status
- `risk_level` — string · Overall risk of the IP address: High for Tor exits and VPNs, Moderate for iCloud Private Relay and datacenter-only addresses, Low otherwise · (premium)
- `threat_level` — string · How strongly the IP anonymises its user: High for Tor exits, Moderate for VPNs, Low otherwise · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "ip": "103.62.49.210",
    "is_vpn": false,
    "is_datacenter": true,
    "is_tor": false,
    "is_relay": false,
    "is_public": true,
    "asn": "AS137409",
    "asn_name": "GSLNETWORKS-AS-AP GSL Networks Pty LTD",
    "hosting_provider": null,
    "checked_on": "2026-10-26",
    "risk_level": "Moderate",
    "threat_level": "Low"
  }
}
```

## Use cases

- **Fraudulent Signup Prevention** — To stop fake account spam, security platforms verify visitor IPs at registration to block traffic originating from known commercial VPNs and cloud servers.
- **Streaming Rights Compliance** — Media providers check playback requests against datacenter and VPN flags to enforce territorial broadcasting rights on copyrighted video catalogs.
- **Payment Gateway Screening** — When an online order is submitted, checkout systems check the buyer IP to trigger extra authentication steps if it belongs to a datacenter network.
- **Ad Click Validation** — Advertising networks filter invalid traffic by screening incoming ad impressions for datacenter hosting IPs before recording billable user interactions.

## SDKs

- **npm** — `npm install @apiverve/vpndetector` (https://www.npmjs.com/package/@apiverve/vpndetector)
- **NuGet** — `dotnet add package APIVerve.API.VPNProxyDetector` (https://www.nuget.org/packages/APIVerve.API.VPNProxyDetector)
- **Source** — https://github.com/apiverve/vpndetector-api

## More

- Full reference: https://docs.apiverve.com/ref/vpndetector
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
