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.
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.
{
"$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"
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.