Public IPv4 + IPv6 API

IP address lookup.
Network intelligence.

Get location, ASN, ISP, VPN, proxy, Tor and hosting fields in a single IPv4 or IPv6 lookup.

GETapi.ipquery.io/1.1.1.1
Example IP address

1.1.1.1

Approximate locationBrisbane, AustraliaAustralia/Brisbane
Network identity
Organization
Cloudflare, Inc.
ISP
Cloudflare, Inc.
Network risk signals
VPNNot listed
ProxyNot listed
TorNot classified
HostingClassified

VPN and proxy flags use public lists.

Actual API response for 1.1.1.1View sources
Network intelligence

Geolocation and network data.

Look up an address to see its location, operator and network classifications.

ASN, organization and ISP

Find the operator for an IP address. Open its ASN profile to see its networks and country coverage.

Network enrichmentJSON
GETapi.ipquery.io/1.1.1.1
IPQueryisp
ASNAS13335isp.asn
OrganizationCloudflare, Inc.isp.org
ISPCloudflare, Inc.isp.isp
Inspect the example network

Country, city and timezone

Get an approximate location, coordinates and timezone for an IP address.

IP geolocationAU
Approximate location
Brisbane, AUQueensland, Australia
Latitude
-27.4748°
Longitude
153.0100°
Explore geolocation fields

IPv4 and IPv6 lookups

Use the same endpoint and response fields for IPv4 and IPv6 addresses.

A consistent responseJSON
IPv41.1.1.1
IPv62606:4700:4700::1111
Selected fieldsobject
ipstring
ispobject
locationobject
riskobject
View the response schema

VPN, proxy, Tor and hosting

The response has a separate flag for each network classification.

Network indicatorsrisk
1.1.1.1Single-IP lookup
VPNNot listed
ProxyNot listed
TorNot classified
HostingClassified
Weighted risk score Not a probability20
Inspect the risk fields

VPN, proxy and
hosting checks

Inspect VPN, proxy and hosting signals separately. Each field has a documented matching rule.

Read the classification methodology
VPN networksListed
Actual single-IP lookup

185.159.157.1

SwitzerlandAS209103
risk.is_vpntrue
Matching rule
VPN range or ASN match

Listed VPN ranges and reviewed VPN-operated ASNs are checked separately from hosting.

Integration workflows

IP lookups for apps and investigations.

Look up visitor addresses in the browser, investigate networks or add IP data to your logs.

Choose a workflow

Investigate an IP address

Open an IP report to view its operator, ASN and country.

IP investigationExample
1.1.1.1IP report
Network identityCloudflare, Inc.AS13335
Brisbane, AU
Hosting network
Continue the investigationASNAS13335CountryAustralia
Explore network data

Use the API.
Choose your language.

These examples return the caller’s public IP. Add an address to look up a specific IP.

Caller’s IP
GET /
Specific IP
GET /:ip
Read the API reference
Own-IP request
const response = await fetch(
  "https://api.ipquery.io/?format=json",
  { signal: AbortSignal.timeout(5000) }
);
if (!response.ok) {
  const message = await response.text();
  throw new Error("IPQuery " + response.status + ": " + message);
}
const data = await response.json();
console.log(JSON.stringify(data, null, 2));
Single-IP lookups only. Bulk lookup is disabled due to abuse.Try the live endpoint

Look up your
public IP.

Use the own-IP tool, or search for another address.

Full-list access.

For pricing or full-list access, email [email protected].

Selected list
Selected records
Records in this list