general

Returns information about the provided IP.

The ipinfo.io/{ip} endpoint provides comprehensive information about a specified IP address, including geographic location (city, region, country), coordinates, postal code, and timezone. Based on the pricing tier, it also provides ASN (Autonomous System Number) details, associated company information, privacy settings (e.g., VPN, proxy usage), abuse contact information, and hosted domains associated with the IP. This endpoint is useful for applications needing detailed IP intelligence, such as identifying geographic origin, privacy status, and potential abuse reporting information.

get/{ip}

Request

Path parameters

ipstring required

A single IPv4 or IPv6 IP address.

Response

Full response object.

ipstring required
bogonboolean
hostnamestring
citystring
regionstring
countrystring
locstring
postalstring
timezonestring
orgstring

Example response

{
  "ip": "66.87.125.72",
  "hostname": "ip-66-87-125-72.spfdma.spcsdns.net",
  "city": "Springfield",
  "region": "Massachusetts",
  "country": "US",
  "loc": "42.0999,-72.5783",
  "postal": "01105",
  "timezone": "America/New_York",
  "org": "AS51501 Khabarovsk home networks Ltd",
  "asn": {
    "asn": "AS10507",
    "name": "Sprint Personal Communications Systems",
    "country": "US",
    "allocated": "1997-02-14",
    "registry": "arin",
    "domain": "sprint.net",
    "num_ips": 71224576,
    "route": "66.87.125.0/24",
    "type": "isp",
    "prefixes": [
      {
        "netblock": "104.69.216.0/22",
        "id": "AKAMAI",
        "name": "Akamai Technologies, Inc.",
        "country": "US",
        "size": "256",
        "status": "ALLOCATION",
        "domain": "quadranet.com",
        "rpki_status": "valid"
      }
    ],
    "prefixes6": [
      {
        "netblock": "2601::/20",
        "id": "COMCAST6NET",
        "name": "Comcast Cable Communications, LLC",
        "country": "US",
        "size": "20282409603651670423947251286016",
        "status": "ASSIGNMENT",
        "domain": "comcast.com",
        "rpki_status": "valid"
      }
    ],
    "peers": [
      "1299"
    ],
    "upstreams": [
      "1299"
    ],
    "downstreams": [
      "109"
    ]
  },
  "company": {
    "name": "Sprint Springfield POP",
    "domain": "sprint.com",
    "type": "isp"
  },
  "carrier": {
    "name": "Sprint Corporation",
    "mcc": "310",
    "mnc": "120"
  },
  "privacy": {
    "vpn": true
  },
  "domains": {
    "ip": "1.1.1.1",
    "page": 1,
    "total": 17939,
    "domains": [
      "udemy.com"
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.