IP Location.net API site

Geolocate users with confidence

Resolve IP addresses into dependable location and network intelligence for personalization, fraud prevention, analytics, and internal tools.

API v2 uses POST bodies and bearer-token authentication. Legacy v1 command URLs remain available for existing integrations.

209.122.38.111
JSON response
{
  "ip": "209.122.38.111",
  "country_code2": "US",
  "country_name": "United States of America",
  "region_name": "Illinois",
  "city_name": "Rolling Meadows",
  "zip_code": "60008",
  "latitude": 42.08364,
  "longitude": -88.01369,
  "isp": "Comcast Cable"
}

API v2 returns location data in a predictable JSON structure for application workflows.

Endpoints

API capabilities

View endpoint reference

IP Location

/v2/ip-location

Resolve an IPv4 or IPv6 address to full location, network, and security fields with an API key.

IP-to-Country

/v2/ip-country

Return country data for an IPv4 or IPv6 address without an API key.

Get IP

/v2/get-ip

Return the public IP address seen by the API without an API key.

Proxy Check

/v2/proxy-check

Check proxy and VPN signals with a daily Free plan allowance.

Proxy List

/v2/proxy-list

Fetch active proxy records with an API key and no response limit.

MAC Lookup

/v2/mac-lookup

Find vendor and company details for a MAC address prefix without an API key.

SMTP Validator

/v2/smtp-validator

Validate email format, MX records, and SMTP signals with a daily Free plan allowance.

Versioning

Use v2 for new work. Keep v1 for existing integrations.

API v2

The current API uses resource-style paths, POST request bodies, and API keys sent with the Authorization bearer header.

Open v2 Docs

API v1

The legacy cmd query-string command interface remains available for backward compatibility.

Open v1 Docs

Responses

Multiple response formats for existing workflows.

JSON is the default format. Optional formats are available where compatibility with existing systems matters.

json plain xml jsonp php csv serialized

Start with a free API key

Sign in with your IPLocation.net account to create or manage your API key from the main dashboard.

Create Free API Key