I
Developer Tools

IP GeolocationLocate any IP address in milliseconds

The Helix IP Geolocation API maps any IPv4 or IPv6 address to a country, city, region, ISP, timezone, currency, and threat score. Use it for fraud detection, content localization, ad targeting, analytics, and geo-restricted access control.

  • Free tier with 100 requests/month
  • Fast, cached responses
  • 99.9% uptime target
  • Standard REST + JSON
Interactive Demo
IP Geolocation Lookup

What is the IP Geolocation API?

The Helix IP Geolocation API maps any IPv4 or IPv6 address to a country, city, region, ISP, timezone, currency, and threat score. Use it for fraud detection, content localization, ad targeting, analytics, and geo-restricted access control.

How it works

  1. 1GET /lookup/{ip} returns full location data for any IP.
  2. 2GET /lookup/me returns the caller's IP (useful for client-side geo personalization).
  3. 3POST /bulk lookups up to 20 IPs in one request — perfect for log analysis.
  4. 4Data sources: ip-api.com primary + ipinfo fallback for 99.99% coverage.
  5. 5Response includes country, city, region, ZIP, lat/lon, ISP, ASN, timezone, currency, and a threat score (1-10) flagging Tor exit nodes, VPNs, and known abuse IPs.

Endpoints

3 REST endpoints, all returning consistent JSON.

GET
/lookup/{ip}

Full geolocation for an IP

GET
/lookup/me

Lookup caller's IP

POST
/bulk

Lookup up to 20 IPs

Code in 5 languages

Copy and paste into your project. Replace YOUR_API_KEY with your RapidAPI key.

// IP Geolocation API
const response = await fetch(
  "https://ip-geolocation-by-helix-api.p.rapidapi.com/lookup/{ip}"
  {
    headers: {
      "X-RapidAPI-Key": "YOUR_API_KEY",
      "X-RapidAPI-Host": "ip-geolocation-by-helix-api.p.rapidapi.com"
    }
  }
);

const data = await response.json();
console.log(data);

What developers build with this API

Real use cases from production deployments.

1

Fraud Detection for SaaS Signups

Block signups from high-risk countries or Tor exit nodes at the form level. The threat score field flags VPNs, datacenter IPs, and known abuse IPs — stopping fake account farms before they cost you money.

2

Content Localization Without GeoIP Files

Show prices in local currency, translate UI to local language, and display region-specific offers. No need to ship 100MB MaxMind databases — just call /lookup/me on page load.

3

Ad Targeting and Compliance

Comply with GDPR by showing the cookie banner only to EU IPs. Restrict gambling/crypto offers from certain US states. Show metric vs imperial units based on country.

4

Analytics That Actually Work

Most browser-based analytics tools are blocked by ad blockers. IP geolocation runs server-side and works for 100% of visitors. Bulk-lookup your access logs nightly for a complete picture.

5

Access Control for Internal Apps

Only allow employees from approved countries to access admin panels. Block specific ASNs (hosting providers) from your customer portal.

Pricing

All tiers include this API. No credit card for free tier.

BASIC

Free

  • 100 reqs/month
  • Hard limit
  • ✓ All endpoints
Most Popular

PRO

$9.99/mo

  • 10,000/month
  • +$0.005 each
  • ✓ All endpoints

ULTRA

$29.99/mo

  • 100,000/month
  • +$0.002 each
  • ✓ All endpoints

MEGA

$99.99/mo

  • 1,000,000/month
  • +$0.001 each
  • ✓ All endpoints

View all 20 APIs included →

Frequently asked questions

Real answers to questions developers ask before integrating.

How accurate is the city-level data?
City accuracy is ~80% globally and ~95% in North America and Europe. Country-level accuracy is >99%.
Does it work for IPv6?
Yes — both IPv4 and IPv6 are supported across all endpoints.
Can I look up my own IP?
Yes, GET /lookup/me detects the caller's IP automatically. Pass `X-Forwarded-For` if calling from a proxy.
What is the threat score?
An integer 1-10. 1-3 = safe residential, 4-6 = datacenter/cloud, 7-8 = known VPN/proxy, 9-10 = Tor exit node or active abuse IP.
How fresh is the data?
ASN and ISP data is updated weekly. Threat score updates hourly from multiple feeds (AbuseIPDB, ProjectHoneypot, etc.).
Are there bulk endpoints?
POST /bulk with an array of up to 20 IPs returns lookups in one request — 20x faster than 20 individual calls.

More Developer Tools APIs

Start building with real APIs today

Free tier on every API, a live demo on every page, and a guide for each. No credit card to explore.

Helix-API Newsletter

Get new API launches, integration guides, and code examples in your inbox.