ipinfo lite
Returns lightweight IP information about the provided IP.
Returns lightweight IP information about the provided IP including ASN details, country, and continent information. For bogon/private IPs, returns a response with bogon: true.
get/lite/{ip}
Request
- Base URLhttps://api.ipinfo.io
- Auth
- HTTP basic
- or HTTP bearer
- or API key in query parameter token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ipstring required
A single IPv4 or IPv6 IP address.
Response
Lite response object or bogon response.
Example response
{
"ip": "8.8.8.8",
"asn": "AS15169",
"as_name": "Google LLC",
"as_domain": "google.com",
"country_code": "US",
"country": "United States",
"continent_code": "NA",
"continent": "North America"
}Changes
No recorded changes to this operation across all 1 revision of this API.