v1
latestOpenAPI 3.1.02026-07-243613262.4 KBBy location type
Find port by name or locode
This endpoint does forward geocoding: given a name or a locode, it returns ports matching the request with their name, locode, country, size, coordinates and whether the port is in an eca zone or not.
Use either locode or query, not both in the same query.
get/geocoding/v2/port
Query parameters
locodestring
Example:FRMRS
A string representing the locode of the searched airport.
querystring
Example:FRMRS
A partial string used for search. For instance, part of an port name or part of a locode.
sizesstring
Example:large,medium
A list of strings used to filter the locations by size. Permitted values are large, medium, small, tiny. If not passed, all the sizes will be taken into account.
countryCodesstring
Example:DE,FR
A list of country codes (2 characters ISO) used to filter the locations by country.
excludeCountryCodesstring
Example:US,CA
A list of country codes (2 characters ISO) used to exclude locations of some countries.
Response
OK