IP Geolocation API

Get comprehensive location data for any IP address worldwide. Perfect for analytics, fraud prevention, content localization, and security applications.

API endpoint
GET https://ipgeolocation.cleariflow.com/v1/?api_key=YOUR_API_KEY&ip_address=8.8.8.8

Try it now

Test the API with live data

Need inspiration? Try:

API benefits

Industry-Leading Accuracy

Powered by premium geolocation databases for industry-leading accuracy and global coverage.

Comprehensive Data

Get detailed location data including city, region, country, coordinates, and postal codes.

VPN & proxy detection

VPN exit-node and proxy detection via IP-to-VPN MMDB (`is_vpn`, `is_proxy`, optional `vpn_provider`).

Timezone Information

Complete timezone data including name, abbreviation, GMT offset, and current time.

Rich Metadata

Access ISP details, connection types, currency info, and flag data in every response.

Lightning Fast

Sub-100ms response times with 99.9% uptime guarantee and global CDN distribution.

Key features

  • IPv4 and IPv6 support
  • City, region, and country detection
  • Latitude and longitude coordinates
  • Timezone and UTC offset information
  • ISP and organization details
  • Connection type identification
  • VPN and proxy detection
  • Currency and flag information
  • EU membership status
  • Postal code detection
  • Field filtering support
  • JSON response format

Quick start guide

1. Get your API key

Sign up for free and get instant access to your API key.

2. Make your first request

cURL
curl -X GET \
  "https://ipgeolocation.cleariflow.com/v1/" \
  ?api_key=YOUR_API_KEY \
  &ip_address=8.8.8.8

3. Handle the response

JSON
{
  "city": "Mountain View",
  "city_geoname_id": 5375480,
  "connection": {
    "autonomous_system_number": 15169,
    "autonomous_system_organization": "Google LLC",
    "connection_type": "Corporate",
    "isp_name": "Google LLC",
    "organization_name": "Google LLC"
  },
  "continent": "North America",
  "continent_code": "NA",
  "continent_geoname_id": 6255149,
  "country": "United States",
  "country_code": "US",
  "country_geoname_id": 6252001,
  "country_is_eu": false,
  "currency": {
    "currency_code": "USD",
    "currency_name": "United States Dollar"
  },
  "flag": {
    "emoji": "🇺🇸",
    "png": "https://static.cleariflow.com/country-flags/US_flag.png",
    "svg": "https://static.cleariflow.com/country-flags/US_flag.svg",
    "unicode": "U+1F1FA U+1F1F8"
  },
  "ip_address": "8.8.8.8",
  "latitude": 37.386,
  "longitude": -122.0838,
  "postal_code": "94035",
  "region": "California",
  "region_geoname_id": 5332921,
  "region_iso_code": "CA",
  "security": {
    "is_proxy": false,
    "is_vpn": false
  },
  "timezone": {
    "abbreviation": "PDT",
    "current_time": "06:37:41",
    "gmt_offset": -7,
    "is_dst": true,
    "name": "America/Los_Angeles"
  }
}