UN LOCODE Location Codes API
The UN/LOCODE API provides programmatic access to the United Nations Code for Trade and Transport Locations — the global standard maintained by UNECE for identifying ports, airports, inland terminals, rail stations, and multimodal logistics facilities used in international trade. Every shipping document, bill of lading, customs declaration, and freight booking references UN/LOCODE. This API…
UN LOCODE Location Codes API endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
List UN/LOCODEs (Filtered & Paginated) / |
Returns a paginated list of UN/LOCODE entries. Combine filters for country, transport function, entry status, and name keyword in a single request. Results are sorted by country… |
| GET |
Get Location by Full UN/LOCODE /code/{full_code} |
Returns the complete record for a location identified by its 5-character UN/LOCODE (ISO country code + 3-character location code). Lookup is exact-match and case-insensitive.… |
| GET |
Get All LOCODEs for a Country /country/{country} |
Returns all UN/LOCODE entries for a given country, paginated and sorted by LOCODE. Useful for pre-loading complete country datasets into local systems, building port selectors,… |
| GET |
Resolve IATA Code to UN/LOCODE /iata/{iata} |
Returns UN/LOCODE records that match a given IATA airport code. Enables cross-reference between IATA identifiers (used in air freight and passenger systems) and UN/LOCODE… |
| GET |
Search Locations by Name /search |
Full-text partial search across both the official name and ASCII-normalized name fields. Optionally restrict results to a specific country. Minimum query length is 2 characters.… |
UN LOCODE Location Codes API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO Recommended | $7.99 / month | — |
|
| ULTRA | $19 / month | — |
|
| MEGA | $39 / month | — |
|