Know Every IP Instantly ⚡
Fast, accurate, and reliable IP geolocation service with comprehensive location data, security signals, and global coverage. Built for developers who demand excellence.
curl "https://geo.ipdrift.com/v1/lookup?ip=8.8.8.8&api_key=YOUR_API_KEY"Try IPDrift Live
Test our IP geolocation service with any IPv4 or IPv6 address.
Your IP Addresses
Enter an IP address above to see the response
API Documentation
Get started with IPDrift in minutes. Simple REST API with comprehensive documentation and examples.
Quick Start Examples
curl "https://geo.ipdrift.com/v1/lookup?ip=8.8.8.8&api_key=YOUR_API_KEY" \ -H "Accept: application/json"
// Using our official NPM package (recommended)
import { IpDriftClient } from 'ipdrift-client';
const client = new IpDriftClient({
apiKey: 'YOUR_API_KEY'
});
const result = await client.lookup({ ip: '8.8.8.8' });
console.log(result.country_name); // "United States"
// Using fetch
const response = await fetch(
'https://geo.ipdrift.com/v1/lookup?ip=8.8.8.8&api_key=YOUR_API_KEY'
);
const data = await response.json();
console.log(data);
// Using axios
import axios from 'axios';
const { data } = await axios.get(
'https://geo.ipdrift.com/v1/lookup?ip=8.8.8.8&api_key=YOUR_API_KEY'
);import requests
response = requests.get(
'https://geo.ipdrift.com/v1/lookup?ip=8.8.8.8&api_key=YOUR_API_KEY'
)
data = response.json()
print(data)
# With error handling
try:
response = requests.get(
'https://geo.ipdrift.com/v1/lookup?ip=8.8.8.8&api_key=YOUR_API_KEY',
timeout=10
)
response.raise_for_status()
data = response.json()
print(f"Country: {data['country_name']}")
except requests.exceptions.RequestException as e:
print(f"Error: {e}")<?php
$response = file_get_contents(
'https://geo.ipdrift.com/v1/lookup?ip=8.8.8.8&api_key=YOUR_API_KEY'
);
$data = json_decode($response, true);
print_r($data);
// Using cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://geo.ipdrift.com/v1/lookup?ip=8.8.8.8&api_key=YOUR_API_KEY');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
?>Response Format
{
"ip": "8.8.8.8",
"type": "ipv4",
"continent_code": "NA",
"continent_name": "North America",
"country_code": "US",
"country_name": "United States",
"region_code": "CA",
"region_name": "California",
"city": "Mountain View",
"zip": "94043",
"latitude": 37.4056,
"longitude": -122.0775,
"time_zone": {
"id": "America/Los_Angeles",
"current_time": "2025-09-20T15:30:00-07:00",
"gmt_offset": -25200,
"code": "PDT",
"is_daylight_saving": true
},
"currency": {
"code": "USD",
"name": "US Dollar",
"symbol": "$"
},
"connection": {
"asn": 15169,
"isp": "GOOGLE",
"carrier": "GOOGLE"
},
"security": {
"is_tor": false,
"threat_level": "low",
"hosting_facility": true
}
}API Features
Rate Limiting
120 requests per minute
JSON Format
Consistent response structure
IPv4 & IPv6
Full dual-stack support
API Key Auth
Secure API key authentication
Insights and updates
Latest from the Blog

How IPDrift's Security Signals Help Your Organization
Understand IPDrift security signals (proxy, VPN, TOR, crawler, threat level, hosting) and how to use them for fraud prevention, bot defense, compliance, and risk scoring.
•6 min read
From Anonymous IPs to Actionable Insights: How IPDrift Turns Visitor Data into Business Intelligence
How IPDrift converts raw IP addresses into privacy‑safe signals for attribution, segmentation, security, and revenue teams.
•7 min read
Simple, Transparent Pricing
Choose the plan that fits your needs. Start free and scale as you grow. No hidden fees, no surprises.
Free
Perfect for getting started and small projects
- 10,000 requests/day
- Basic IP geolocation
- Standard support
- Rate limited (60/min)
- Community support
- • No security signals
- • Basic location data only
- • Standard rate limits
Pro
Best for growing businesses and applications
- 100,000 requests/day
- Full feature access
- Security signals included
- Priority support
- 99.9% uptime SLA
- Advanced analytics
- Custom rate limits
- Email support
Enterprise
For large-scale applications and enterprises
- 1,000,000 requests/day
- Custom deployment options
- Dedicated infrastructure
- 24/7 phone support
- Custom SLA agreements
- On-premise deployment
- Advanced security features
- Dedicated account manager
- Custom integrations
- Priority feature requests
Enterprise Features
Additional features available for Enterprise customers
On-Premise
Deploy in your own infrastructure
Custom SLA
Tailored service agreements
Dedicated Support
24/7 priority assistance
Custom Features
Tailored to your needs
Frequently Asked Questions
What happens if I exceed my plan limits?
Requests beyond your plan limit will be throttled. You can upgrade at any time to increase your limits immediately.
Do you offer annual billing discounts?
Yes, annual plans receive a 20% discount. Contact us for annual billing options.
Can I change plans anytime?
Absolutely! You can upgrade or downgrade your plan at any time. Changes take effect immediately.
What payment methods do you accept?
We accept all major credit cards, PayPal, and bank transfers for enterprise customers.
Ready to get started?
Start with our free plan and upgrade as you grow. No credit card required.