IP Lookup API

IP Lookup API (ip.json): city, region, country, continent, coordinates and time zone for an IPv4 or IPv6 address. Fields and example response.

IP Lookup API method allows a user to get up to date information for an IP address in json and xml.

Field Data Type Description
ip string IP address
type string ipv4 or ipv6
continent_code string Continent code
continent_name string Continent name
country_code string Country code
country_name string Name of country
is_eu bool true or false
geoname_id string Geoname ID
city string City name
region string Region name
lat decimal Latitude in decimal degree
lon decimal Longitude in decimal degree
tz_id string Time zone

Quick and Easy Signup for Weather API

WeatherAPI.com makes it super easy to integrate our realtime, daily, hourly and 15 min interval weather forecast data, historical weather, marine weather, bulk request, air quality data, pollen, evapotranspiration, autocomplete, time zone, astronomy and sports data into your new or existing project.