unlocode_lookup
Search 116,129 UN/LOCODE transport locations. Find ports, airports, rail terminals, inland depots, and border crossings by name, code, country, or function type.
Instructions
Search 116,129 UN/LOCODE transport locations worldwide.
UN/LOCODE identifies ports, airports, rail terminals, inland depots, and border crossings. Each code is 5 characters: 2-letter country code + 3-character location (e.g., GBLHR = London Heathrow, NLRTM = Rotterdam).
Use this tool when you need to:
Find a port, airport, or terminal by name
Look up a specific UN/LOCODE
Filter locations by country or function type (port, airport, rail, road, icd, border)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Exact UN/LOCODE lookup (e.g., "GBLHR", "NLRTM") | |
| limit | No | Max results (default: 20, max: 100) | |
| query | No | Search by location name (e.g., "rotterdam", "heathrow") | |
| country | No | Filter by country code (e.g., "GB", "NL") | |
| function_type | No | Filter by location function |