IPGeolocation.io · JSON Structure

Timezone Locode Details Structure

City or logistics location information returned when the timezone lookup is performed using a UN/LOCODE. UN/LOCODE is a five-character identifier consisting of a two-letter country code followed by a three-character location identifier.

Type: object Properties: 8
GeocodingIP GeolocationIP IntelligenceIP SecurityASN LookupAbuse ContactTimezoneAstronomyUser AgentThreat IntelligencePublic APIs

LocodeDetails is a JSON Structure definition published by IPGeolocation.io, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

lo_code city state_code country_code country_name location_type latitude longitude

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/ipgeolocation/refs/heads/main/json-structure/timezone-locode-details-structure.json",
  "name": "LocodeDetails",
  "description": "City or logistics location information returned when the timezone\nlookup is performed using a UN/LOCODE.\n\nUN/LOCODE is a five-character identifier consisting of a two-letter\ncountry code followed by a three-character location identifier.\n",
  "type": "object",
  "properties": {
    "lo_code": {
      "type": "string",
      "description": "UN/LOCODE representing the city or logistics location.",
      "example": "DEBER"
    },
    "city": {
      "type": "string",
      "description": "Name of the city associated with the UN/LOCODE.",
      "example": "Berlin"
    },
    "state_code": {
      "type": "string",
      "description": "State or region code of the location.",
      "example": "BE"
    },
    "country_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code.",
      "example": "DE"
    },
    "country_name": {
      "type": "string",
      "description": "Name of the country where the location exists.",
      "example": "Germany"
    },
    "location_type": {
      "type": "string",
      "description": "Type of facilities available at the location such as port,\nrail terminal, road terminal, airport, or postal exchange.\n",
      "example": "Port, Rail Terminal, Road Terminal, Airport, Postal Exchange"
    },
    "latitude": {
      "type": "string",
      "description": "Latitude coordinate of the location.",
      "example": "52.51667"
    },
    "longitude": {
      "type": "string",
      "description": "Longitude coordinate of the location.",
      "example": "13.38333"
    }
  }
}