IPinfo · JSON Structure

Ipinfo Core Response Structure

CoreResponse schema from IPinfo API

Type: object Properties: 9 Required: 1
IP IntelligenceIP GeolocationASNPrivacy DetectionVPN DetectionThreat IntelligenceNetwork DataMobile CarrierWHOISPublic APIsDevelopment

CoreResponse is a JSON Structure definition published by IPinfo, describing 9 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

ip hostname geo as is_anonymous is_anycast is_hosting is_mobile is_satellite

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ipinfo/main/json-structure/ipinfo-core-response-structure.json",
  "name": "CoreResponse",
  "description": "CoreResponse schema from IPinfo API",
  "type": "object",
  "properties": {
    "ip": {
      "type": "string"
    },
    "hostname": {
      "type": "string"
    },
    "geo": {
      "type": "object",
      "properties": {
        "city": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "region_code": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "country_code": {
          "type": "string"
        },
        "continent": {
          "type": "string"
        },
        "continent_code": {
          "type": "string"
        },
        "latitude": {
          "type": "double"
        },
        "longitude": {
          "type": "double"
        },
        "timezone": {
          "type": "string"
        },
        "postal_code": {
          "type": "string"
        }
      }
    },
    "as": {
      "type": "object",
      "properties": {
        "asn": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "domain": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      }
    },
    "is_anonymous": {
      "type": "boolean"
    },
    "is_anycast": {
      "type": "boolean"
    },
    "is_hosting": {
      "type": "boolean"
    },
    "is_mobile": {
      "type": "boolean"
    },
    "is_satellite": {
      "type": "boolean"
    }
  },
  "required": [
    "ip"
  ]
}