- Takes: IP address
- Passive: the target is not contacted
Looks up a specific IP address. GET / with no address looks up the device making the request. Which field groups come back depends on your plan.
Path parameters
ipIP address to look up
Query parameters
fieldsComma-separated response fields to return
callbackJSONP callback function name
Response fields · 31ShowHide
ip
The address looked up
is_eu
Whether the country is an EU member
count
Requests made by your key in the last 24 hours
city
City name
region
Region name
region_code
ISO 3166-2 region code
country_name
Country name
country_code
ISO 3166-1 alpha-2 country code
continent_name
Continent name
continent_code
Two-letter continent code
latitude
Approximate latitude
longitude
Approximate longitude
postal
Postal code
calling_code
International calling code
is_anycast
Present only when true: anycast IP, location is the nearest instance
asn
Autonomous System Number
name
Organization that owns the ASN
domain
Organization website
route
Network prefix the IP belongs to
type
Usage type
code
ISO 4217 currency code
name
Timezone name
current_time
Current local time
is_tor
IP is a Tor node
is_proxy
IP is a known proxy
is_datacenter
IP belongs to a datacenter or cloud provider
is_known_attacker
IP is a known source of malicious activity
is_known_abuser
IP is a known source of abuse such as spam
is_threat
True if known attacker or known abuser
is_bogon
IP is a bogon
blocklists[]
Blocklists reporting the IP, with name, website and list type
curl 'https://api.ipdata.co/203.0.113.7?api-key=YOUR_API_KEY'{
"ip": "203.0.113.7",
"is_eu": false,
"city": "Exampleville",
"region": "Example Region",
"country_name": "Exampleland",
"country_code": "EX",
"continent_code": "EU",
"latitude": 10.5,
"longitude": 20.25,
"asn": {
"asn": "AS64496",
"name": "Example Networks",
"domain": "example.com",
"route": "203.0.113.0/24",
"type": "hosting"
},
"currency": {
"code": "EXC"
},
"time_zone": {
"name": "Example/Zone",
"current_time": "2026-01-01T12:00:00+00:00"
},
"threat": {
"is_tor": false,
"is_proxy": false,
"is_datacenter": true,
"is_known_attacker": false,
"is_known_abuser": false,
"is_threat": false,
"is_bogon": false
}
}