IP Location API
Fast, accurate IP geolocation with ISP, timezone & proxy detection.
Your IP Details
We detected your IP address automatically. See your location data in real-time.
Auto-Detected IP
Loading...
Manual IP Lookup
Enter any IP address to lookup
Enter an IP address above to see location details
Powerful Features
Everything you need for accurate IP geolocation in one simple API
Real-time IP Geolocation
Get instant location data for any IPv4 or IPv6 address with sub-second response times.
City, Region & Country
Accurate location data down to the city level with region/state and country information.
ISP & ASN Detection
Identify the Internet Service Provider and Autonomous System Number for any IP.
Timezone & Currency
Get timezone information and local currency for personalized user experiences.
Proxy / VPN / Tor Detection
Detect if an IP is using a proxy, VPN, or Tor network for fraud prevention.
IPv4 & IPv6 Support
Full support for both IPv4 and IPv6 addresses with consistent response format.
GDPR Friendly
Privacy-compliant API that respects user data regulations and best practices.
API Examples
Simple integration with any programming language
curl -X GET "https://api.razorapi.com/v1/ip/location?ip=8.8.8.8" \
-H "X-API-Key: YOUR_API_KEY"
{
"ip": "8.8.8.8",
"country": "United States",
"country_code": "US",
"region": "California",
"city": "Mountain View",
"lat": 37.4056,
"lon": -122.0775,
"timezone": "America/Los_Angeles",
"isp": "Google LLC",
"asn": "AS15169",
"currency": "USD",
"is_proxy": false,
"is_vpn": false,
"is_hosting": false
}
Use Cases
Power your applications with accurate IP intelligence
Fraud Prevention
Detect suspicious activities by identifying VPN, proxy, and Tor users to protect your platform.
Content Localization
Serve localized content, currency, and language based on user location automatically.
Personalization
Create personalized experiences based on user location, timezone, and regional preferences.
Analytics & Insights
Understand your user demographics with geographic distribution and regional analytics.
Compliance & Security
Enforce geo-restrictions, comply with regulations, and enhance security protocols.
Ready to get started?
Choose the plan that fits your needs. Start free, upgrade as you grow.
Free
Perfect for side projects and testing.
- 3,000 requests/month
- All public APIs
- Community support
- Priority support
Pro
For production apps and growing teams.
- 100,000 requests/month
- All APIs + premium features
- Priority email support
- SLA guarantee
Enterprise
For production apps and growing teams.
- Unlimited requests/month
- Dedicated API keys
- All APIs + premium features
- Priority email support
- SLA guarantee
Frequently Asked Questions
Everything you need to know about our IP Location API
Our IP geolocation data is highly accurate with 99.5% accuracy at the country level, 90% at the region level, and 80% at the city level. We continuously update our database to ensure the most accurate results.
Yes! Our API fully supports both IPv4 and IPv6 addresses. Simply pass any valid IP address and receive the same comprehensive location data in a consistent response format.
Yes, VPN, proxy, and Tor detection is included in all plans. You'll receive boolean flags (is_proxy, is_vpn, is_hosting) that indicate whether an IP is associated with anonymization services.
Rate limits depend on your plan: Free tier allows 1,000 requests/day, Pro allows 100,000 requests/day, and Enterprise plans have custom limits. All plans include burst protection with 100 requests/second maximum.
Absolutely! All our plans, including the free tier, allow commercial use. You can integrate our IP Location API into your commercial applications, SaaS products, and enterprise solutions.