- Takes: IP address
- Passive: the target is not contacted
- Plan: Free (Lite)
Returns the Lite record for the address. The docs note an extra field for anycast or bogon addresses without naming it.
Path parameters
ipIPv4 or IPv6 address
Response fields · 8ShowHide
ip
The address queried
asn
Autonomous System Number, e.g. AS64496
as_name
Organization name
as_domain
Organization's domain
country_code
ISO 3166-1 alpha-2 country code
country
Country name
continent_code
Two-letter continent code
continent
Continent name
curl 'https://api.ipinfo.io/lite/203.0.113.7' \
-H 'Authorization: Bearer YOUR_API_KEY'{
"ip": "203.0.113.7",
"asn": "AS64496",
"as_name": "Example Networks",
"as_domain": "example.net",
"country_code": "NL",
"country": "Netherlands",
"continent_code": "EU",
"continent": "Europe"
}