FreightUtils icon

FreightUtils

Freight calculators, dangerous-goods lookup, HS codes, UK duty — via the free FreightUtils API

Reference Data → UN/LOCODE Lookup

AI-generated

Summary

Look up transport locations using UNECE UN/LOCODE 2024-2 data by providing a location name, partial code, or country subdivision to query matching locations.

Inputs

  • Query (required) — Specify the location name, partial code, or country subdivision to find matching UN/LOCODE transport locations.

Output shape

a list of matching UN/LOCODE transport locations

The output is a JSON array of locations matching the query parameter 'q'. If no locations match, the result array will be empty but the request will not error.

Examples

Example 1: Find all UN/LOCODE locations containing or related to 'rotterdam'.

Set the 'q' parameter to 'rotterdam' to receive location data related to Rotterdam.

Links

Discussion