I

IP Geolocation API

Locate any IP address in milliseconds

Get country, city, ISP, timezone, currency, and threat score for any IP address. Supports IPv4 and IPv6.

Developer ToolsLive Dashboard4 endpoints

Endpoints

GET
/lookup/{ip}

Full geolocation for an IP

GET
/lookup/me

Lookup caller's IP

POST
/bulk

Lookup up to 20 IPs

Use Cases

Fraud detection
Content localization
Ad targeting
Analytics
Access control

Quick Start

quickstart.js
const response = await fetch(
  "https://ip-geolocation-by-helix-api.p.rapidapi.com/lookup/{ip}",
  {
    method: "GET",
    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);

Related APIs