Locanium
Location · API

IP Geolocation

Resolve any IP address to country, city, coordinates, timezone, currency and network — in a single call.

GET /v1/geoip
GET /v1/geoip
200 OK
{
  "ip": "8.8.8.8",
  "country": "United States",
  "city": "Mountain View",
  "latitude": 37.386,
  "timezone": "America/Los_Angeles",
  "currency": "USD",
  "isp": "Google LLC"
}
Capabilities

Why teams use it

City-level accuracy

Resolved from multiple providers for confident geolocation.

Global coverage

240+ countries and territories, IPv4 and IPv6.

Proxy & VPN detection

Flag anonymized traffic with ISP and ASN context.

Sub-40 ms lookups

Answered from the nearest region for real-time flows.

Request

Call it in your language

curl "https://api.locanium.com/v1/geoip?ip=8.8.8.8" \
  -H "Authorization: Bearer sk_live_..."
Response

What you get back

  • countrystring
    Country name
  • country_codestring
    ISO-3166 alpha-2 code
  • citystring
    City name
  • latitudenumber
    Approximate latitude
  • longitudenumber
    Approximate longitude
  • timezonestring
    IANA time zone
  • currencystring
    ISO-4217 currency
  • ispstring
    Internet service provider
  • asnstring
    Autonomous system number
Use cases

What you can build

Fraud & risk

Score signups and payments by country, proxy and ASN.

Localization

Show the right language, currency and offers automatically.

Analytics

Enrich events with geography without storing raw IPs.

Location family

Full parameters, errors and code samples are in the API reference.

Get started

One API for geolocation, currency and identity checks. Book a demo and get a sandbox key the same day.