IP Data Types
When you make a request to IPinfo using a token, the API returns all the data the token has access to for the target IP address.
Please note that:
https://api.ipinfo.iois used for updated API tiers: IPinfo Lite, IPinfo Core, IPinfo Plus and IPinfo Max.https://ipinfo.iois used for the Custom API.
Geolocation Data
IPinfo's IP geolocation data is available through multiple API services, from free to enterprise. Each tier offers varying levels of granularity from country and continent up to city, postal code, coordinates, and accuracy metadata.
Learn more: IPinfo API - IP Geolocation Data
Privacy Detection Data
IPinfo's privacy detection data identifies whether an IP address is associated with anonymization services such as VPNs, proxies, Tor, or relays. It is available across Core, Plus, and as a Custom API, with each tier offering increasing levels of detail.
Learn about them here: IPinfo API - IP Privacy Detection Data
ASN Data
IPinfo's ASN data provides information about the Autonomous System associated with an IP address, including the ASN number, organization name, domain, and type. It is available across Lite, Core, Plus, and as a Custom API, with each tier offering additional fields such as route/prefix information and record change history.
Learn about them here: IPinfo API - IP ASN Data
Carrier Data
IPinfo's carrier data identifies the mobile network associated with an IP address, including the carrier name and its Mobile Country Code (MCC) and Mobile Network Code (MNC). It is available across Core, Plus, and as a Custom API, where Core returns a basic mobile flag and the higher tiers return the full carrier details.
Learn about them here: IPinfo API - Carrier or Mobile IP Data
Company Data
Available in: Custom API, offered only to enterprise customers
Company Data identifies the organization behind an IP address, including its name, business type, and domain. This information is sourced from various publicly available datasets.
Learn more: IPinfo API - IP to Company API
Hosted Domains Data
Available in: Custom API, offered only to enterprise customers
Hosted Domains Data returns the total count of domains being hosted on the IP address and a list of domains.
curl https://ipinfo.io/66.87.125.72?token=$TOKEN
{
...
"domains": {
"ip": "8.8.8.8",
"total": 11606,
"domains": [
"41.cn",
"onionflix.cc",
"newmax.info",
"ftempurl.com",
"itempurl.com"
]
}
}
The number of domains returned per API request depends on the user's pricing tier:
- Custom API: Up to 1,000 domains are returned per API request.
- Hosted Domains database download: Up to 1,000 domains are available per IP address entry.
Custom API users have access to a total of 1,000 domain names. The documentation and API parameters for the Hosted Domains endpoint are available in the Hosted Domains API documentation section.
Abuse Contact Data
Available in: Custom API, offered only to enterprise customers
Abuse Contact Data is contact information (usually of the network administrator) which can be used to report IP addresses that are engaged in fraudulent or malicious activities.
Learn more: IPinfo API - Abuse Contact API
IP Type Data
Available in: IPinfo Lite, IPinfo Core, IPinfo Plus, IPinfo Max, and as a Custom API.
If the IP address is an anycast or a bogon, the API returns a field indicating that.
Bogon Address Information
curl https://ipinfo.io/127.0.0.1?token=$TOKEN
{
"ip": "127.0.0.1",
"bogon": true
}
Anycast Information
curl https://ipinfo.io/8.8.8.8?token=$TOKEN
{
"ip": "8.8.8.8",
"hostname": "dns.google",
"anycast": true,
"city": "Mountain View",
//...
}