IPGeolocation.io · Schema

LocodeDetails

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.

GeocodingIP GeolocationIP IntelligenceIP SecurityASN LookupAbuse ContactTimezoneAstronomyUser AgentThreat IntelligencePublic APIs

Properties

Name Type Description
lo_code string UN/LOCODE representing the city or logistics location.
city string Name of the city associated with the UN/LOCODE.
state_code string State or region code of the location.
country_code string ISO 3166-1 alpha-2 country code.
country_name string Name of the country where the location exists.
location_type string Type of facilities available at the location such as port, rail terminal, road terminal, airport, or postal exchange.
latitude string Latitude coordinate of the location.
longitude string Longitude coordinate of the location.
View JSON Schema on GitHub

JSON Schema

timezone-locode-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ipgeolocation/refs/heads/main/json-schema/timezone-locode-details-schema.json",
  "title": "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"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/timezone-locode-details"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.