Beta RazorAPI is in beta testing — new registrations are closed for now. Public launch coming soon. Details

Free IP geolocation · IPv4 & IPv6

IP Info Lookup

Look up country, city, ISP/ASN, timezone, currency, and proxy/hosting signals for any IP — powered by a local MaxMind GeoLite2 database with optional security enrichment. Free playground plus a JSON IP Info API.

Your IP Details

Live geolocation from the RazorAPI IP Info endpoint — auto-detect your IP or look up any address.

API key Optional

Optional — try the API without a key (shared tools quota). Public signup is closed during beta — learn more.

GET /ipinfo

Auto-Detected IP

Loading...

Manual IP Lookup

Enter any IP address to lookup

Enter an IP address above to see location details

Latest JSON response
Run a lookup to see the API response.

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

Request
curl -X GET "http://api.razorapi.com/v1/ipinfo?ip=8.8.8.8" \
  -H "X-API-Key: YOUR_API_KEY"
Response
{
  "success": true,
  "message": "IP lookup completed.",
  "ip": "8.8.8.8",
  "type": "ipv4",
  "country": "United States",
  "country_code": "US",
  "region": "Virginia",
  "city": "Ashburn",
  "latitude": 39.03,
  "longitude": -77.5,
  "timezone": "America/New_York",
  "isp": "Google LLC",
  "asn": "AS15169",
  "currency": "USD",
  "is_proxy": true,
  "is_vpn": true,
  "is_hosting": true,
  "cached": 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

$0 forever

Perfect for side projects and testing.

  • 3,000 requests/month
  • 30 requests/minute
  • 1 API key
  • All public APIs
  • Community support
  • No usage rollover
Start Free

Startup

50% off
$20
$10 /month

50% off · Save $10

For growing teams shipping at scale.

  • 150,000 requests/month
  • 300 requests/minute
  • 15 API keys
  • All public APIs
  • Priority email support
  • Usage rollover up to 250,000 requests
Choose Startup

Business

50% off
$40
$20 /month

50% off · Save $20

For high-volume production workloads.

  • Unlimited requests/month
  • Unlimited requests/minute
  • Unlimited API keys
  • All public APIs
  • Priority support & SLA
  • Unlimited usage rollover
Choose Business

Frequently Asked Questions

Everything you need to know about our IP Location API

Accuracy varies by network type. Country-level results are typically strong for public IPs; city/region can be less precise for mobile carriers, VPNs, and anycast services (for example public DNS). Results are cached briefly for speed.

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.