/ip namespace · APlicious

IP geolocation API — country, city, timezone and ISP from any IP

Resolve any IPv4 or IPv6 address to country, city, timezone, ISP, and coordinates in a single JSON call — sub-50ms median latency, free tier forever.

99.8%lookup accuracy
Get free API key View docs
GET /api/v1/ip/lookup
const res = await fetch(
  'https://aplicious.com/api/v1/ip/lookup?ip=8.8.8.8',
  { headers: { 'X-API-Key': 'lapi_live_••••' } }
);
const { data } = await res.json();
// { ip: "8.8.8.8", country: "United States", country_code: "US",
//   city: "Mountain View", timezone: "America/Los_Angeles",
//   isp: "Google LLC", is_vpn: false, lat: 37.386, lon: -122.083 }

No credit card · Free tier forever · X-API-Key header auth

What's included in /ip

Country & city

ISO country code, full country name, region, city, and postal code from any IP address.

Timezone

IANA timezone identifier and UTC offset — pair with the /timezone namespace for full time zone tooling.

ISP & ASN

Internet service provider name, autonomous system number, and connection type (broadband, mobile, VPN).

Coordinates

Latitude and longitude for map rendering or distance calculations.

Threat intelligence

VPN, proxy, Tor exit node, and datacenter flags — useful for fraud detection and content localisation.

Start using the IP geolocation API free today

Free tier — 500 calls/month, no credit card. Upgrade when you need more.

Get free API keyExplore /ip docs

Frequently asked questions

Does it work with IPv6?

Yes. Pass any valid IPv4 or IPv6 address to the ip= parameter.

How accurate is the city-level data?

City accuracy is ~85% globally, 95%+ for US/EU. Country accuracy is 99.8%.

Can I look up my own IP?

Pass ip=self and the API returns the geolocation of the caller's IP address automatically.

Is this GDPR compliant to use?

IP geolocation is generally considered non-personal data under GDPR. We do not store or log queried IPs.

Related API guides

Currency Conversion API — Live Rates, 170 Currencies, Free

Live currency exchange rates, historical rates, and conversion endpoints for 170

Read guide

Free Weather API — Current, Forecast & Historical Data

Get live weather data, 7-day forecasts, historical records and severe weather al

Read guide

Finance API for Developers — Stock Quotes, SIP, Tax, Forex

REST API for stock quotes, SIP calculators, compound interest, forex rates, tax

Read guide

One key unlocks all 34 namespaces — weather, finance, fitness, astrology, and more.

View all plans and pricing →