- Takes: IP address
- Passive: the target is not contacted
Works for IPv4 and IPv6 addresses.
Path parameters
ipIPv4 or IPv6 address
Response fields · 44ShowHide
ip
The address looked up
country
Country name
country_code
Country code
is_eu
Whether the country is in the EU
city
City
continent
Continent
latitude
Latitude
longitude
Longitude
time_zone
Time zone
postal_code
Postal code
subdivision
Region or state
currency_code
Currency code
calling_code
Telephone calling code
is_anycast
Anycast address
is_satellite
Satellite network address
asn
AS number
route
Announced route
netname
Network name
name
AS name
country_code
AS country code
domain
AS domain
type
AS type, for example hosting
rir
Regional internet registry
is_abuser
Flagged as an abuser
is_anonymous
Anonymizing service
is_bogon
Bogon address
is_hosting
Hosting address
is_icloud_relay
iCloud Private Relay
is_proxy
Proxy
is_tor
Tor
is_vpn
VPN
provider
Hosting provider
domain
Provider domain
network
Provider network
name
Company name
domain
Company domain
country_code
Company country code
type
Company type
address
Abuse contact address
country_code
Abuse contact country
email
Abuse contact email
name
Abuse contact name
network
Abuse contact network
phone
Abuse contact phone
curl 'https://iplocate.io/api/lookup/203.0.113.7'{
"ip": "203.0.113.7",
"country": "Exampleland",
"country_code": "EX",
"city": "Sample City",
"latitude": 10.5,
"longitude": 20.25,
"time_zone": "UTC",
"asn": {
"asn": "AS64496",
"route": "203.0.113.0/24",
"name": "Example Networks",
"type": "hosting",
"rir": "ARIN"
},
"privacy": {
"is_vpn": false,
"is_proxy": false,
"is_tor": false,
"is_hosting": true
},
"hosting": {
"provider": "Example Cloud",
"domain": "example.com"
}
}