IP Geolocation API

Comprehensive IP geolocation and intelligence API, free to use up to 1,000 requests a day.

Whether you need geolocation, security data, or company insights, our IP API fits right into your stack. Trusted by thousands of businesses worldwide.

The right data at the right time

Get real-time IP geolocation data with our fast, reliable, and accurate API.

Trusted by thousands of businesses

Since 2017, we've been providing accurate and reliable IP geolocation data to businesses of all sizes.

Integrate in minutes

Get started with our client libraries or quick-start snippets.

API Features
View the complete docs ›

Geolocation Data

All plans
  • Country, region, city
  • Postal/ZIP codes
  • Latitude/longitude
  • Time zone information

ASN Data

All plans
  • ASN number and route
  • Organization name
  • Network name and domain
  • Organization type and RIR

Privacy & Threat Data

All plans
  • Proxy and VPN detection
  • Tor exit node detection
  • iCloud Private Relay detection
  • Abuse and bogon detection

Abuse Contact Data

All plans
  • Abuse contact name
  • Email and phone number
  • Physical address
  • Network range information

Company Data

All plans
  • Organization name
  • Domain name
  • Country code
  • Organization type

Hosting Data

All plans
  • Hosting provider details
  • Datacenter information
  • Cloud service provider
  • Region and location data

API Example

{
  "ip": "123.243.246.200",
  "country": "Australia",
  "country_code": "AU",
  "is_eu": false,
  "city": "Sydney",
  "continent": "Oceania",
  "latitude": -33.8672,
  "longitude": 151.1997,
  "time_zone": "Australia/Sydney",
  "postal_code": "2049",
  "subdivision": "New South Wales",
  "subdivision2": null,
  "network": "123.243.240.0/20",
  "asn": {
    "asn": "AS7545",
    "route": "123.243.246.0/24",
    "netname": "TPG-INTERNET-AP",
    "name": "TPG Telecom Limited",
    "country_code": "AU",
    "domain": "tpgtelecom.com.au",
    "type": "isp",
    "rir": "APNIC"
  },
  "privacy": {
    "is_abuser": false,
    "is_anonymous": false,
    "is_bogon": false,
    "is_datacenter": false,
    "is_icloud_relay": false,
    "is_proxy": false,
    "is_tor": false,
    "is_vpn": false
  },
  "company": {
    "name": "TPG Telecom",
    "domain": "www.tpgtelecom.com.au",
    "country_code": "AU",
    "type": "isp"
  },
  "abuse": {
    "address": "TPG Internet Pty Ltd., (Part of the Total Peripherals Group), 65 Waterloo Road, North Ryde NSW 2113",
    "email": "[email protected]",
    "name": "ABUSE TPGCOMAU",
    "network": "123.243.246.192 - 123.243.246.223",
    "phone": "+000000000"
  }
}

Easy Integration

Simple REST API with comprehensive documentation and client libraries for popular programming languages including Node.js, Python, Ruby, PHP, and more.

High Performance

Globally distributed infrastructure ensures low latency responses from anywhere in the world.

Accurate Data

Daily updated database with high accuracy rates for geolocation and network information, often exceeding other IP geolocation services.

Get started for free

Make 1,000 requests a day with a free API key, no credit card required. Or, sign up for a paid plan to get more requests, more data types, and priority support.

FAQs

IP geolocation is the process of determining the geographical location of a device based on its IP address. IPLocate.io provides comprehensive geolocation data including country, region, city, postal code, and latitude/longitude coordinates of the nearest city center. This is sometimes called ”IP to location” or ”IP to address” lookup.

You can view your own IP address information, including geolocation details, using our ‘What is my IP’ IP lookup tool. This free tool provides instant access to your IP's geolocation and network information.

IP geolocation data is commonly used for content personalization, fraud prevention, traffic analysis, regulatory compliance, targeted advertising, and cybersecurity applications. Our customers leverage our API for everything from localizing content to detecting suspicious login attempts.

From your IP address, someone can typically determine your general location (city/region), your Internet Service Provider, and whether you're using a proxy or VPN.

IPLocate processes 50 terabytes of data every day to maintain one of the most accurate IP geolocation databases in the industry. We update our database daily to ensure the highest level of precision and coverage. However, geolocation accuracy can be affected by several factors, including the use of VPNs or proxies, mobile networks, rural or remote locations with limited infrastructure, and corporate networks that route traffic through centralized gateways. IPLocate’s security intelligence features help identify when users are masking their true location.

Our IP Geolocation API provides IP lookup results in JSON format.

Yes, our geolocation API fully supports lookups for both IPv4 and IPv6 addresses.

Yes, our IP info API provides IP to ASN and ISP information. This includes IP to Autonomous System Number, IP to Organization & Country Code, IP to Network & Domain. We also provide the type of organization and network — for example: hosting, ISP, government, education. This data is included on all free and paid plans.

Yes, our IP data API provides IP to Company information. This includes the company name, domain, and country code. This can be used for lead generation, fraud detection, and more.

Yes, our service includes threat intelligence data that can help identify if an IP address belongs to a proxy, VPN, or Tor exit node.

Our free IP location lookup API provides detailed, accurate geolocation data for any IP address. This includes the estimated latitude and longitude, as well as the city, region, country, time zone, and more. You can use this data to create maps, analyze user behavior, and more.

IPLocate updates its IP geolocation database daily to ensure the most accurate and current information. This regular update schedule helps maintain high accuracy as IP allocations and network configurations change over time.

IPLocate provides an API that can be used with any programming language. For example, you can use our IP location lookup API in JavaScript, Python, Ruby, PHP, Go, Rust, Node.js, and more. We also offer client libraries for popular languages to simplify API integration. See our API documentation for more information on how to get started.