Look up one IP address.
GET/{ip}
- Takes: IP address
- Passive: the target is not contacted
- Plan: No key needed for basic fields
Returns flags and details for the address. Fields outside your plan are absent. Keyed answers carry cap_reached.
Path parameters
ipIPv4 or IPv6 address
Response fields · 13ShowHide
ip
The address looked up
is_bogon
Bogon address
is_vpn
VPN address
is_relay
Relay address
is_tor
Tor address
is_anycast
Anycast address
country
Country code
country_name
Country name
timezone
Time zone
asn
AS number
name
AS name
hostname
Reverse hostname
cap_reached
True when the answer is basics-only because a cap was reached (keyed answers)
curl 'https://api.vpndetection.io/203.0.113.7' \
-H 'Authorization: Bearer YOUR_API_KEY'{
"ip": "203.0.113.7",
"is_bogon": false,
"is_vpn": false,
"is_relay": false,
"is_tor": false,
"is_anycast": false,
"relay": {},
"tor": {},
"location": {
"country": "ZZ",
"country_name": "Example Land",
"timezone": "UTC"
},
"asn": {
"asn": 64496,
"name": "EXAMPLE-AS"
},
"hostname": "host.example.com"
}