Skip to content
VPNDetection

Lookup

get/{ip}

Answers what is known about a single IPv4 or IPv6 address. Which fields come back is decided by the presented key; with no key, on Unlimited, the free plan, the answer is ip, is_vpn, the Tor and relay members, location and asn.

Authorization (optional)

apiKeyQueryapikey in query

?apikey=<key>. Convenient in a browser; prefer a header elsewhere.

apiKeyHeaderX-Api-Key in header

X-Api-Key: <key>.

bearerAuthbearer token

Authorization: Bearer <key>.

Path parameters

iprequiredstring

The IPv4 or IPv6 address to classify.

Responses

200application/json

The classification. Present fields are those your plan includes; see the tier table in the API description.

iprequiredstring

The address that was looked up, normalized.

Example 1.1.1.1

is_bogonboolean

Whether the address is reserved space (RFC 1918, loopback, link-local, documentation ranges and their IPv6 equivalents), answered from the address alone. Every answer, with or without a key.

is_vpnrequiredboolean

Whether the address is VPN infrastructure. Keys off presence in the VPN dataset, so an unattributed range with no provider is still true.

is_hostingboolean

Whether the address belongs to a hosting or cloud provider. Paid plans.

is_relayboolean

Whether the address is privacy relay or enterprise web gateway egress, such as iCloud Private Relay or Zscaler. Every answer, with or without a key.

is_torboolean

Whether the address is a Tor node. Every answer, with or without a key.

is_cdnboolean

Whether the address belongs to a CDN. Paid plans.

is_resproxyboolean

Whether the address was seen in a residential proxy pool. Paid plans.

is_dcproxyboolean

Whether the address is one a datacenter proxy service sells or runs on, a proxy company's own ranges included. Paid plans.

is_mobproxyboolean

Whether the address was seen in a mobile proxy pool. Paid plans.

is_pubproxyboolean

Whether a public proxy, one anyone can connect through, listens on the address or sends its traffic out from it. Paid plans.

vpnobject

What is known about the VPN attribution. Every key is present when the object is populated, empty values included; the object is {} when is_vpn is false.

providerstring

The VPN provider's ID, or an empty string for an unattributed range.

Example mullvad

provider_namestring

The name the provider catalog gives the provider, beside the ID to key on; an empty string where the catalog names none or the range is unattributed.

Example Mullvad

last_seenstring (date)

The most recent date this address was observed as VPN infrastructure.

Example 2026-09-02

confidencestring

How strongly the attribution is supported.

Example high

methodstringdeprecated

Never returned since 2026-10-20: no plan is answered with the class of evidence an attribution rests on. Declared so that a client typed against it keeps compiling; read confidence instead.

hostingobject

The shared detail shape for the hosting, relay, tor and cdn datasets. Every key is present when the object is populated; the object is {} when its flag is false.

providerstring

The provider's ID, or an empty string where the dataset has none.

Example m247

provider_namestring

The name the provider catalog gives the provider; an empty string where the catalog names none or the dataset has no provider.

Example M247

confidencestring

How strongly the classification is supported.

Example high

last_seenstring (date)

The most recent date this address was observed in this dataset.

Example 2026-09-02

relayobject

The shared detail shape for the hosting, relay, tor and cdn datasets. Every key is present when the object is populated; the object is {} when its flag is false.

providerstring

The provider's ID, or an empty string where the dataset has none.

Example m247

provider_namestring

The name the provider catalog gives the provider; an empty string where the catalog names none or the dataset has no provider.

Example M247

confidencestring

How strongly the classification is supported.

Example high

last_seenstring (date)

The most recent date this address was observed in this dataset.

Example 2026-09-02

torobject

The shared detail shape for the hosting, relay, tor and cdn datasets. Every key is present when the object is populated; the object is {} when its flag is false.

providerstring

The provider's ID, or an empty string where the dataset has none.

Example m247

provider_namestring

The name the provider catalog gives the provider; an empty string where the catalog names none or the dataset has no provider.

Example M247

confidencestring

How strongly the classification is supported.

Example high

last_seenstring (date)

The most recent date this address was observed in this dataset.

Example 2026-09-02

cdnobject

The shared detail shape for the hosting, relay, tor and cdn datasets. Every key is present when the object is populated; the object is {} when its flag is false.

providerstring

The provider's ID, or an empty string where the dataset has none.

Example m247

provider_namestring

The name the provider catalog gives the provider; an empty string where the catalog names none or the dataset has no provider.

Example M247

confidencestring

How strongly the classification is supported.

Example high

last_seenstring (date)

The most recent date this address was observed in this dataset.

Example 2026-09-02

resproxyobject

The shared detail shape for the residential, datacenter and mobile proxy families, measured over a rolling 90 day window. An address that leaves the window keeps its flag and the values of its last day in it, so last_seen is what says how recent they are. Every key is present when the object is populated; the object is {} when its flag is false.

providerstring

The proxy network's ID, or an empty string where unattributed.

Example brightdata

provider_namestring

The name the provider catalog gives the proxy network; an empty string where the catalog names none or the address is unattributed.

Example Bright Data

first_seenstring (date)

The earliest date within the window this address was seen in the pool, as of its last day in the window once it has left.

Example 2026-06-14

last_seenstring (date)

The most recent date this address was seen in the pool. An address that leaves the window keeps its flag, so this date is what says how recent the sighting is.

Example 2026-09-02

hitsinteger

How many times the address was observed in the pool during the window, as of its last day in it once it has left.

Example 42

hits_days_pctinteger

The percentage of days in the window on which the address was seen, as of its last day in it once it has left. A high value means a stable pool member rather than a one-off sighting.

Example 63

providers_numinteger

How many distinct proxy networks this address was seen in.

Example 2

dcproxyobject

The shared detail shape for the residential, datacenter and mobile proxy families, measured over a rolling 90 day window. An address that leaves the window keeps its flag and the values of its last day in it, so last_seen is what says how recent they are. Every key is present when the object is populated; the object is {} when its flag is false.

providerstring

The proxy network's ID, or an empty string where unattributed.

Example brightdata

provider_namestring

The name the provider catalog gives the proxy network; an empty string where the catalog names none or the address is unattributed.

Example Bright Data

first_seenstring (date)

The earliest date within the window this address was seen in the pool, as of its last day in the window once it has left.

Example 2026-06-14

last_seenstring (date)

The most recent date this address was seen in the pool. An address that leaves the window keeps its flag, so this date is what says how recent the sighting is.

Example 2026-09-02

hitsinteger

How many times the address was observed in the pool during the window, as of its last day in it once it has left.

Example 42

hits_days_pctinteger

The percentage of days in the window on which the address was seen, as of its last day in it once it has left. A high value means a stable pool member rather than a one-off sighting.

Example 63

providers_numinteger

How many distinct proxy networks this address was seen in.

Example 2

mobproxyobject

The shared detail shape for the residential, datacenter and mobile proxy families, measured over a rolling 90 day window. An address that leaves the window keeps its flag and the values of its last day in it, so last_seen is what says how recent they are. Every key is present when the object is populated; the object is {} when its flag is false.

providerstring

The proxy network's ID, or an empty string where unattributed.

Example brightdata

provider_namestring

The name the provider catalog gives the proxy network; an empty string where the catalog names none or the address is unattributed.

Example Bright Data

first_seenstring (date)

The earliest date within the window this address was seen in the pool, as of its last day in the window once it has left.

Example 2026-06-14

last_seenstring (date)

The most recent date this address was seen in the pool. An address that leaves the window keeps its flag, so this date is what says how recent the sighting is.

Example 2026-09-02

hitsinteger

How many times the address was observed in the pool during the window, as of its last day in it once it has left.

Example 42

hits_days_pctinteger

The percentage of days in the window on which the address was seen, as of its last day in it once it has left. A high value means a stable pool member rather than a one-off sighting.

Example 63

providers_numinteger

How many distinct proxy networks this address was seen in.

Example 2

pubproxyobject

The address in Public Proxy IP, open proxies anyone can connect through, measured over a rolling 90 day window. An address that leaves the window keeps its flag and the values of its last day in it, so last_seen is what says how recent they are. An address is either end of a proxy, or both: where it listens, and where its traffic leaves from. Every key is present when the object is populated; the object is {} when is_pubproxy is false.

entryboolean

Whether a public proxy listens on this address.

Example true

exitboolean

Whether a public proxy's traffic leaves from this address.

Example false

protocolsarray<string>

The protocols of the proxies listening on or leaving from this address: http, https (an HTTP proxy that also tunnels HTTPS), socks4 or socks5. Empty where only the address is known.

Example ["http","https"]

num_portsinteger

How many distinct ports a public proxy listens on at this address; 0 when it is only an exit, or its port is not known.

Example 1

num_proxiesinteger

How many distinct public proxies' traffic left from this address; 0 when it is only an entry.

Example 0

last_seenstring (date)

The most recent date a proxy on this address was seen. An address that leaves the window keeps its flag, so this date is what says how recent the sighting is.

Example 2026-10-17

last_usablestring

The most recent date within the window a request through a proxy on this address was answered, as YYYY-MM-DD, or an empty string when none was, as of its last day in the window once it has left.

Example 2026-10-17

locationobject

Where the address is, to the country: the fields of our IP Country database. Every answer, with or without a key. Each field is present whenever the object is, so an address in no country, or a private one, answers empty strings.

continentrequiredstring

Continent code: AF, AN (Antarctica), AS, EU, NA, OC or SA.

Example EU

continent_namerequiredstring

Continent name.

Example Europe

countryrequiredstring

ISO 3166-1 alpha-2 country code.

Example AT

country_namerequiredstring

Country name.

Example Austria

timezonerequiredstring

IANA timezone of the address.

Example Europe/Vienna

currency_coderequiredstring

ISO 4217 code of the country's currency, where there is one.

Example EUR

currency_namerequiredstring

Name of the country's currency, where there is one.

Example Euro

currency_symbolrequiredstring

Symbol of the country's currency, where known.

Example €

flag_emojirequiredstring

The country's flag, as an emoji.

Example 🇦🇹

flag_unicoderequiredstring

The Unicode code points of the flag emoji.

Example U+1F1E6 U+1F1F9

asnobject

The autonomous system that announces the address. Every answer, with or without a key. Each field is present whenever the object is: asn is 0 and the rest empty where no announcement covers the address.

asnrequiredinteger (int64)

The AS number, 0 when no announcement covers the address.

Example 9009

namerequiredstring

Name of the organization that operates the AS.

Example M247 Europe SRL

domainrequiredstring

The AS operator's own registrable domain.

Example m247global.com

typerequiredstring

The kind of network the AS runs: isp, hosting, education, government or business.

Example hosting

prefixrequiredstring

The announced BGP prefix that covers the address, the most specific when several do.

Example 146.70.116.0/24

trial_expiredboolean

On every answer to a key on the free plan, and on no other: false while its organization's daily trial lasts (every field for the first 100 lookups each UTC day), true once the answer has Unlimited's.

cap_reachedboolean

On every answer to a key on a paid plan, and on no other: false while the answer has every field, true once its organization's overage cap is reached and the answer has Unlimited's. Lookups answered past the cap are not billed; raising or removing the cap in Billing turns it false again.

TypeScript type
ts
{
  ip: string;
  is_bogon?: boolean;
  is_vpn: boolean;
  is_hosting?: boolean;
  is_relay?: boolean;
  is_tor?: boolean;
  is_cdn?: boolean;
  is_resproxy?: boolean;
  is_dcproxy?: boolean;
  is_mobproxy?: boolean;
  is_pubproxy?: boolean;
  vpn?: {
    provider?: string;
    provider_name?: string;
    last_seen?: string;
    confidence?: string;
    method?: string;
  };
  hosting?: {
    provider?: string;
    provider_name?: string;
    confidence?: string;
    last_seen?: string;
  };
  relay?: {
    provider?: string;
    provider_name?: string;
    confidence?: string;
    last_seen?: string;
  };
  tor?: {
    provider?: string;
    provider_name?: string;
    confidence?: string;
    last_seen?: string;
  };
  cdn?: {
    provider?: string;
    provider_name?: string;
    confidence?: string;
    last_seen?: string;
  };
  resproxy?: {
    provider?: string;
    provider_name?: string;
    first_seen?: string;
    last_seen?: string;
    hits?: number;
    hits_days_pct?: number;
    providers_num?: number;
  };
  dcproxy?: {
    provider?: string;
    provider_name?: string;
    first_seen?: string;
    last_seen?: string;
    hits?: number;
    hits_days_pct?: number;
    providers_num?: number;
  };
  mobproxy?: {
    provider?: string;
    provider_name?: string;
    first_seen?: string;
    last_seen?: string;
    hits?: number;
    hits_days_pct?: number;
    providers_num?: number;
  };
  pubproxy?: {
    entry?: boolean;
    exit?: boolean;
    protocols?: string[];
    num_ports?: number;
    num_proxies?: number;
    last_seen?: string;
    last_usable?: string;
  };
  location?: {
    continent: string;
    continent_name: string;
    country: string;
    country_name: string;
    timezone: string;
    currency_code: string;
    currency_name: string;
    currency_symbol: string;
    flag_emoji: string;
    flag_unicode: string;
  };
  asn?: {
    asn: number;
    name: string;
    domain: string;
    type: string;
    prefix: string;
  };
  trial_expired?: boolean;
  cap_reached?: boolean;
}
400application/json

The path segment is not a valid IP address.

errorrequiredstring

A human-readable explanation of the failure.

Example not a valid IP address

TypeScript type
ts
{
  error: string;
}
401application/json

The presented API key is unknown, revoked, or expired.

errorrequiredstring

A human-readable explanation of the failure.

Example not a valid IP address

TypeScript type
ts
{
  error: string;
}
403application/json

The key restricts which source addresses may use it and this request came from none of them, or the key lacks the ip.lookup scope (IP lookup, in the console's key settings), or the key was sent over plain HTTP, where anyone on the network path could read it. Rotate a key that was.

errorrequiredstring

A human-readable explanation of the failure.

Example not a valid IP address

TypeScript type
ts
{
  error: string;
}
429application/json

A rate limit, always with Retry-After. A paid plan's overage cap is never a 429: it answers 200 with Unlimited's fields and cap_reached true.

errorrequiredstring

A human-readable explanation of the failure.

Example not a valid IP address

TypeScript type
ts
{
  error: string;
}
500application/json

The VPN dataset could not be consulted.

errorrequiredstring

A human-readable explanation of the failure.

Example not a valid IP address

TypeScript type
ts
{
  error: string;
}