APIYard
Back to APIs
DeveloperNo AuthFree tier

ipapi

Look up geolocation, currency, timezone, and ISP information for any IP address — free tier with no API key needed.

Base URL

https://ipapi.co
IPgeolocationtimezonecurrencyfree

Endpoints

GET/{ip}/json/

Get full geolocation data for an IP address.

const response = await fetch("https://ipapi.co/8.8.8.8/json/", {
  method: "GET",
  headers: {
  "Content-Type": "application/json"
  }
});

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

Response Preview

{
  "ip": "8.8.8.8",
  "city": "Mountain View",
  "region": "California",
  "country_code": "US",
  "country_name": "United States",
  "latitude": 37.4056,
  "longitude": -122.0775,
  "timezone": "America/Los_Angeles",
  "currency": "USD",
  "org": "AS15169 Google LLC"
}