IP address geolocation & threat data API

Fast, reliable, accurate geolocation API. Get comprehensive IP address intelligence trusted by thousands of businesses:

  • IP geolocation API (IP to country, region)
  • Threat & privacy service detection (VPN, proxy, Tor)
  • Hosting provider detection
  • Company, domain & ASN data
  • Free up to 1,000 requests a day
Examples:
Accurate IP data

All the IP intelligence data you need, all in one place

IP Geolocation API

Find the location of any IP address in the real world with our superfast geolocation API, powered by our daily-updated geolocation database.
IP to Country & Continent
IP to City
Region
Postal code
Latitude & longitude
Time zone
Currency code
Calling code

Threat and privacy detection

Detailed information about privacy services associated with an IP address, plus threat and security information like abuse and spam reports.
Abuser & spammer reports
Proxy detection
VPN detection
Tor detection
iCloud Private Relay

Hosting detection

Find out if an IP address belongs to a cloud service or hosting provider. Powered by our proprietary hosting detection algorithm.
IP to hosting provider name
Provider domain name
Service/network type

Company information

Find the organization associated with an IP address, including the company name, domain, and more.
IP to company name
IP to domain name
Company type (hosting, ISP, etc.)

ASN information

Find up-to-date ASN information (IP Whois) for every IP address and Autonomous System.
IP to Autonomous System
IP to ASN
ASN Organization
Country
Registry
Abuse contact details
Data from every RIR and RWHOIS
Data you can rely on

Accurate and complete IP intelligence

Get the precise data you need without compromises. We obsess over data and geolocation accuracy so that you don’t have to.

Industry-leading accuracy

Our proprietary data collection process, running since 2017, ensures our geolocation data is always accurate.

Daily data updates

Our databases are updated every single day, so your applications always get the latest location, threat, and network information.

Every data type, every plan

Unlike others, we provide full access to all our data on every plan, including the free tier. No artificial limitations.

Simple, fast integration

Get started in minutes with our free tier, our developer-first documentation, and easy code samples. Designed by developers, for developers.

50TB+of raw data processed daily

of raw data processed daily to generate our geolocation databases

Millions of IP address networks covered

of IP network records maintained and kept up to date, covering billions of IP addresses

Global scale

Built for reliability

Powered by a globally distributed network of load-balanced servers and hosted on AWS, our API delivers consistently fast responses and scales effortlessly to meet demand.

400M+ API requests per day

API requests per day, peaking at 15,000+ requests per second

<50ms average API response time

average API response time from our global network

99.99% average historical uptime

average historical uptime

100,000+ businesses and developers use our IP intelligence every day

businesses and developers use our IP intelligence every day

Real-world applications

Built for your business

Companies around the world use IPLocate’s IP geolocation and threat data to protect their platforms, improve user experience, and grow smarter businesses. Whether you need geolocation, security signals, or company insights, IPLocate fits right into your stack.

Personalize your website experience

Show local events, display prices in the right currency, offer relevant deals, and adjust languages without asking users to set preferences manually.

IP Geolocation

Prevent fraud and abuse

Use threat signals like VPN and proxy identification to catch suspicious activity early. Block bad actors from creating fake accounts, abusing free trials, or submitting fraudulent orders.

Threat data
ASN data

Enforce regional compliance

Detect where your users are connecting from to meet tax laws, privacy regulations, and content licensing agreements. Automatically calculate VAT or GST, trigger GDPR or CCPA prompts, or block access to restricted content when needed.

IP Geolocation
Company data

Power location-based analytics

Understand your user base by geography, network, and company type. Use IP geolocation to enrich your analytics dashboards, see where growth is happening, and make smarter decisions about content, advertising, and infrastructure.

IP Geolocation
ASN data
Company data

Secure your platform and users

Use hosting provider and ASN detection to recognize cloud hosts, data centers, and anonymized sources of traffic. Apply smarter rate limits, block scraping attempts, or separate human users from bots based on network behavior.

Threat data
ASN data
Hosting detection
Designed for developers

Get started in minutes with our easy-to-use API

Query any IP address (IPv4 or IPv6) by making a simple API request. Read our developer-first docs, or get started with these quick start examples.

Curl

curl https://iplocate.io/api/lookup/17.253.0.0?apikey=

JavaScript

const url = 'https://iplocate.io/api/lookup/17.253.0.0?apikey=';
const response = await fetch(url);
const data = await response.json();

console.log(data);

Ruby

require 'iplocate'

results = IPLocate.lookup('17.253.0.0')

puts results.inspect

Python

import requests

ip = '17.253.0.0'
apiKey = ''
url = f'https://iplocate.io/api/lookup/{ip}&apikey={apiKey}'

response = requests.get(url)
print(response.json())

PHP

<?php

$res = file_get_contents('https://iplocate.io/api/lookup/17.253.0.0?apikey=');
$res = json_decode($res);

var_dump($res);
Free geolocation API

A free tier that's truly free

Free forever. Full access. No throttling, no hidden limits — just a powerful IP geolocation API ready to use, up to 1,000 requests per day.

Full data access

Access the same high-quality geolocation, threat detection, company, and hosting data included in every paid plan. Unlike other providers, we don't water-down our free tier.

Easy to integrate

With a free API key you get immediate access to the full platform. Set up in minutes with our developer-first documentation.

Built for scale

Start free and upgrade only when you need more volume. All plans use the same API endpoints — no migration, no rework.

Flexible pricing

Find the right plan, or self-host our data

Whether you're just starting, scaling up, or need offline data access, we have an option ready for you.

Start for free

1,000 requests per day, free forever. No credit card required. No other limits — the same data, same accuracy, same API.

Pay for what you need

Need more than our free tier? Pay for a monthly quota, with flexible billing & no hidden fees.

Flexible billing
Guaranteed monthly quota
No hidden limits
Annual & volume discounts

Self-host our data

Self-host the same accurate IP data as our API with our daily-updated, GeoIP-compatible databases.

Full IP Geolocation database
IP to Company database
IP to Hosting/Datacenter database
Threat and Privacy Detection database
Full WHOIS & Abuse Contact database
Reverse DNS (RDNS) database
IP to Country & IP to ASN Free

Ready to get started?

Get a free API key and start using our IP geolocation API in minutes. Or contact us to design a custom package for your business.