ipinfo core
ipinfo plus
ipinfo max

Returns IP information about the provided IP.

Returns IP information about the provided IP. This single endpoint is shared across the Core, Plus, and Max tiers — the response shape (CoreResponse, PlusResponse, or MaxResponse) depends on the plan associated with your API token. There are no separate /plus/* or /max/* endpoints.

get/lookup/{ip}

Request

Path parameters

ipstring required

A single IPv4 or IPv6 IP address.

Response

Core, Plus, or Max response object, depending on your token's plan.

OR
OR

Example response

{
  "ip": "8.8.8.8",
  "hostname": "dns.google",
  "geo": {
    "city": "Mountain View",
    "region": "California",
    "region_code": "CA",
    "country": "United States",
    "country_code": "US",
    "continent": "North America",
    "continent_code": "NA",
    "latitude": 37.4056,
    "longitude": -122.0775,
    "timezone": "America/Los_Angeles",
    "postal_code": "94043"
  },
  "as": {
    "asn": "AS15169",
    "name": "Google LLC",
    "domain": "google.com",
    "type": "hosting"
  },
  "is_place": true,
  "is_anycast": true,
  "is_hosting": true
}

Changes

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