ipapi

App · 1 action

Look up an IP address with ipapi.co (from Kloudend): its city, region, postcode, country, coordinates, time zone and network, plus its country's calling code, currency, languages and EU membership. Not to be confused with ip-api.com. No account or API key required.

Look up IP address

Find out where an IPv4 or IPv6 address is with ipapi.co: the city, region, postcode, country, coordinates, time zone and network, plus facts about its country such as the calling code, currency, languages and EU membership. Private addresses come back with 'found' set to false rather than failing the step. No API key required.

Inputs

IP addressip_addresstextRequired
The IPv4 or IPv6 address to look up.

Outputs

asnnumber
The number of the network (autonomous system) the address belongs to, e.g. 15169.
citytext
The city, e.g. 'Mountain View'.
continent_codetext
The continent's two-letter code, e.g. 'NA'.
country_area_km2number
The country's area in square kilometres.
country_calling_codetext
The country's international dialling code, e.g. '+1'.
country_capitaltext
The country's capital, e.g. 'Washington'.
country_codetext
The country's two-letter code, e.g. 'US'.
country_code3text
The country's three-letter code, e.g. 'USA'.
country_nametext
The country's name, e.g. 'United States'.
country_populationnumber
The country's population.
country_tldtext
The country's internet domain ending, e.g. '.us'.
currencytext
The three-letter code of the country's currency, e.g. 'USD'.
currency_nametext
The name of the country's currency, e.g. 'Dollar'.
foundtrue/false
True when ipapi.co could place the address. False for a private or reserved address (such as 10.0.0.1); every other detail is then empty.
in_eutrue/false
True when the country is a member of the European Union.
iptext
The address that was looked up, e.g. '8.8.8.8'.
ip_versiontext
'IPv4' or 'IPv6'.
languageslist
The languages spoken in the country, most used first, as language codes, e.g. ['en-US', 'es-US', 'haw', 'fr'].
latitudenumber
The latitude of the location, e.g. 37.42301.
longitudenumber
The longitude of the location, e.g. -122.083352.
networktext
The block of addresses this one belongs to, e.g. '8.8.8.0/24'.
network_nametext
The name of the organisation that runs that network, e.g. 'Google LLC'.
postal_codetext
The ZIP or postal code of the area, e.g. '94043'.
regiontext
The state, province or region, e.g. 'California'.
region_codetext
The region's short code, e.g. 'CA'.
summarytext
One line saying where the address is, e.g. '8.8.8.8 is in Mountain View, California, United States (Google LLC)', or that no location was found.
timezonetext
The location's time zone, e.g. 'America/Los_Angeles'.
utc_offsettext
The location's current offset from UTC, including daylight saving, e.g. '-0700'.
Example output
{
  "asn": 15169,
  "city": "Mountain View",
  "continent_code": "NA",
  "country_area_km2": 9629091.0,
  "country_calling_code": "+1",
  "country_capital": "Washington",
  "country_code": "US",
  "country_code3": "USA",
  "country_name": "United States",
  "country_population": 327167434,
  "country_tld": ".us",
  "currency": "USD",
  "currency_name": "Dollar",
  "found": true,
  "in_eu": false,
  "ip": "8.8.8.8",
  "ip_version": "IPv4",
  "languages": [
    "en-US",
    "es-US",
    "haw",
    "fr"
  ],
  "latitude": 37.42301,
  "longitude": -122.083352,
  "network": "8.8.8.0/24",
  "network_name": "Google LLC",
  "postal_code": "94043",
  "region": "California",
  "region_code": "CA",
  "summary": "8.8.8.8 is in Mountain View, California, United States (Google LLC)",
  "timezone": "America/Los_Angeles",
  "utc_offset": "-0700"
}

On this page