- Takes: IP address
- Passive: the target is not contacted
- Plan: Free endpoint
Returns the address's location, ASN and organisation, time zone and flag. Leave the IP out of the URL to look up the caller's own address. Check success in the body, since some errors return HTTP 200.
Path parameters
ipIPv4 or IPv6 address
Query parameters
outputResponse format
fieldsComma-separated fields to return; nested fields use dot notation
langLanguage for city, region, country, capital, continent and currency names
Response fields · 21ShowHide
ip
The address looked up
success
False when the lookup failed
message
Error text, present only when success is false
type
IPv4 or IPv6
continent
Continent name
country
Country name
country_code
Country code
region
Region name
city
City name
latitude
Latitude
longitude
Longitude
postal
Postal code
is_eu
Whether the country is in the EU
asn
Autonomous system number
org
Organisation
isp
Internet service provider
domain
Domain of the provider
id
Time zone identifier
utc
UTC offset
current_time
Current local time, ISO 8601
emoji
Flag emoji
curl 'https://ipwho.is/203.0.113.7'{
"ip": "203.0.113.7",
"success": true,
"type": "IPv4",
"continent": "Europe",
"country": "Examplia",
"country_code": "EX",
"region": "Example Region",
"city": "Exampleville",
"latitude": 52.1,
"longitude": 4.3,
"postal": "00000",
"is_eu": false,
"connection": {
"asn": 64496,
"org": "Example Networks",
"isp": "Example Networks",
"domain": "example.com"
},
"timezone": {
"id": "Europe/Example",
"utc": "+01:00",
"current_time": "2026-01-01T12:00:00+01:00"
},
"flag": {
"emoji": "EX"
}
}